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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    Is it possible to make the program to run two cmd files, one with CD-overlay for music and the other with DVD-overlay for movies.

    It is already possible, it is necessary in a batch file to do the analysis on run mode and there is already doing the right thing.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    @sweborn
    all4one.cmd
    Code:
    @ECHO OFF
    IF [%4] == [MTV] %3convert.exe %1 -resize 1778x1778 ^ -gravity center -crop 1000x1000+0+0 +repage ^ %3transparency_mask.png -alpha off -compose copy_opacity -composite %3dvdoverlay.png -compose over -composite ^ %2
    IF [%4] == [MVM] %3convert.exe %1 -resize 1778x1778 ^ -gravity center -crop 1000x1000+0+0 +repage ^ %3transparency_mask.png -alpha off -compose copy_opacity -composite %3dvdoverlay.png -compose over -composite ^ %2
    IF [%4] == [MAM] %3convert.exe %1 -resize 1778x1778 ^ -gravity center -crop 1000x1000+0+0 +repage ^ %3transparency_mask.png -alpha off -compose copy_opacity -composite %3dvdoverlay.png -compose over -composite ^ %2

    In settings, run program: fullpath\all4one.cmd Parameters: "%s" "%t" %pf %rm[DOUBLEPOST=1372918802][/DOUBLEPOST]But I'm not sure of the startup convert.exe. I think there will need to edit the size of pictures.
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Seems to work great ajs! Thanks a lot.

    Kiwi, do you have a nice CDOverlay, just as it is with the DVDOverlay? Your allcdcovers_overlay.png doesnt have such a nice CD inscription as the DVD has.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I fixed the .bat file so it is better

    please tell me what

    MTV = music CD ??
    MVM = ?
    MAM = ?
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    If you tell me what MTV, MVM, MAM are then I can change it for you.
    MTV - Run for Series & Season
    MVM - Run for Movies
    MAM - Run for Music albums

    btw that .bat might not work if %3 contains spaces
    Change %3convert.exe -> "%3convert.exe" etc.[DOUBLEPOST=1372927856][/DOUBLEPOST]
    I can change it for you
    I did not use the opportunity to create a Fake CD in my HTPC. :) I prefer the existing images from fanart.tv. :D
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    please tell me what MTV = music CD ?? MVM = ? MAM = ?
    :D

    mp.png

    But I forgot :( to fix the tooltip, so it there a few others, in the next version will fix.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    @ajs

    Place fakecmd.cmd in same directory as mepotools, along with the image masks
    Run parameters are "%s" "%t" %rm
    Creates fakecd.log in same directory as mepotools

    However I have problem that mepotools only runs fakecmd.cmd for tv-series, it does not try to run the batch file for movies or music. Therefore I can not finish testing.

    I am using mepo tools beta, but maybe there is newer version.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    However I have problem that mepotools only runs fakecmd.cmd for tv-series, it does not try to run the batch file for movies or music. Therefore I can not finish testing.
    Turn on Debug log, Try, Post it.

    For movies and music, it will launch the file only when not find on fanart.tv picture disc.
     

    Users who are viewing this thread

    Top Bottom