[solved] Configuration: video lookup on IMDB script error. (1 Viewer)

Status
Not open for further replies.

Anthony Vaughan

MP Donator
  • Premium Supporter
  • June 25, 2015
    463
    214
    Home Country
    United Kingdom United Kingdom
    Country flag
    Sometime ago I reported a bug in the Configuration application where a lookup displayed as follows:

    1628679458876.png


    This occured for me when using the IMDB script to lookup a movie.

    I suggest the fix for this is as follows:

    public void SetLine2(string label)
    {
    if (!string.IsNullOrEmpty(label))
    {
    label = label.Replace("\n", "");
    this.label2.Text = label;
    }
    }

    in DlgProgress.cs. The script data seems to contain a new line in the text.

    With this change the dialog displays as follows:

    1628679701083.png


    Hope this helps.

    Tony
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    463
    214
    Home Country
    United Kingdom United Kingdom
    Country flag
    Absolutely. The code I've suggested is just a workaround.

    I'm a primarily a database and front-end developer, so I would leave all of that media stuff to you. I know very little, well nothing really, about media processing (thumbs and all that).

    Tony
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    463
    214
    Home Country
    United Kingdom United Kingdom
    Country flag
    It could one of a few. I don't know which.

    1631104802267.png

    I only use the EN scripts - but I assume that the same issue would need to be catered for in all scripts.

    Tony
     
    Last edited by a moderator:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    14,092
    8,629
    Kyiv
    Home Country
    Ukraine Ukraine
    Country flag
    I fix this in IMDB_MP117x.csscript
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    463
    214
    Home Country
    United Kingdom United Kingdom
    Country flag
    I have a few scripts I use.

    1631107885172.png


    Should I only be using one of them?

    That's why I put the whole list.

    Would you please send me the fix and I'll install it here.

    Thanks for your help.

    Tony
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Similar threads

    Fixed. :) @Developers , @Administrative Someone deleted the imdb_de_ofdb_MP13x.csscript from our server but did not remove it from MovieInfoGrabber_V16.xml (that is the index file).
    Fixed. :) @Developers , @Administrative Someone deleted the imdb_de_ofdb_MP13x.csscript from our server but did not remove it...
    Hi all, No logs yet but I can provide if necessary. From within the Mediaportal Configuration application, clicking the "Update...
    Replies
    2
    Views
    1K
    • Sticky
    Historical reasons, so that if you update to a new version and it fails, you can go back to old one. As to why it keeps more than just the "previous" one, that I don't know. Probably made sense when it was designed (y)
    Historical reasons, so that if you update to a new version and it fails, you can go back to old one. As to why it keeps more than...
    The IMDb+ scraper-script and plugin combination for Moving-Pictures is the first scraper to support custom options, allowing you to...
    Replies
    177
    Views
    24K
    Sorry to hear that you have to go to hospital. I hope that all wil be fine. In fact you have already all the information needed. The database name and the table name are the same than in mySQL for ArgusTV. How can I provide you the Backup file ?
    Sorry to hear that you have to go to hospital. I hope that all wil be fine. In fact you have already all the information needed...
    Hi. I like to introduce our latest tool, called "EPG-Buddy". This program should make EPG grabbing as easy as possible. Up to now a...
    Replies
    445
    Views
    120K
    Full Source Code is available as attachment First of all, i don't know if this is the right place for this [HOWTO]. It is a supplement to the wiki-guide Movie Info Scripts/Grabbers I hope this miniwiki-howto-practical guide help you to build a new script in a few steps. At this time only a few of scripts (only four languages) are...
    Full Source Code is available as attachment First of all, i don't know if this is the right place for this [HOWTO]. It is a...
    Full Source Code is available as attachment First of all, i don't know if this is the right place for this [HOWTO]. It is a...
    Replies
    0
    Views
    8K
    • Locked
    Thanks for mentioning you use IMDb+, because that is why Article remove stopped working for you. At least for the titles that get renamed by IMDb+. The problem is that Moving-Pictures does not re-apply the article remove setting after IMDb+ changes the title. One solution is to add all those movies to your IMDb+ custom rename database...
    Thanks for mentioning you use IMDb+, because that is why Article remove stopped working for you. At least for the titles that get...
    DOWNLOAD Moving Pictures is a movie management plug-in that focuses on ease of use and flexibility. Point it to your movies...
    Replies
    41
    Views
    14K
    Top Bottom