Missing Language Field (1 Viewer)

sheish

Portal Member
January 20, 2009
20
0
Home Country
United States of America United States of America
First off, I would like to thank you for such a GREAT plugin. I love everything about it.

I did see a difference in behavior recently in this rev(1.2.3) with MP 1.2.2. When a movie is added to DB and the relevant info is pulled, I see that the language field is being left out as blank. This is an issue for me as I have 4 different language movies other than English in my collection and I had a Language category in the main menu for this plugin. So, it is broken for me now. Is this a known issue? Or a config issue on my setup? Let me know.

Again, I really appreciate the great work behind this plugin.

-sheish
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Re: Moving Pictures 1.1.5 / 1.2.3 Released

    First off, I would like to thank you for such a GREAT plugin. I love everything about it.

    I did see a difference in behavior recently in this rev(1.2.3) with MP 1.2.2. When a movie is added to DB and the relevant info is pulled, I see that the language field is being left out as blank. This is an issue for me as I have 4 different language movies other than English in my collection and I had a Language category in the main menu for this plugin. So, it is broken for me now. Is this a known issue? Or a config issue on my setup? Let me know.

    Again, I really appreciate the great work behind this plugin.

    -sheish

    What scraper-script is being used to pull in the language info? Or are you talking about multiple audio tracks, because that relates to MediaInfo support alongside proper tagging of audio tracks inside the media source.

    I just imported a movie real quick in the IMDb+ scraper-script system that I use myself and it tagged the movie fine with "English" for "Pitch Black", as well as "Cantonese" for "Once Upon A Time in China" which I had just setup as test movie for a new series grouping entry for IMDb+.

    So check which scraper-script was used, open up MovPic config -> Movie Manager -> select one of the movies that is wrong -> on the right side scroll all the way down and look for "Primary Source". That will only provide the name, so then switch to the "Importer Settings" tab -> check the radio button for "Manually manage movie data sources." -> click the "Movie Details Data Sources" button -> locate the same scraper-script source name you found at "Primary Source" before and look at "Version".

    Then come back here and provide that info please.
     

    sheish

    Portal Member
    January 20, 2009
    20
    0
    Home Country
    United States of America United States of America
    Re: Moving Pictures 1.1.5 / 1.2.3 Released

    First off, I would like to thank you for such a GREAT plugin. I love everything about it.

    I did see a difference in behavior recently in this rev(1.2.3) with MP 1.2.2. When a movie is added to DB and the relevant info is pulled, I see that the language field is being left out as blank. This is an issue for me as I have 4 different language movies other than English in my collection and I had a Language category in the main menu for this plugin. So, it is broken for me now. Is this a known issue? Or a config issue on my setup? Let me know.

    Again, I really appreciate the great work behind this plugin.

    -sheish

    What scraper-script is being used to pull in the language info? Or are you talking about multiple audio tracks, because that relates to MediaInfo support alongside proper tagging of audio tracks inside the media source.

    I just imported a movie real quick in the IMDb+ scraper-script system that I use myself and it tagged the movie fine with "English" for "Pitch Black", as well as "Cantonese" for "Once Upon A Time in China" which I had just setup as test movie for a new series grouping entry for IMDb+.

    So check which scraper-script was used, open up MovPic config -> Movie Manager -> select one of the movies that is wrong -> on the right side scroll all the way down and look for "Primary Source". That will only provide the name, so then switch to the "Importer Settings" tab -> check the radio button for "Manually manage movie data sources." -> click the "Movie Details Data Sources" button -> locate the same scraper-script source name you found at "Primary Source" before and look at "Version".

    Then come back here and provide that info please.
    Thanks for the quick response, RoChess.

    Here is the info you are looking for. I have checked for two movies.

    1) Adjustment Bureau
    Primary Source: themoviedb.org
    Version: Internal (no date info)

    2) Avatar
    Primary Source: imdb.com
    Version: 2.1.4 (7/23/2011)

    Even when I reimport the movie, I never see the language field being pulled or being updated.

    Movie Details Data Source versions:
    MP%20importer%20movie%20details%20source%20versions.png


    I have following as the plugins in my MP setup.
    my%20plugins%2012-29.jpg



    -sheish
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Re: Moving Pictures 1.1.5 / 1.2.3 Released

    1) Adjustment Bureau / Primary Source: themoviedb.org
    2) Avatar / Primary Source: imdb.com v2.1.4

    Ok, seeing as you already have the IMDb+ plugin installed, the easiest solution for right now is as follows:

    Open that "Movie Details Data Source versions" screen you showed and scroll down, the IMDb+ scraper-script looks like it got disabled or pushed way down, so re-enable it. You can also move it to the top position (or let the IMDb+ plugin do it as I'll explain next).

    Then start MediaPortal GUI -> Plugins -> IMDb+ (if it doesn't show then you have to open MediaPortal config and click 'ok' to close it again, this way the mediaportal.xml file gets updated properly to show new plugins)

    Then inside IMDb+ you might get a warning saying that the IMDb+ scraper-script is not the primary/first source for new movies, so just approve to correct that part.

    Now before you use the IMDb+ scraper-script you might want to look over each of the options that allows you to configure how the IMDb+ scraper-script works. For example you might not like the average rating system and prefer the IMDb rating, or maybe you prefer long summaries (default is short), you get the point, so just go over all the options and read the description for more information on what each option does. Do not forget to enable the "Refresh all of the fields" option, because otherwise the language field and a few others would not get updated by the IMDb+ scraper-script.

    Now unfortunatly we found out a little bug in the existing IMDb+ plugin where settings are not 'saved' correctly if you do not first exit the plugin before you open the hidden menu, so please exit the plugin back to the MediaPortal plugin menu and immediatly open the IMDb+ again. This will be fixed in next plugin release, but for now just exit and re-open.

    Back inside the IMDb+ plugin open the hidden menu (left side on Default/DefaultWide, but your skin might have it elsewhere), and you will see "Force IMDb+" option listed in the menu. Use that "Force IMDb+" to convert all your movies over to the IMDb+ scraper-script. To verify all your movies got switched over you can use the "IMDb+ Info..." option in the same hidden menu and look for the "Movies that use a different scraper:" value to be '0' on second screen (some skins show it on single screen). There are valid reasons for using another scraper-script, such as CDUniverse Adult movie scraper, or movies that simply do not exist at the IMDb website, but for 95%+ of the users that value will be '0'.

    Once your movies are switched over to use the IMDb+ scraper-script, then all you have to do is refresh each movie to get the new information and correct language, and to make that easy there is another hidden-menu option inside the IMDb+ plugin and that is to use the "Refresh Movies..." option. You can then just do all of your movies, or if you have a very large collection to do it in steps via the A-Z one.

    I would first recommend to update just the "Adjustment Bureau" movie, and make sure you do get the language correct that time. Then once it works you do all/A-Z as you prefer. If it doesn't work, check to see if inside MovingPictures config "Movie Manager" -> select "Adjustment Bureau" -> to make sure that it shows tt1385826 for IMDb ID. Otherwise you have to sent it back to the importer, so that IMDb+ can correct that mistake as well.
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    43
    Texas
    Home Country
    United States of America United States of America
    Re: Moving Pictures 1.1.5 / 1.2.3 Released

    First off, I would like to thank you for such a GREAT plugin. I love everything about it.

    I did see a difference in behavior recently in this rev(1.2.3) with MP 1.2.2. When a movie is added to DB and the relevant info is pulled, I see that the language field is being left out as blank. This is an issue for me as I have 4 different language movies other than English in my collection and I had a Language category in the main menu for this plugin. So, it is broken for me now. Is this a known issue? Or a config issue on my setup? Let me know.

    Again, I really appreciate the great work behind this plugin.

    -sheish

    The problem is almost certainly that IMDb altered their website causing the scraper script to fail to grab the language field. I will look into this tomorrow. I plan to push a new release in the next day or two and will make sure this fix goes in. If time permits, I will try to get the scraper script auto update system in place as well which should mostly eliminate the visibility of problems like this going forward.

    Rochess, I would appreciate it if you do not use help requests here in the Moving Pictures forum to promote your IMDb+ script. A 500 word essay on how to use the IMDb+ script/plugin is not an appropriate response to a query about a bit of missing data.
     

    sheish

    Portal Member
    January 20, 2009
    20
    0
    Home Country
    United States of America United States of America
    Re: Moving Pictures 1.1.5 / 1.2.3 Released

    Wow...this is just amazing. It worked like a charm, I mean you are the best. Just followed each step and there it is, I have all I need.

    Was this because of the order of the MP Plugins installation? In the plugins I installed, I think Moving Pictures was the last one I installed. May be the order matters?

    -sheish
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    43
    Texas
    Home Country
    United States of America United States of America
    EDIT: Looks like you got things working with the IMDb+ script. Glad you got it working. If for some bizarre reason you are interested in debugging your previous setup, the following steps would be helpful. But I guess if it works it works. ;)

    EDIT2: Scratch that, I was able to reproduce the problem with the proper IMDb script. Will have a new build with the fix out in the next day or two. For anyone impatient, the updated script is here.

    -------------------------------------

    Okay sheish, I tried to reproduce your problem but am having a hard time. To help me debug the issue I need you to do a few things for me.

    1. Enable debug logging.
    2. Can you please open the config screen, goto the Movie Manager, find one of the movies missing the language field and click the refresh toolbar button? It looks like a green circular arrow.
    3. Is language populated now? If not...
    4. Attach your movingpictures.log file to a reply here.
    5. Are there any other movies you are having this problem with?

    Sorry for the trouble. :(
     

    sheish

    Portal Member
    January 20, 2009
    20
    0
    Home Country
    United States of America United States of America
    fforde,
    Yep, it worked once I rebuilt the order of scrapper scripts - now I have IMDB+ as the first choice. I rebuilt the whole DB which has over 550+ movies. It took some time to set it up last night the way I want it to be.

    The order of plugins installed in MP were:
    > online videos
    > IMDB+
    > subcentral
    > showtimes
    > moving pictures

    Moving pictures was done the last as it is still not available in the MP 1.2.2 Extensions Installer - is this a known issue as well or will it never be in there? So, I am not sure if this order has exposed this issue. I have done two different installs and was reproduced both times when plugins were installed in that order. I will try it on a different setup and let you know.

    I greatly appreciate your work behind this plugin, it is just great. I will post back once I confirm how to reproduce this.

    -sheish
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    43
    Texas
    Home Country
    United States of America United States of America
    Moving Pictures does not use the extension installer at the moment so that is why you don't see it there, although the order you install plugins really should have no bearing on how the importer operates. And yes we plan to switch to the extension installer sooner or later.

    The import problem in your case was caused by a bug in the current IMDb script. I was having trouble reproducing because I forgot to disable my secondary script. If possible Moving Pictures will fill in missing data from the second script in your data source list. So the IMDb script was failing to populate the language field, but themoviedb.org was filling it in for me. Oops! Once I disabled the themoviedb.org script the language field was no longer being populated, so now that I could reproduce the problem, it was not too hard to create a fix (linked above). Although since you have a working setup now, I would just stick with what you have got.

    The reason your system is working without the proper fix is because rather than debugging the issue, Rochess pointed you to his external "IMDb+" script.
     

    sheish

    Portal Member
    January 20, 2009
    20
    0
    Home Country
    United States of America United States of America
    Great, fforde, thats good to know. I agree that I applied the workaround to get it working. I greatly appreciate you guys' dedication towards this and the support. Its amazing how fast you reply to questions and help.

    I will give the fix a try later today on a different setup which is my experimental setup.

    Happy New Year 2012 in advance. Have a super one.

    -sheish
     

    Users who are viewing this thread

    Top Bottom