[solved] When playing music Fanart does not appear immediately after downloading (2 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    I hope this debugging information is enough, it’s very inconvenient in the phone to edit the code through the remote desktop.
     

    Attachments

    • FanartHandler.dll.zip
      471.9 KB

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    You made it!!! The issue has been fixed! Well done! Thank you very much! (y)

    I think you can remove the debug code now.

    By the way, there's a small typo:
    Debug [ Scraper]: Fanart.TV: Empty resonse HTML ... Skip.

    Only change skin file :whistle: or turn on CDArt, then instead of vinyl there will be a CD.
    If I do any change to the Titan skin file "PlayingNow.SimpleBody.xml" the whole Playing Now window is not loaded anymore.
    E. g. to display the Title not in uppercase:

    Before:
    <label>#(string.toupper(#Play.Current.Title))</label>

    After:
    <label>#Play.Current.Title</label>

    Do you know why?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    If you use Titan skin without theme, than make folder in skin/Titan/Themes/ folder, with name like horned_reaper in this folder create file with name theme.xml and change this file like:
    XML:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <controls>
      <theme>
        <version>1.4.0.0</version>
        <author>horned_reaper</author>
      </theme>
    </controls>
    Copy to this folder PlayingNow.SimpleBody.xml and change what you want, in MP configuration, select horned_reaper theme in Titan skin settings ...

    E. g. to display the Title not in uppercase:

    Before:
    <label>#(string.toupper(#Play.Current.Title))</label>

    After:
    <label>#Play.Current.Title</label>
    If only these changes, then everything should be fine, you can see there are some other changes that interfere.
    Try my file.
     

    Attachments

    • PlayingNow.SimpleBody.xml
      28.6 KB
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    I'm curious. :) Why is this required to accept the modification?
    This is just a comment on how it was and how it became, you could simply delete it. But suddenly it will be necessary to return it as it was before, then there is no need to remember how it was ... :)
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Another question: If a disabled (online source) Fanart exists and a duplicate Fanart is found then it gets imported. E. g.:
    1589284890190.png

    Existing: 26339, new: 1
    1589284902837.png

    Is it possible to do the duplicate check also on disabled Fanarts to prevent that a disabled Fanart is shown again?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    Is it possible to do the duplicate check also on disabled Fanarts to prevent that a disabled Fanart is shown again?
    It is necessary to redo the procedure for sampling fanart ... :)
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Oh, I see.

    When is the Initial Scrape done? Is it done on each MediaPortal start?
    1589285877293.png
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    When is the Initial Scrape done? Is it done on each MediaPortal start?
    Do not understand. If this option is enabled, then at each start it will check for the presence of files and if there are none, it will clean the database. Scanning for new ones (Scrape) occurs at every start, but not for everyone, they scanned it, if they found it, well, no, we checked it and the next time the search will be in a week (if the memory fails).
     

    Users who are viewing this thread

    Top Bottom