[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
    566
    292
    Home Country
    United Kingdom United Kingdom
    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
    566
    292
    Home Country
    United Kingdom United Kingdom
    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
    566
    292
    Home Country
    United Kingdom United Kingdom
    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
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    I fix this in IMDB_MP117x.csscript
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    566
    292
    Home Country
    United Kingdom United Kingdom
    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

    Top Bottom