Fanart Handler Plugin v3.0.9.000 | Page 22

Discussion in 'Fanart Handler' started by cul8er, April 20, 2012.

Thread Status:
Not open for further replies.
  1. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,579
    Likes Received:
    1,110
    Gender:
    Male
    Ratings:
    +2,384 / 21
    Home Country:
    Germany Germany
    Show System Specs
    Just installed 4.0.1 from above after uninstalling Seb's patched 3.x.x Version and got 3 MB of error log within 5 seconds. Looks as if the database structure has changed and therefore any existing fanarthandler.db3 needs to be deleted first. After that, things seem to work as expected.

    I do agree. Indeed we should anyway remove the existing repo version, since it does not work with newer MePo releases. However, I am a little bit concerned that less experienced users will run into the database problem, if the new version is offered as a simple update for existing installations.


     
    • Agree Agree x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I don't.

    I just tested 3 versions again.
    v4.0.0.41:
    This version has all the tabs visible. Importing local fanart works, but scraping fails:
    Code (Text):
    1. 16-Nov-2014 09:53:50  Info [     DatabaseManager]: InitialScrape is starting...
    2. 16-Nov-2014 09:54:11 Error [             Scraper]: getImages: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 188.138.90.170:80
    3.    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    4.    at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
    5.    --- End of inner exception stack trace ---
    6.    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
    7.    at System.Net.HttpWebRequest.GetRequestStream()
    8.    at FanartHandler.Scraper.GetImages(String artist, Int32 iMax, DatabaseManager dbm, Boolean reportProgress, Boolean doTriggerRefresh, Boolean externalAccess)
    ajs-Beta:
    This version doesn't have all the tabs visible. Importing local fanart works, but scraping fails:
    Code (Text):
    1. 16-Nov-2014 09:45:15 Error [             Scraper]: getImages: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 188.138.90.170:80
    2.    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    3.    at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
    4.    --- End of inner exception stack trace ---
    5.    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
    6.    at System.Net.HttpWebRequest.GetRequestStream()
    7.    at FanartHandler.Scraper.HtBackdropGetFanart(String artist, Int32 iMax, DatabaseManager dbm, Boolean reportProgress, Boolean doTriggerRefresh, Boolean externalAccess, Boolean doScrapeFanart)
    v4.0.0.42:
    This version doesn't have all the tabs visible. Importing local fanart works, but scraping fails:
    Code (Text):
    1. 16-Nov-2014 09:23:32 Error [             Scraper]: getImages: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 188.138.90.170:80
    2.    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    3.    at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
    4.    --- End of inner exception stack trace ---
    5.    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
    6.    at System.Net.HttpWebRequest.GetRequestStream()
    7.    at FanartHandler.Scraper.HtBackdropGetFanart(String artist, Int32 iMax, DatabaseManager dbm, Boolean reportProgress, Boolean doTriggerRefresh, Boolean externalAccess, Boolean doScrapeFanart)
     
    • Like Like x 1
  4. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,579
    Likes Received:
    1,110
    Gender:
    Male
    Ratings:
    +2,384 / 21
    Home Country:
    Germany Germany
    Show System Specs
    @HomeY , the error message could be due to temporary connection problems with the fanart site. However, 188.138.90.170 is a strange address. Could it be that you have leftovers from previous installs?

    After being yelled at by catavolt;), I could confirm his findings. What I did was to

    1. Uninstall the plugin with MPE Installer
    2. Delete fanarthandler.db3
    3. Install the fanart.4.0.41.mpe1

    No problems. See log.
     
    • Like Like x 1
    • Thank You! Thank You! x 1
    • Agree Agree x 1
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,620
    Likes Received:
    2,652
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,603 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    In this version, changed the configurator window. Tabs less, but set the same. Only choice is using drop-down lists. See the screenshot in the post.
    https://forum.team-mediaportal.com/...plugin-v3-0-9-000.107478/page-20#post-1110071

    Wrong DNS settings, or dead proxy server:
    Code (Text):
    1. D:\>nslookup 188.138.90.170
    2. Name:    zulu290.server4you.de
    3. Address:  188.138.90.170
    [DOUBLEPOST=1416134601][/DOUBLEPOST]
    Yes, the structure changed in the third version of the plugin has a mechanism to update the database, but in the 1st or 2nd version is no mechanism downgrade the database.
     
    • Like Like x 2
    • Agree Agree x 1
  6. yoavain
    • Premium Supporter

    yoavain Extension Dev

    Joined:
    May 24, 2009
    Messages:
    426
    Likes Received:
    304
    Gender:
    Male
    Occupation:
    Senior Software Engineer
    Ratings:
    +467 / 0
    Home Country:
    Israel Israel
    Show System Specs
    @ajs, I compiled with your changes, and created an installer. However, I did not have time to test it.
    I'll just put it here...
     

    Attached Files:

    • Like Like x 3
    • Thank You! Thank You! x 3
  7. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I tested it 3 times, and also a few days ago. Keeps throwing the .NET socket errors.
    But i haven't touched my DNS settings in years and i don't use a proxy server, so no clue what it is.
    But old version is working fine for me.
     
  8. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,579
    Likes Received:
    1,110
    Gender:
    Male
    Ratings:
    +2,384 / 21
    Home Country:
    Germany Germany
    Show System Specs
    The .Net error is a consequence of the weird IP address. A working old FH version in connection with a new MediaPortal is even more peculiar. Regarding the former, maybe you can investigate with some tools if this is the real IP or if something else is changing it?

    @yoavain , I assume the source code is addressing 'speaking' web addresses, not IP numbers, right? Then HomeY may check his address resolution on his system manually.
     
  9. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,240
    Likes Received:
    6,203
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,202 / 9
    Home Country:
    France France
    Show System Specs
    I just read something on google project that should be done also on decompiled version because based on it (3.1) :

    This version will (if you have version < 3.0.0.0);
    1. Move all your scraped images from "\Skin FanArt\Scraper\music" to "\Skin FanArt\Backup304".
    2. Rename your existing fanarthandler.db3 database to _old and then copy a new database.

    On first run a full fanart scrape will be initiated.

    Changelog;
    * Fixed flickering bug in myVideos (thanks Tgx & cabala)

    It will not fix the scraping for HomeY but can help when migrate version :)
     
    • Thank You! Thank You! x 2
  10. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Oh boy... you guys in for a laugh?!? :p

    I modified my hostfile because htbackdrops was down for a while a long time ago, and redirected it to the backup site.
    Code (Text):
    1. 188.138.90.170       htbackdrops.org
    Never thought about that anymore!!!
    Just removed the line from host file and version .46 seems to scrape fanart fine now. (y)

    Feel really old now...
    Do i really need to start writing down all this #$)(#@)(?? :cautious:

    :ROFLMAO::LOL::notworthy:
     
    • Funny Funny x 4
    • Like Like x 2
    • Agree Agree x 1
  11. HomeY
    • Team MediaPortal

    HomeY Test Group

    Joined:
    February 23, 2008
    Messages:
    6,460
    Likes Received:
    2,627
    Gender:
    Male
    Occupation:
    Network Engineer
    Location:
    ::1
    Ratings:
    +4,737 / 16
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Another test on Radio NowPlaying scraping: Working also again.

    Well done guys! (y)
     
    • Like Like x 3
Loading...
Thread Status:
Not open for further replies.

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!