The Future of MyFilms? (3 Viewers)

Status
Not open for further replies.

ftothe3

Portal Pro
January 13, 2008
178
17
Home Country
United States of America United States of America
hey zebons,

thanks for the new version. (mep1 install file works fine). i have a couple of fanart issues:
most of the movies in my db have an original title but no translated title. the manual fanart update in amcupdater.exe works, but the fanart download in the mp gui does not. (it tries to download the fan art to a "blank" folder - {}. can you use the original title if the translated title field is empty?

also, are you using just the title to search for the fanart? there are some movies that have fanart in themoviedb.org but the grabber doesn't find them. can you try using both title+year to search for the movie with the api. i think that should work better.

just curious, is the fanart grabber script embedded in amcupdater.exe?


last thing, i will update streamedmp skin files when we have a "final" version


edit: i also have a problem when pressing esc. pressing the button seems to take you to the home screen instead of your previous screen. can you change it back?
 

Guzzi

Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    AW: Re : AW: The Future of MyFilms?

    To be tested :D

    Hi Zebons,

    what should I say? WOW – it’s a pity, you haven’t seen my smiling face when I first tried those fantastic enhancements ☺ Very, very nice, that is really great pleasure using that and imho a “megafeature” of this plugin – and the speed is very impressive!
    So first of all thank you very much for that!

    “As requested” ;-) – I have done a lot of testing – and here my results for feedback:

    1.) Old movie infos when (re-)entering plugin with menu choice:
    @Guzzi : I corrected your pb when you enter in the plugin with a menu choice config (older movie informations were displayed).
    It is almost done – all properties are set empty when entering the dialog with one exception: the fanart (which is also not in the debuglog property display)
    <description>fanart</description>
    <type>image</type>
    <id>11</id>
    <texture>#myfilms.Fanart</texture>

    <description>fanart2</description>
    <type>image</type>
    <id>21</id>
    <texture>#myfilms.Fanart2</texture>

    You could either reset it or preload it with a “defaultfanart” instead – Whatever you do, it should be the same as for initial starting the GUI – so just resetting is probably this quickest fix?


    2.) New Options "always use script" and "automatically choose best matching" - change persistent and display the current config in the menu (e.g. "on", "off") - makes it much easier for new users.
    Done and tested.


    3.) New Options "always use script" and "automatically choose best matching" - translation for Boolean status display
    If possible, the states should be also translated for the userinterface and added to strings_xx.xml (on/off instead of the logical values from the Boolean true/false)
    Unchanged


    4.) Prefilling remaining updatedialogs with DB.values:
    Done, works nice.


    5.) Updates to rating and missing MesFilmDialogRating:
    Those 2 files aren't used anymore for the B3 Skins. May be for other skins but not sure.
    You mentioned, the MesFilmDialogRating is no more used – but it is: When going to MesFilmsDetails, Options, Update rating -> an error appears about missing XML.
    Manually adding old XML brings back the graphic dialog, but the rating cannot be changed via the controls anymore.
    Imho this dialog was very nice and userfriendly and I would rather fix it than drop it.


    6.) Suggestion to make the Updatefunction more generic and use similar “workflow” to Search function:
    Would it be possible to add a hardcoded menuentry in MesFilmsDetails->Options->Update with label “Change Movie Properties” with following workflow:
    - In MesFilmsDetail, choose "Update" - "Change Movie Properties"
    - Open Dialog to choose the property you want to change for the current movie (e.g. resolution, year, category, etc.)
    - Let the user choose the property he wants to change for the selected movie
    - Open Dialog to change the property and prefill it with the current content of the record
    - let the user update the property
    - update the record accordingly – any maybe show a dialog confirming the “property” was changed from “oldvalue” to “newvalue”

    So the resulting Update menu for Mesfilmsdetails would be like this:

    - Rating (hardcoded, existing, uses mesfilmsdialograting GUI)
    - Filename (hardcoded, existing, only displayed if option set)
    - AntUpdItem1 (SupplUpdateitem 1, existing)
    - AntUpdItem2 (SupplUpdateitem 2, existing)
    - Change Movie Properties (hardcoded, NEW, as described above)
    - Delete record (if configured, existing)
    - …. (movieupdate, fanartupdate, fanartdeletion)

    This would be a nice generic approach and again should fit perfect in current architecture?


    7.) Search related movies by persons - Adding producer
    Done and tested, fantastic – “looks like I dreamed of” :)


    8.) Wring stringID used in record deletion dialog:
    The dialog that is asking for "are you sure" should show the stringID #433 from MyFilms - but it does show the stringID 433 from global strings_de.xml of mediaportal itself.
    Fixed, thanks.


    9.) Freeze/Crash on deletion of last DB record via GUI:
    When deleting the last movie in the DB, the plugin freezes and after 1-2 minutes mediaportal crashes (not an important one, cause usually noone should delete the last movie in his/her DB, just wanted to let you know...)
    Still the same.
    Log shows then the below last 4 lines repeatedly until MePo crashes after approx 2 minutes. As mentioned, not so important because it’s not a “normal usecase” ;-) – If you comment you won’t fix it, it’s ok imho.

    2010-04-08 05:11:28.706920 [Debug][MPMain(1)]: WindowManager: route MesFilms.MesFilmsDetail:7987->MediaPortal.Dialogs.GUIDialogMenu:2012
    2010-04-08 05:11:28.706920 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogMenu init
    2010-04-08 05:11:31.878815 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogMenu:2012->MesFilms.MesFilmsDetail:7987
    2010-04-08 05:11:31.878815 [Debug][MPMain(1)]: WindowManager: route MesFilms.MesFilmsDetail:7987->MediaPortal.Dialogs.GUIDialogYesNo:100
    2010-04-08 05:11:31.878815 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogYesNo init
    2010-04-08 05:11:33.238199 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogYesNo:100->MesFilms.MesFilmsDetail:7987
    2010-04-08 05:11:33.269449 [Info.][MPMain(1)]: MyFilms : Database movie deleted : Titanic
    2010-04-08 05:11:33.269449 [Info.][MPMain(1)]: MyFilms : Movie Database updated
    2010-04-08 05:11:33.269449 [Debug][MPMain(1)]: Windowmanager: Goto previous window
    2010-04-08 05:11:33.456951 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - module 7986
    2010-04-08 05:11:33.456951 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - fullscreen False
    2010-04-08 05:11:33.456951 [Debug][MPMain(1)]: Window: MesFilms.MesFilms init
    2010-04-08 05:11:33.456951 [Debug][MPMain(1)]: TextureManager: CleanupThumbs()
    2010-04-08 05:11:33.722577 [Debug][MPMain(1)]: Window: MesFilms.MesFilmsDetail init
    2010-04-08 05:11:33.722577 [Debug][MPMain(1)]: Windowmanager: Goto previous window
    2010-04-08 05:11:33.894453 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - module 7986
    2010-04-08 05:11:33.894453 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - fullscreen False
    2010-04-08 05:11:33.894453 [Debug][MPMain(1)]: Window: MesFilms.MesFilms init
    2010-04-08 05:11:33.894453 [Debug][MPMain(1)]: TextureManager: CleanupThumbs()
    2010-04-08 05:11:34.175705 [Debug][MPMain(1)]: Window: MesFilms.MesFilmsDetail init
    2010-04-08 05:11:34.175705 [Debug][MPMain(1)]: Windowmanager: Goto previous window
    2010-04-08 05:11:34.363206 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - module 7986
    2010-04-08 05:11:34.363206 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - fullscreen False
    2010-04-08 05:11:34.363206 [Debug][MPMain(1)]: Window: MesFilms.MesFilms init


    10.) Exception on DB-Update (AMCupdater) in GUI (not in log):
    I get an exception dialog in the GUI when launching via Options a DB Update via AMCupdater (batch mode) since 2 versions. Might be related to my config of testDB, I might need to further investigate later.
    Does this work for you or do you get the same?


    11.) Search related Movies by Properties and Search Global on All properties:
    Very, very cool and a pleasure to use this! Thanks!


    12.) Search related Movies by Properties and Search Global on All properties - propertytranslation, sortorder, propertyrestriction:
    I have two suggestions – up to you if you think it’s worth doing that, since I don’t know if it’s little or a lot of work:

    a.) I would suggest to translate all DB-fields that are exposed in the GUI in strings_xx.xml – so we get a more consistent interface. Currently, we have some translated properties (e.g. actor, director, etc. in person search), but they appear with their DB-name in the property-search (same would apply in the “Update Movie property" - see No.6).
    (This covers the same as you do in supplementaryitems with “label-definitions”.

    b.) It would be great, if the order of the propertylist could be better matching the “userneeds” – in “search on property”, “search related movie by property” and “Update movie properties”. Also it might make sense not to display all properties to the user (my kids for example…. ;-)). This could be done by a setting in MyFilms.xml for the related hardcoded function, e.g. “AntSearchByProperty” = “actor|producer|country|…|source|date” and with that defining what fields to display and in what order – would that be a possible solution? This field can be prefilled with a string good for general use (regarding sort order and e.g. excluding DB-recordnumber from updates, etc.)


    13.) Global Search – property „number“ gives an exception:
    This is probably because string and number does not match? Same is when searching in all properties and choosing the results in “number”.

    2010-04-07 19:12:34.249065 [Info.][MPMain(1)]: Exception: System.Data.EvaluateException: Die Operation 'Like' kann nicht an System.Int32 und System.String durchgeführt werden.
    bei System.Data.BinaryNode.SetTypeMismatchError(Int32 op, Type left, Type right)
    bei System.Data.LikeNode.Eval(DataRow row, DataRowVersion version)
    bei System.Data.BinaryNode.Eval(ExpressionNode expr, DataRow row, DataRowVersion version, Int32[] recordNos)
    bei System.Data.BinaryNode.EvalBinaryOp(Int32 op, ExpressionNode left, ExpressionNode right, DataRow row, DataRowVersion version, Int32[] recordNos)
    bei System.Data.BinaryNode.Eval(DataRow row, DataRowVersion version)
    bei System.Data.Select.AcceptRecord(Int32 record)
    bei System.Data.Select.GetLinearFilteredRows(Range range)
    bei System.Data.Select.SelectRows()
    bei System.Data.DataTable.Select(String filterExpression, String sort)
    bei MesFilms.BaseMesFilms.LectureDonnées(String StrDfltSelect, String StrSelect, String StrSort, String StrSortSens, Boolean all)
    bei MesFilms.BaseMesFilms.LectureDonnées(String StrDfltSelect, String StrSelect, String StrSort, String StrSortSens)
    bei MesFilms.MesFilms.GetFilmList[T](T gSelItem)
    bei MesFilms.MesFilms.SearchMoviesbyProperties()
    bei MesFilms.MesFilms.OnMessage(GUIMessage messageType)
    bei MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)



    14.) Search should not be casesensitive:
    Search is casesensitive, thus searching for “winn” does not find “Winnepuh” – you would have to search for “Winn” instead – could you make the search NonCasesensitive?
    I struggled over it when I searched a movie I know I have, but didn’t find it with the searchstring in lowercase…


    15.) dateadded field is no more properly exported to the OptItems (already in the last version you posted):

    - in debuglog, it seems it is properly loaded - at least #myfilms.date is loaded, there is no info about "dateadded" itself in log
    - date can be displayed e.g. by “#myfilms.date”
    - It does not display via Optitem Configuration with existing skin:

    MyFilms.xml:
    <entry name="AntViewItem2">Dateadded</entry>
    MesFilmsDetail.xml:
    <control>
    <type>fadelabel</type>
    <id>1033</id>
    <posX>400</posX>
    <posY>281</posY>
    <label>#myfilms.item2</label>
    <textcolor>ffffffff</textcolor>
    <disabledcolor>ffffffff</disabledcolor>
    </control>

    It still works as a defined view and as sortitem (and displays the date in those views).

    I am also a bit unsure about the difference of date and dateadded...?


    16.) z3us’s request for aspectratio:
    z3us:
    would it be possible to obtain the aspect ratio? It could be saved in the resolution field, with the format "AR (Resolution)" so we can sort by AR, sorting by resolution is useless for me.
    As far as I understand, changing the DB-content is required to use aspectratio as sortoption (e.g. in resolution field) - so this belongs to AMC-updater (see No.17). It could be also done in ANT-DB application with a userscript I suppose - at least as a workaround.
    For MyFilms Plugin I think the easiest way (and just some lines of code) would be to calculate the aspectratio from the resolution right after the record was read and expose it to another variable like e.g. #myfilms.aspectratio.
    This could then also be used in the logo ruleeditor as “AspectRatio” to define Logorules accordingly and displaying Logos.


    17.) AMCupdater issues:
    I have some issues with AMCupdater – do you want me to post them here or in AMCupdater thread?

    Attached also updated german translation file...

    Thanks for all your support,

    Guzzi
     

    Attachments

    • strings_de.xml
      30.6 KB

    zebons

    Portal Pro
    January 2, 2006
    1,484
    114
    Re : The Future of MyFilms?

    Guzzi,

    Thanks for your feedbacks. :D

    First of all, no problem for bugs correction but I'd like to diffuse that new version soon and new functionalities'll be integrated later.
    So no update functionalities for that release (point 6). May be to be added in a future release. :sorry:

    1). I'll take a look on
    2). see 3)
    3). I don't think that on/off will be easier than true/false for new users... To be added for next release if some other users ask it
    4). Closed
    5). You're rigth, MesFilmsDialogRating.xml must be delivered. Added in the package.
    6). to be added in next release if users want.
    7). Closed
    8). Closed
    9). Don't undestand. It's working for me...
    10). I'll try
    11). Closed
    12). Why not. I'll try to add it for that release
    13). OK already fixed for rating (similar issue). I'll fix also for Number field
    14). Don't understand. Already NOT casesensitive for me ! Very strange... Can you precise your problem and send me a base + config test ?
    15). Dateadded is the conversion from string to date of the Date field. So it'd be used only for internal coding (essentially for sort problems).
    16). I'll try to add it.
    17). in AMCU thread
    :D
     

    z3us

    Portal Pro
    December 4, 2007
    1,047
    123
    46
    Home Country
    Spain Spain
    Some films have lots of fanart backdrops in themoviedb. It would be nice if we have the possibility of limiting the number of pictures to download or if we could download only backdrops with a certain resolution (example: 1920 x 1080).
    Obviouusly a fanart selector inside MP GUI (like TVSeries plugin) would be incredible, but I think that would be too much work
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    AW: Re : The Future of MyFilms?

    @Guzzi,

    Thanks for your feedbacks. :D

    First of all, no problem for bugs correction but I'd like to diffuse that new version soon and new functionalities'll be integrated later.
    So no update functionalities for that release (point 6). May be to be added in a future release. :sorry:

    I understand - but may I very very kindly ask, if No. 6 could make it in this upcoming release ... :) ... I promise then to make extra testing through the whole stuff and fully focuse on bugs only with goal of a close next stable release ... :)


    3). I don't think that on/off will be easier than true/false for new users... To be added for next release if some other users ask it
    ok, we drop that, can easily live with it "as is"

    5). You're rigth, MesFilmsDialogRating.xml must be delivered. Added in the package.
    Wanted to note, that the exposure in dialograting has not changed, so it's still "#rating", not "#myfilms.rating". It works, just in case you want to keep it same as in other areas.

    6). to be added in next release if users want.
    See above; may I offer a beer or something else :)

    9). Don't undestand. It's working for me...
    10). I'll try
    Maybe this is because of trouble with my testDB? - or could this be caused by my dll's? I run a newer SVN version after RC1 of MePo.... will do some more testing later... and come back if it's reproducible with more details.


    14). Don't understand. Already NOT casesensitive for me ! Very strange... Can you precise your problem and send me a base + config test ?
    ok, I retested and I can confirm it is NONcasesensitive, when I do global search in a soecified property e.g. translatedtitle.
    You can reproduce it IS casesensitive, when you choose "search on all properties".
    If you do "search on all properties" for a number, you also don't get results e.g. in ".number" - probably the same string/number conflict as above, although there is no exception thrown in logfile.


    15). Dateadded is the conversion from string to date of the Date field. So it'd be used only for internal coding (essentially for sort problems).
    So what do you recommend me to do? I don't get the "Dateadded" any longer displayed as "#myfilms.item2" - should I change it to #myfilms.date? should the ID then be changed to >1< instead >1033<?
    I also tried replacing
    <entry name="AntViewItem2">DateAdded</entry>
    with
    <entry name="AntViewItem2">Date</entry>
    for use with attached skin, but still didn't get date displayed?

    17). in AMCU thread
    Ok, will collect the findings and do try to post tonight.



    Something regarding coming release:
    Do you think it would make sense to make a somehow "preconfigured package" for new users, that contain all settings for initial start? I think that should be possible, except of course with the path to moviefiles.
    Would make usage for firsttimeusers much easier.
    Idea would be:
    Add configuration, directories, an empty DB etc. all to the installerpackage and create a "firststartsetup" in the userdirectory. Even could include basic logorules and logos, some genrethumbs etc.

    Let me know, what you think about that. I think the first setup of this plugin for new users is the most difficult thing.
    I could try to help to setup such a package if you want?

    Guzzi

    Some films have lots of fanart backdrops in themoviedb. It would be nice if we have the possibility of limiting the number of pictures to download or if we could download only backdrops with a certain resolution (example: 1920 x 1080).
    Obviouusly a fanart selector inside MP GUI (like TVSeries plugin) would be incredible, but I think that would be too much work
    I think the "problem" is always, that the DB-format of ANT-DB is "static", so no additional data can be stored without breaking compatibility with ANT-DB-application.
    But there would be another possible solution to do that without changes in the DB:
    There must be a certain rule for the fanart chosen to display (Zebons will know best....), if several fanarts are available - so a "SelectDefaultFanart" (in MesFilmsDetails, Update) could list available fanarts and copy the one chosen to a filename, that is always chosen first in Zebons logic.
    Disadvantage would be, that there would be a dupe created (or is renaming possible? Don't know the logic if AMCupdater would reload the renamed/"missing" fanart in this case)... and probably will require skinchange to display the pictures to choose from...
    The limitation of what fanart to be added is a pure AMCupdater thing I think, nothing in MesFilms plugin...
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    AW: The Future of MyFilms?

    hi zebons,
    i need a little help or a hint with the skinning:
    Currently, the menu is launched mostly on "onleft" definitions for the id of the menu-entry (MyFilms : OnAction ACTION_MOVE_LEFT).
    Is it possible to also launch the menuentry with the info-button (MyFilms : OnAction ACTION_CONTEXT_MENU) by skinchanges or does this require change in the plugin itself to react on this event?
    Reason is, that when in thumb view, there is no other way to get "contextsearch" - the "move-left" changes the selecteditem and thus the context for the search.
    Thanks,
    Guzzi
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    AW: The Future of MyFilms?

    Hi zebons,

    Have done some further testing and here are some more findings:

    18.) Exception when searching for related movies by rating:
    When searching for "related movies" by rating, you get the option to choose from 2 numbers 8that comes from parsing e.g. "7,5" and let's you choose from "7" or "5".
    Choosing either option brings exception (probably same reason as in global search, conflict text/number).

    2010-04-10 15:16:26.954199 [Info.][MPMain(1)]: Exception: System.Data.EvaluateException: Die Operation 'Like' kann nicht an System.Decimal und System.String durchgeführt werden. bei System.Data.BinaryNode.SetTypeMismatchError(Int32 op, Type left, Type right)
    bei System.Data.LikeNode.Eval(DataRow row, DataRowVersion version)
    bei System.Data.BinaryNode.Eval(ExpressionNode expr, DataRow row, DataRowVersion version, Int32[] recordNos)
    bei System.Data.BinaryNode.EvalBinaryOp(Int32 op, ExpressionNode left, ExpressionNode right, DataRow row, DataRowVersion version, Int32[] recordNos)
    bei System.Data.BinaryNode.Eval(DataRow row, DataRowVersion version)
    bei System.Data.Select.AcceptRecord(Int32 record)
    bei System.Data.Select.GetLinearFilteredRows(Range range)
    bei System.Data.Select.SelectRows()
    bei System.Data.DataTable.Select(String filterExpression, String sort)
    bei MesFilms.BaseMesFilms.LectureDonnées(String StrDfltSelect, String StrSelect, String StrSort, String StrSortSens, Boolean all)
    bei MesFilms.BaseMesFilms.LectureDonnées(String StrDfltSelect, String StrSelect, String StrSort, String StrSortSens)
    bei MesFilms.MesFilms.GetFilmList[T](T gSelItem)
    bei MesFilms.MesFilms.SearchRelatedMoviesbyProperties(Int32 Index)
    bei MesFilms.MesFilms.OnMessage(GUIMessage messageType)
    bei MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)



    19.) searching for related movies with empty property gives exception
    When searching for related movies e.g. by borrower (those are all empty in my DB) or by date (some are empty in DB), an exception is thrown, when the selected movie has an empty property.
    Expected behavior would be, that all movies are found, that also have an empty related propertyfield.

    2010-04-10 15:30:37.510548 [Info.][MPMain(1)]: Exception: System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
    Parametername: index
    bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
    bei System.Collections.Generic.List`1.get_Item(Int32 index)
    bei MesFilms.MesFilms.SearchRelatedMoviesbyProperties(Int32 Index)
    bei MesFilms.MesFilms.OnMessage(GUIMessage messageType)
    bei MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
    2010-04-10 15:30:41.510215 [Info.][(3)]: PowerScheduler: Keep server alive
    2010-04-10 15:31:06.508135 [Info.][(3)]: PowerScheduler: Keep server alive
    2010-04-10 15:31:31.506055 [Info.][(12)]: PowerScheduler: Keep server alive
    2010-04-10 15:31:56.722707 [Info.][(3)]: PowerScheduler: Keep server alive
    2010-04-10 15:32:21.720627 [Info.][(7)]: PowerScheduler: Keep server alive
    2010-04-10 15:32:46.718547 [Info.][(3)]: PowerScheduler: Keep server alive


    20.) Missing IDs in language file:
    when starting MePo set to "german" (and thus using strings_de.xml), it claims that two definitions are missing:
    They are included in en-file, but also missing in fr-file.
    <String id="4516">Backdrop Fanart Grabber</String>
    <String id="4517">Backdrop Fanart Grabber</String>
    Not a big issue and does not lead to problems as far as I can see, but wanted to let you know about it.


    Updates:

    9.) Freeze/Crash on deletion of last DB record via GUI:
    When deleting the last movie in the DB, the plugin freezes and after 1-2 minutes mediaportal crashes (not an important one, cause usually noone should delete the last movie in his/her DB, just wanted to let you know...)
    Still the same.
    Log shows then the below last 4 lines repeatedly until MePo crashes after approx 2 minutes. As mentioned, not so important because it’s not a “normal usecase” ;-) – If you comment you won’t fix it, it’s ok imho.

    2010-04-08 05:11:28.706920 [Debug][MPMain(1)]: WindowManager: route MesFilms.MesFilmsDetail:7987->MediaPortal.Dialogs.GUIDialogMenu:2012
    2010-04-08 05:11:28.706920 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogMenu init
    2010-04-08 05:11:31.878815 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogMenu:2012->MesFilms.MesFilmsDetail:7987
    2010-04-08 05:11:31.878815 [Debug][MPMain(1)]: WindowManager: route MesFilms.MesFilmsDetail:7987->MediaPortal.Dialogs.GUIDialogYesNo:100
    2010-04-08 05:11:31.878815 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogYesNo init
    2010-04-08 05:11:33.238199 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogYesNo:100->MesFilms.MesFilmsDetail:7987
    2010-04-08 05:11:33.269449 [Info.][MPMain(1)]: MyFilms : Database movie deleted : Titanic
    2010-04-08 05:11:33.269449 [Info.][MPMain(1)]: MyFilms : Movie Database updated
    2010-04-08 05:11:33.269449 [Debug][MPMain(1)]: Windowmanager: Goto previous window
    2010-04-08 05:11:33.456951 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - module 7986
    2010-04-08 05:11:33.456951 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - fullscreen False
    2010-04-08 05:11:33.456951 [Debug][MPMain(1)]: Window: MesFilms.MesFilms init
    2010-04-08 05:11:33.456951 [Debug][MPMain(1)]: TextureManager: CleanupThumbs()
    2010-04-08 05:11:33.722577 [Debug][MPMain(1)]: Window: MesFilms.MesFilmsDetail init
    2010-04-08 05:11:33.722577 [Debug][MPMain(1)]: Windowmanager: Goto previous window
    2010-04-08 05:11:33.894453 [Debug][MPMain(1)]: MyFilms : SaveLastActiveModule - module 7986
    [...]

    I checked my config and updated my Mediaportal to latest SVN - and still get this "loop" when deleting the last movie.
    But I was able to find the reason: THis happens, when the movie you're trying to delete does not exist in the path (although I have configured MyFilms to only delete the record, NOT the file) - maybe the code is still trying to check existance of the physical file, even when configured to delete the record only?
    For me it's ok to leave it as it is and it shouldn't be a big issue in real usage !?

    10.) Exception on DB-Update (AMCupdater) in GUI (not in log):
    I get an exception dialog in the GUI when launching via Options a DB Update via AMCupdater (batch mode) since 2 versions. Might be related to my config of testDB, I might need to further investigate later.
    Does this work for you or do you get the same?
    As noted above #9, this was caused by an existing record with missing moviefile - so the problem might be related.
    After making sure, the existing entry is ok, no more exceptions appear, so imho closed.


    Will post AMC-related stuff in other thread, still writing...

    Guzzi

    PS: While testing, I found some labels not matching, so updated german translation and attached it...
     

    Attachments

    • strings_de.xml
      30.6 KB

    zebons

    Portal Pro
    January 2, 2006
    1,484
    114
    Re : AW: The Future of MyFilms?

    hi zebons,
    i need a little help or a hint with the skinning:
    Currently, the menu is launched mostly on "onleft" definitions for the id of the menu-entry (MyFilms : OnAction ACTION_MOVE_LEFT).
    Is it possible to also launch the menuentry with the info-button (MyFilms : OnAction ACTION_CONTEXT_MENU) by skinchanges or does this require change in the plugin itself to react on this event?
    Reason is, that when in thumb view, there is no other way to get "contextsearch" - the "move-left" changes the selecteditem and thus the context for the search.
    Thanks,
    Guzzi
    I have no remote to use with MP. Can you tell me whick key correspond to the Context_Menu with a keyboard ?
     

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    AW: Re : AW: The Future of MyFilms?

    hi zebons,
    i need a little help or a hint with the skinning:
    Currently, the menu is launched mostly on "onleft" definitions for the id of the menu-entry (MyFilms : OnAction ACTION_MOVE_LEFT).
    Is it possible to also launch the menuentry with the info-button (MyFilms : OnAction ACTION_CONTEXT_MENU) by skinchanges or does this require change in the plugin itself to react on this event?
    Reason is, that when in thumb view, there is no other way to get "contextsearch" - the "move-left" changes the selecteditem and thus the context for the search.
    Thanks,
    Guzzi
    I have no remote to use with MP. Can you tell me whick key correspond to the Context_Menu with a keyboard ?

    Hi Zebons,

    The "Info-Button" on the Remote is F9 on the Keyboard.

    MediaPortalBasicNavigation - MediaPortal Manual Documentation


    Guzzi

    PS: sorry for bothering you again, but I have a second question for skinning:

    In MesFilmsDetails.xml, the ID101 is used to start playback of the selected mediafile.
    I have moved this to default (away from the menu), so that when in Detailsview, pressing enter just starts the movie.
    To be able to switch through several Infoscreens, I have also added 3 "pseudo"controls with IDs 10001, 10002, 10003, so I can use up/down to change between those controls and use the visible tags to display 4 Pages of Infos for the movie.
    e.g.:
    <type>fadelabel</type>
    <id>1</id>
    <label>#myfilms.resolution</label>
    <visible>Control.HasFocus(10003)</visible>

    Unfortunately, I can't start the movie, when the focus is on any of those "pseudo"-button-controls. I tried <action> and <hyperlink>, but this didn't work for me, or I didn't put the right ID in action control...

    Can you tell me, what ID I would have to use to be able to start the movie on any of the 4 (3) controls? Or is it required, that separate IDs have to be inside the Plugin?

    <control>
    <type>button</type>
    <id>101</id>
    </control>

    <control>
    <type>button</type>
    <id>10001</id>
    </control>

    <control>
    <type>button</type>
    <id>10002</id>
    </control>

    <control>
    <type>button</type>
    <id>10003</id>
    </control>

    Thanks,
    Guzzi
     

    zebons

    Portal Pro
    January 2, 2006
    1,484
    114
    Re : AW: Re : AW: The Future of MyFilms?

    hi zebons,
    i need a little help or a hint with the skinning:
    Currently, the menu is launched mostly on "onleft" definitions for the id of the menu-entry (MyFilms : OnAction ACTION_MOVE_LEFT).
    Is it possible to also launch the menuentry with the info-button (MyFilms : OnAction ACTION_CONTEXT_MENU) by skinchanges or does this require change in the plugin itself to react on this event?
    Reason is, that when in thumb view, there is no other way to get "contextsearch" - the "move-left" changes the selecteditem and thus the context for the search.
    Thanks,
    Guzzi
    I have no remote to use with MP. Can you tell me whick key correspond to the Context_Menu with a keyboard ?

    Hi Zebons,

    The "Info-Button" on the Remote is F9 on the Keyboard.

    MediaPortalBasicNavigation - MediaPortal Manual Documentation

    Guzzi

    PS: sorry for bothering you again, but I have a second question for skinning:

    In MesFilmsDetails.xml, the ID101 is used to start playback of the selected mediafile.
    I have moved this to default (away from the menu), so that when in Detailsview, pressing enter just starts the movie.
    To be able to switch through several Infoscreens, I have also added 3 "pseudo"controls with IDs 10001, 10002, 10003, so I can use up/down to change between those controls and use the visible tags to display 4 Pages of Infos for the movie.
    e.g.:
    <type>fadelabel</type>
    <id>1</id>
    <label>#myfilms.resolution</label>
    <visible>Control.HasFocus(10003)</visible>

    Unfortunately, I can't start the movie, when the focus is on any of those "pseudo"-button-controls. I tried <action> and <hyperlink>, but this didn't work for me, or I didn't put the right ID in action control...

    Can you tell me, what ID I would have to use to be able to start the movie on any of the 4 (3) controls? Or is it required, that separate IDs have to be inside the Plugin?

    <control>
    <type>button</type>
    <id>101</id>
    </control>

    <control>
    <type>button</type>
    <id>10001</id>
    </control>

    <control>
    <type>button</type>
    <id>10002</id>
    </control>

    <control>
    <type>button</type>
    <id>10003</id>
    </control>

    Thanks,
    Guzzi
    I'm not sure to really understand .You Have create three tabs for having several screens to display all informations ? And you want to have the Play button active in each tab ?
    Can you send me your skin files ?

    I have no remote to use with MP. Can you tell me whick key correspond to the Context_Menu with a keyboard ?

    Hi Zebons,

    The "Info-Button" on the Remote is F9 on the Keyboard.

    MediaPortalBasicNavigation - MediaPortal Manual Documentation

    Guzzi

    PS: sorry for bothering you again, but I have a second question for skinning:

    In MesFilmsDetails.xml, the ID101 is used to start playback of the selected mediafile.
    I have moved this to default (away from the menu), so that when in Detailsview, pressing enter just starts the movie.
    To be able to switch through several Infoscreens, I have also added 3 "pseudo"controls with IDs 10001, 10002, 10003, so I can use up/down to change between those controls and use the visible tags to display 4 Pages of Infos for the movie.
    e.g.:
    <type>fadelabel</type>
    <id>1</id>
    <label>#myfilms.resolution</label>
    <visible>Control.HasFocus(10003)</visible>

    Unfortunately, I can't start the movie, when the focus is on any of those "pseudo"-button-controls. I tried <action> and <hyperlink>, but this didn't work for me, or I didn't put the right ID in action control...

    Can you tell me, what ID I would have to use to be able to start the movie on any of the 4 (3) controls? Or is it required, that separate IDs have to be inside the Plugin?

    <control>
    <type>button</type>
    <id>101</id>
    </control>

    <control>
    <type>button</type>
    <id>10001</id>
    </control>

    <control>
    <type>button</type>
    <id>10002</id>
    </control>

    <control>
    <type>button</type>
    <id>10003</id>
    </control>

    Thanks,
    Guzzi
    I'm not sure to really understand .You Have create three tabs for having several screens to display all informations ? And you want to have the Play button active in each tab ?
    Can you send me your skin files ?
    PS: ACTION_CONTEXT_MENU is now managed on the main screen.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Similar threads

    It may seem strange, but the open-source license allows anyone to sell physical CDs or DVDs to customers, provided that, for example, the source code is made available upon request and additional value is provided, such as an installation manual. Both of these are mentioned in the product description, so it appears to be legitimate...
    It may seem strange, but the open-source license allows anyone to sell physical CDs or DVDs to customers, provided that, for...
    I just recently started using your software and I noticed on eBay one person is selling it for about $16.00. You can make a claim...
    Replies
    2
    Views
    158
    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that these were never part of the install package itself, but rather downloaded during the install, and that link no longer exists. Shame that the installer doesn't indicate this. Last time when I installed the...
    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that...
    Hi all, I've recently retired my MP2 setup for my main HTPC and gone back to separates, but I wanted to retain the ability to play...
    Replies
    4
    Views
    225
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
    I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
    Replies
    7
    Views
    1K
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall rules were set to Public. I couldn't connect to the new TV Server from my old single-seat installation running 32-bit until I changed all MP-related firewall rules on the new machine to Private. Before I did...
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall...
    Server and client on modern uptodate Windows 11 desktop. Software is Server and Client version x86 1.38.003 Remote client on...
    Replies
    26
    Views
    3K
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the plugin has. It might be 32-bit, or it might be "any cpu". The plugin is not listed by the "MP Extensions" tool, so I don't know whether it has been tested with the most-recent MP releases. -- from...
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the...
    I'm looking for a better recording scheduler. Many recording titles (at least in the UK) change between episodes, sometimes being...
    Replies
    4
    Views
    1K
    Top Bottom