Fanart Handler Plugin v2.1.1 (and music fanart scraper) (1 Viewer)

Status
Not open for further replies.

grooves12

Portal Pro
November 1, 2006
133
36
Is it possible to configure this plugin to work with the newly released Pandora MusicBox plugin to display now playing artists?
 

ysmp

Design Group
  • Team MediaPortal
  • May 17, 2008
    1,863
    744
    Seoul.
    Home Country
    South Korea South Korea

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    43
    Texas
    Home Country
    United States of America United States of America
    hi fforde,

    There is one small problem with this, as any plugin using this method has to referance a couple of MovingPictures dlls and if the user has not installed MovingPictures then the plugin will not be loaded by MediaPortal with all the issues that go with that...

    I have looked at various methods of getting round this but hit a dead end everytime. The may be an obivious method to get round this that I just dont know.

    Another thought is that a small DB access dll that can be shipped with other plugins or maybe a class we can add to our pluigins might be an option.

    Any ideas welcome...

    thx

    Just stick the logic inside it's own method and then when you call that wrapper method, surround it with a try catch block. It will throw a MissingMethodException if Moving Pictures is not there. We did something similar in Moving Pictures in the past when referencing a new MediaPortal method. We would try to call the new method and if it didn't exist we would fall back to the old.

    And no we will not be shipping a separate DLL or build a special class for external access. This is totally unnecessary, various parts of Moving Pictures are designed to be externally accessible for the purpose of interoperability so you really already have everything you need. This is how the StreamedMP skin / plugin displays recently added movies on the Basic Home screen and this is how SubCentral accesses the last selected movie for subtitle downloading.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Trevor, after speaking to fforde we have an idea why our plugin was failing when dll was not found. Will make a change and test.

    EDIT: Fix worked as expected.
     

    trevor

    Portal Pro
    October 17, 2006
    1,600
    950
    Chelmsford
    Home Country
    United Kingdom United Kingdom
    hi fforde,

    There is one small problem with this, as any plugin using this method has to referance a couple of MovingPictures dlls and if the user has not installed MovingPictures then the plugin will not be loaded by MediaPortal with all the issues that go with that...

    I have looked at various methods of getting round this but hit a dead end everytime. The may be an obivious method to get round this that I just dont know.

    Another thought is that a small DB access dll that can be shipped with other plugins or maybe a class we can add to our pluigins might be an option.

    Any ideas welcome...

    thx

    Just stick the logic inside it's own method and then when you call that wrapper method, surround it with a try catch block. It will throw a MissingMethodException if Moving Pictures is not there. We did something similar in Moving Pictures in the past when referencing a new MediaPortal method. We would try to call the new method and if it didn't exist we would fall back to the old.

    And no we will not be shipping a separate DLL or build a special class for external access. This is totally unnecessary, various parts of Moving Pictures are designed to be externally accessible for the purpose of interoperability so you really already have everything you need. This is how the StreamedMP skin / plugin displays recently added movies on the Basic Home screen and this is how SubCentral accesses the last selected movie for subtitle downloading.


    Thanks fforde, I was was hoping it was something obvious that I was just not seeing.
     

    CPergler

    Portal Member
    June 16, 2009
    17
    0
    Home Country
    Austria Austria
    Hi everyone,

    can it be that htbackdrops.com has some sort of database malfunction since jesterday evening? I get an 403 Error in the fanarthandler.log whenever I try to start scraping... The same is the case when I try to do a manual search on the htbackdrops website...
     

    Unidentified

    Portal Member
    November 3, 2009
    27
    1
    Is anyone else encounting problems with the automatic fanart download?

    I have some artists in the fanart handler database and the option for automatic download is checked. For some reason I have only 3 Amy MacDonalds fanarts from yesterday (installed the plugin for the first time), but no one for all the other artists.

    Today I tried Home Theatre Backdrops */*Home and found the search function not working ("Forbidden") - is this why the plugin does not download anything?
     

    JoeSmith

    Portal Pro
    November 17, 2007
    314
    44
    Home Country
    Germany Germany
    AW: Fanart Handler Plugin v2.1.1 (and music fanart scraper)

    sorry if this has been asked before.
    Now that we have the nice info service option for mp-tvseries and moving pictures to show the last added item - would something like this be possible for tv/music/... to show last added music albums and last recorded shows ?
    I think this would be a great enhancement and unifying the look of the skins if we have that on most screens.

    Thanks
    Joe
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Re: AW: Fanart Handler Plugin v2.1.1 (and music fanart scraper)

    sorry if this has been asked before.
    Now that we have the nice info service option for mp-tvseries and moving pictures to show the last added item - would something like this be possible for tv/music/... to show last added music albums and last recorded shows ?
    I think this would be a great enhancement and unifying the look of the skins if we have that on most screens.

    Thanks
    Joe

    Yes, this is possible and should be directed at either the InfoService plugin forum or your Skin forum.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom