[solved] - Fanart Handler no longer works with my Pandora MusicBox plugin.

Discussion in 'Fanart Handler' started by jon_in_phx, October 11, 2016.

  1. jon_in_phx
    • Premium Supporter

    jon_in_phx MP Donator

    Joined:
    July 13, 2012
    Messages:
    18
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +8 / 0
    Home Country:
    United States of America United States of America
    Fanart Handler no longer works with my Pandora MusicBox plugin.

    Apparently something was changed between Fanart Handler v4.0.2.223 and version 4.0.2.224 to cause this to happen. That is, Pandora MusicBox scrapes and displays artist fanart using 223, but does not scrape artist images starting with version 224.

    I use the StreamedMP skin, but I get the same results with the DefaultWideHD skin. I'm using MediaPortal 1.15.0.

    I've attached two Fanart Handler logs: 223 and 240. Both logs encompass MediaPortal startup, two songs played by Pandora MusicBox plugin, and MediaPortal shutdown. Note there are no 'Scraper' log entries in the 240 file.

    Can someone see a problem? I can't.



    Jon
     
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,578
    Likes Received:
    2,622
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,568 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    No FH properties in Pandora skin files or Pandora media type not in (Music, Radio, IsLastFMStream) ...
    Code (C#):
    1.         if (type == g_Player.MediaType.Music || type == g_Player.MediaType.Radio || MediaPortal.Util.Utils.IsLastFMStream(filename))
    2.         {
    3.           if ((Utils.ContainsID(FPlay.WindowsUsingFanartPlay) ||
    4.                Utils.ContainsID(FPlayOther.WindowsUsingFanartPlayGenre) ||
    5.                Utils.ContainsID(FPlayOther.WindowsUsingFanartPlayClearArt) ||
    6.                Utils.UseOverlayFanart) && Utils.AllowFanartInActiveWindow())
    7.           {
    8.             StartRefreshTimer();
    9.           }
     
    Last edited: October 12, 2016
    • Like Like x 1
  4. jon_in_phx
    • Premium Supporter

    jon_in_phx MP Donator

    Joined:
    July 13, 2012
    Messages:
    18
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +8 / 0
    Home Country:
    United States of America United States of America
    Thank you AJS, but sorry, I don't understand your reply.

    All else being the same, when I roll back FH to release 223, artist fanart is displayed in the background as shown in the attached screen photo. FH properties do exist in the Pandora skin files. When I update to FH release 224 or newer, artist imagery is not displayed.

    Are you saying that when upgrading FH from 223, skin and/or plugin code needs to change to keep the nice old features of FH, such as displaying music artist background imagery?
     

    Attached Files:

    • pandora.gif
      pandora.gif
      File size:
      808.8 KB
      Uploaded:
      October 15, 2016
      Views:
      75
    • Thank You! Thank You! x 1
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,578
    Likes Received:
    2,622
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,568 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Plz attach Pandora XML skin files.

    --
    WBR, Andrew J.Swan
     
  6. jon_in_phx
    • Premium Supporter

    jon_in_phx MP Donator

    Joined:
    July 13, 2012
    Messages:
    18
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +8 / 0
    Home Country:
    United States of America United States of America
    Attached are two Pandora XML files from the StreamedMP skin. The second is an <import> to the first.
    If you need others, please let me know.

    jon
     

    Attached Files:

  7. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,578
    Likes Received:
    2,622
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,568 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    I did not find not a single property which should show the backdrop for the selected artist. For the actor who plays a property, it may not be enough:
    <define>#usePlayFanart:Yes</define>

    --
    WBR, Andrew J.Swan
     
  8. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,578
    Likes Received:
    2,622
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,568 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @jon_in_phx
    Backup your PandoraMusicBox.xml and mymusic.autofanart.xml, replace PandoraMusicBox.xml with my PandoraMusicBox.xml, try, if not work, replace mymusic.autofanart.xml with my mymusic.autofanart.xml, try ...
     

    Attached Files:

    • Like Like x 1
    • Thank You! Thank You! x 1
  9. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,578
    Likes Received:
    2,622
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,568 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Do not forget to clear the cache skins.

    --
    WBR, Andrew J.Swan
     
    • Like Like x 1
    • Thank You! Thank You! x 1
  10. jon_in_phx
    • Premium Supporter

    jon_in_phx MP Donator

    Joined:
    July 13, 2012
    Messages:
    18
    Likes Received:
    3
    Gender:
    Male
    Ratings:
    +8 / 0
    Home Country:
    United States of America United States of America
    Fixed! Thank you Andrew for the updated files. And thanks for the quick response! Pandora Fanart now works with Fanart release 4.0.2.240. Now I wonder why Fanart EVER worked for Pandora MusicBox without those added 'defines'...

    I only had to swap the PandoraMusicBox.xml file. Of the three 'defines' you added, I choose not to use the 'random' one. I only want to see fanart for the current artist (and display a default fanart when artist images can't be found).

    I've attached my edited PandoraMusicBox.xml file for the StreamedMP skin (with your two added define statements) that makes me happy. (y)

    Jon
     

    Attached Files:

    • Thank You! Thank You! x 2
  11. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,578
    Likes Received:
    2,622
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,568 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    An error in the old version of the plugin :) :whistle::coffee:
    Probably the best of these changes to convey the developer to the skins. For the next update there were no such problems. :)
     
    • Like Like x 1
    • Thank You! Thank You! x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!