Fanart Handler Plugin v4.0.X.000 | Page 61

Discussion in 'Fanart Handler' started by ajs, November 26, 2014.

  1. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,588
    Likes Received:
    2,625
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,572 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    I do not have that :(


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ysmp
    • Team MediaPortal

    ysmp Design Group

    Joined:
    May 17, 2008
    Messages:
    1,860
    Likes Received:
    700
    Gender:
    Male
    Location:
    Seoul.
    Ratings:
    +789 / 1
    Home Country:
    South Korea South Korea

    you have ... look in Titan skin , media folder and look for image "overly..." , have many of them, find the one that will good for you , and try it ;)
     
    • Creative Creative x 1
  4. D3ltoroxp
    • Premium Supporter

    D3ltoroxp MP Donator

    Joined:
    June 1, 2008
    Messages:
    3,308
    Likes Received:
    133
    Gender:
    Male
    Ratings:
    +207 / 9
    Home Country:
    Germany Germany
    Show System Specs
    So ajs here the screen with my problem...

    This is the code for the fanart bar in basic home, this xml was loaded in basichome. I know in the past it works.. :)

    common.fanart.scraper.xml (open)
    Code (XML):
    1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    2. <window>
    3. <controls>
    4. <control>
    5. <description>DUMMY CONTROL FOR FANART HANDLER IS SCRAPING VISIBILITY CONDITION</description>
    6. <type>label</type>
    7. <id>91919280</id>
    8. <posX>0</posX>
    9. <posY>0</posY>
    10. <width>1</width>
    11. <visible>no</visible>
    12. </control>
    13. <control>
    14. <type>image</type>
    15. <id>0</id>
    16. <posX>60</posX>
    17. <posY>150</posY>
    18. <width>570</width>
    19. <height>19</height>
    20. <texture>common_osd_progress_bg.png</texture>
    21. <visible>control.isvisible(91919280)</visible>
    22. <animation effect="fade" time="250">WindowOpen</animation>
    23. <animation effect="fade" time="250">WindowClose</animation>
    24. </control>
    25. <control>
    26. <description>Scraping Label</description>
    27. <type>label</type>
    28. <id>0</id>
    29. <posX>60</posX>
    30. <posY>102</posY>
    31. <width>570</width>
    32. <font>font14</font>
    33. <label>#SkinTranslation.Translations.fanart.scraping.Label #fanarthandler.scraper.percent.completed%</label>
    34. <visible>control.isvisible(91919280)</visible>
    35. <animation effect="fade" time="250">WindowOpen</animation>
    36. <animation effect="fade" time="250">WindowClose</animation>
    37. </control>
    38. <control>
    39. <description>Progress Bar</description>
    40. <type>progress</type>
    41. <id>118</id>
    42. <posX>51</posX>
    43. <posY>154</posY>
    44. <width>570</width>
    45. <height>10</height>
    46. <label>#fanarthandler.scraper.percent.completed</label>
    47. <texturebg></texturebg>
    48. <onlymidtexture>no</onlymidtexture>
    49. <midwidth>200</midwidth>
    50. <midheight>15</midheight>
    51. <midoffsetX>0</midoffsetX>
    52. <midoffsetY>0</midoffsetY>
    53. <visible>control.isvisible(91919280)</visible>
    54. <animation effect="fade" time="250">WindowOpen</animation>
    55. <animation effect="fade" time="250">WindowClose</animation>
    56. </control>
    57. </controls>
    58. </window>
    59.  
     

    Attached Files:

    • 20-37-25.png
      20-37-25.png
      File size:
      2.1 MB
      Uploaded:
      November 15, 2015
      Views:
      47
    • Thank You! Thank You! x 1
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,588
    Likes Received:
    2,625
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,572 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    I use
    Code (XML):
    1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    2. <window>
    3.   <controls>
    4.  
    5.     <control>
    6.         <description>DUMMY CONTROL FOR FANART HANDLER IS SCRAPING VISIBILITY CONDITION</description>
    7.         <type>label</type>
    8.         <id>91919280</id>
    9.         <posX>0</posX>
    10.         <posY>0</posY>
    11.         <width>1</width>
    12.         <visible>no</visible>
    13.     </control>      
    14.  
    15.     <control>
    16.         <description>Scraping Header</description>
    17.         <type>label</type>
    18.         <id>0</id>
    19.         <posX>70</posX>
    20.         <posY>96</posY>
    21.         <width>1000</width>
    22.         <textcolor>ffffffff</textcolor>
    23.         <font>TitanLight12</font>
    24.         <label>Fanart #fanartHandler.scraper.task #fanarthandler.scraper.percent.completed#fanarthandler.scraper.percent.sign</label>
    25.         <align>left</align>
    26.         <visible>control.isvisible(91919280)</visible>
    27.         <animation effect="fade" time="250">WindowOpen</animation>
    28.         <animation effect="fade" time="250">WindowClose</animation>
    29.     </control>    
    30.        
    31.   </controls>
    32. </window>
    I do not know how to describe the progress bar, but in music it has a texture, you do not.
    Code (XML):
    1.       <control>
    2.         <id>0</id>
    3.         <description>progress bar</description>
    4.         <type>progress</type>
    5.         <visible>player.hasmedia</visible>
    6.             <posX>447</posX>
    7.             <posY>928</posY>
    8.             <width>751</width>
    9.             <height>15</height>
    10.             <label>#percentage</label>
    11.             <texturebg>-</texturebg>
    12.             <lefttexture>osd_progress_left.png</lefttexture>
    13.             <midtexture>osd_progress_mid.png</midtexture>
    14.             <righttexture>osd_progress_right.png</righttexture>
    15.         <animation effect="fade" time="250">WindowOpen</animation>
    16.         <animation effect="fade" time="250">WindowClose</animation>
    17.       </control>
     
  6. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,193
    Likes Received:
    4,944
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,341 / 38
    Home Country:
    Germany Germany
    Show System Specs
    Works perfect here, but it´s that fast that I´m not able to take a screenshot ;)
     
    • Agree Agree x 1
  7. catavolt
    • Team MediaPortal
    • Administrator

    catavolt Design Group Manager

    Joined:
    August 13, 2007
    Messages:
    12,193
    Likes Received:
    4,944
    Gender:
    Male
    Occupation:
    Technical Documentation, Translation
    Location:
    Lanzarote
    Ratings:
    +7,341 / 38
    Home Country:
    Germany Germany
    Show System Specs
    After 12(!) trials (12 times restarting MP) I got one :D

    10-41-55.jpg
     
    • Thank You! Thank You! x 1
  8. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,513
    Likes Received:
    1,106
    Gender:
    Male
    Ratings:
    +2,374 / 21
    Home Country:
    Germany Germany
    Show System Specs
    Hello @ajs ,

    There is a small issue relating to resuming from standby that remains in your latest version (which is probably a legacy of the original code). If FH is linked to remotely stores shares, there is a problem in the order/timing of the access after resume:

    The system is correctly entering standby at 10:26
    Next log entry is then
    Logging of this error contiues until 12:06:16, then normal operation kicks in:
    I am not sure, but if the DatabaseManager is opening the database after resume, it should probably be closed before entering standby. Other plugins, e.g. TVSeries do close their database before stopping for standby/hibernation. Could this be the source of the errors logged?
     
  9. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,588
    Likes Received:
    2,625
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,572 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Try ...
     

    Attached Files:

    • Like Like x 1
  10. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,513
    Likes Received:
    1,106
    Gender:
    Male
    Ratings:
    +2,374 / 21
    Home Country:
    Germany Germany
    Show System Specs
    This is the result.
    Show Spoiler

    22-Nov-2015 10:09:37 Info [ FanartHandler]: Fanart Handler: is suspending/hibernating...
    22-Nov-2015 10:09:37 Info [ FanartHandler]: Fanart Handler: is suspended/hibernated.
    22-Nov-2015 10:09:37 Debug [ RefreshWorker]: Wait for DB...
    manual resume:
    22-Nov-2015 10:09:58 Info [ FanartHandler]: Fanart Handler: is resuming from standby/hibernate.
    22-Nov-2015 10:09:58 Debug [ DatabaseManager]: initDB: Start: mediaportal
    22-Nov-2015 10:09:58 Info [ DatabaseManager]: Successfully Opened Database: FanartHandler.db3

    "Wait for DB" is new. Note that the server was up while I was doing this, hence there was no need to wait for the shares.I'll run a test with the server down later today to verify that the DatabaseManager errors no longer occur.
     
    Last edited: November 22, 2015
    • Like Like x 1
  11. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,513
    Likes Received:
    1,106
    Gender:
    Male
    Ratings:
    +2,374 / 21
    Home Country:
    Germany Germany
    Show System Specs
    @ajs , will you push a new FanartHandler mpe1 package?
     
    • Agree Agree 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!