1.4.x Themes: BasicHome, Clear Art's support for Titan, Weather icon on screen, bugfixes and more. (2 Viewers)

The_Stig

Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    I don't need it strongly. Gotta find someone before who changes the DVD inscription...who's the developer of that fanart2DVD?
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I can try to add support http://www.allcdcovers.com/, they have the API. But it must be like to change the batch file to get a decent result.

    use this 4x random examples included. the main problem with old method is when you have off center dvd discs like #4. If you animate #4 it will look wobbly, but with more cutting it should be less wobbly.

    Old Result
    oldresult01.pngoldresult02.png oldresult03.png oldresult04.png

    New Result
    result01.pngresult02.png result03.png result04.png

    I adjusted for off center movie discs on allcdcovers with slightly larger hole and more opaque rim. I made the mask slightly larger and of course removed the DVD logo from overlay.[DOUBLEPOST=1372854389][/DOUBLEPOST]
    I don't need it strongly. Gotta find someone before who changes the DVD inscription...who's the developer of that fanart2DVD?
    that would be me, not really a developer I just wrote the script and made the mask images.
     

    Attachments

    • allcdcovers.rar
      3.9 MB
    Last edited:

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    that would be me, not really a developer I just wrote the script and made the mask images.
    And its a nice one. Any chance to build a version for CD's too? That could then be implemented into ajs's MePoTools...could be nice ;-)
     

    shorty1483

    MP Donator
  • Premium Supporter
  • June 12, 2011
    188
    61
    Home Country
    Germany Germany
    I can try to add support http://www.allcdcovers.com/, they have the API. But it must be like to change the batch file to get a decent result.


    use this 4x random examples included.

    I adjusted for off center movie discs on allcdcovers with slightly larger hole and more opaque rim. I made the mask slightly larger and of course removed the DVD logo from overlay.[DOUBLEPOST=1372854389][/DOUBLEPOST]
    I don't need it strongly. Gotta find someone before who changes the DVD inscription...who's the developer of that fanart2DVD?
    that would be me, not really a developer I just wrote the script and made the mask images.

    I talked with sweborn about the naming convention of Series Seasons and checked DB values. It seems that #(string.trim(#TVSeries.Season.ID)) is just doable with e.g. 16443_s1.jpg. Is it possible via your cmd batch to call another batch whitch renames the Series Season CDArt created by MePoTools from 16443s1.jpg to 16443_s1.jpg?

    I began some tries yesterday with ren and/or bulk rename command but hadn't any success to call a new batch from inside your cmd file.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    And its a nice one. Any chance to build a version for CD's too? That could then be implemented into ajs's MePoTools...could be nice ;-)
    can already use for CDs could either make an image from full size fanart using fanart2dvd.cmd (delete the dvd logo from the overlay) or could just use album cover or artist image with allcdcovers.cmd[DOUBLEPOST=1372855329][/DOUBLEPOST]
    I talked with sweborn about the naming convention of Series Seasons and checked DB values. It seems that #(string.trim(#TVSeries.Season.ID)) is just doable with e.g. 16443_s1.jpg. Is it possible via your cmd batch to call another batch whitch renames the Series Season CDArt created by MePoTools from 16443s1.jpg to 16443_s1.jpg?

    I began some tries yesterday with ren and/or bulk rename command but hadn't any success to call a new batch from inside your cmd file.


    you probably shouldn't be using my .bat files at all, you should just grab the command out of the .bat file and call convert.exe directly from within your program.

    eg. for fanart2dvd.cmd it is

    convert.exe "<inputfilename>" -resize 1778x1778 ^ -gravity center -crop 1000x1000+0+0 +repage ^ "transparency_mask.png" -alpha off -compose copy_opacity -composite "dvdoverlay.png" -compose over -composite ^ "<outputfilename>"

    if it doesn't work then you probably have to give full location for all the .png's
    eg. "c:\program files (x86)\mepotools\dvdoverlay.png"
     
    Last edited:

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    can already use for CDs could either make an image from full size fanart using fanart2dvd.cmd (delete the dvd logo from the overlay) or could just use album cover or artist image with allcdcovers.cmd
    Not really understanding what you're saying since I am not that smart :)

    Lets see my usercase: I have a skin with spinning CD. And there are quite a few Music Albums without CDArt. So it shows me blank spinning CD. How do I get it automated, that I get for all these missing CDArts a fake CDFanart gets created? Is there a way to do this automatically?
     
    Last edited by a moderator:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    2 possibilities for music cdart for albums with no downloadable discart

    1. within the skin.
    create a control that shows the artist or album or fanart image with a mask and have conditional visibility that the other control with the cdart is not visible.

    2. within mepotools or dvdart plugin
    auto create fake cd images from existing images for any albums that don't have downloadable discart.
     
    Last edited:

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    auto create fake cd images from existing images for any albums that don't have downloadable discart.
    Sounds good! Is my understanding correct that this has to be implemented first by ajs? So if yes, please: I totally need it ;)
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Yes its up to AJS I don't know how to do any programming. I was only helping with image manipulation to turn images (fanart/movie poster) into discart.png, and discart.jpg (no transparency) into discart.png (with transparency). Beyond that I can only help with concepts not actual code.[DOUBLEPOST=1372856520][/DOUBLEPOST]
    I talked with sweborn about the naming convention of Series Seasons and checked DB values. It seems that #(string.trim(#TVSeries.Season.ID)) is just doable with e.g. 16443_s1.jpg. Is it possible via your cmd batch to call another batch whitch renames the Series Season CDArt created by MePoTools from 16443s1.jpg to 16443_s1.jpg?

    I began some tries yesterday with ren and/or bulk rename command but hadn't any success to call a new batch from inside your cmd file.

    You need to develop a standard naming convention for files this involves a discussion between AJS (mepotools), Mercury (DVDArt Plugin) & skin designers.

    to rename at dos promt it would be
    ren *s1.jpg *_s1.jpg
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    I talked with sweborn about the naming convention of Series Seasons and checked DB values. It seems that #(string.trim(#TVSeries.Season.ID)) is just doable with e.g. 16443_s1.jpg. Is it possible via your cmd batch to call another batch whitch renames the Series Season CDArt created by MePoTools from 16443s1.jpg to 16443_s1.jpg?
    If a series plug-in does not support such a name, I will correct the name for the seasons. The name will be 16443_s1.jpg.

    I adjusted for off center movie discs on allcdcovers with slightly larger hole and more opaque rim. I made the mask slightly larger and of course removed the DVD logo from overlay.
    On allcdcovers I did not like APIs. I look forward to when the score freecovers.net. Moreover, all images are present on allcdcovers there and freecovers.net.

    create fake cd images from existing images for any albums that don't have downloadable discart.
    I can add support for fake cd of the current image. But because we have a single command file, then I think it needs to be redone. And run with parameter for movies, TV series, albums. But I do not remember where are stored the cover images for albums.

    As soon launch freecovers.net, I'll look better and what resource will add specific support for freecovers.net or allcdcovers.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom