MePo Tools - Download ClearArt/CDArt/ClearLogos, Music Video clips and more! (2 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,577
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #11
    Such long names are not many, they can not simply withdraw.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    demo.jpg


    Descrption
    FakeCD is an addon for MePo Tools. It will automatically create fake disc images for any movie/album/series that does not have an online disc image.

    Installation:
    Install to the same folder as MePo Tools
    You can overwrite all the old files, you will not lose any settings

    Parameters:
    "%t" "%s" %rm %ns

    Changelog:
    FakeCD v0.91 (12 Jul 07)
    - Added more logos
    - Fixed logging

    FakeCD v0.9
    - Added some logos
    - Fixed false reporting of missing certification if blank
    - Correctly handles studio and parameters that are missing quotation marks
    - Close to final version

    FakeCD v0.8.1
    - Moved missing codecs.txt & studios.txt to \Missing\ subdirectory

    - Fixed some logging problems with missing studios
    FakeCD v0.8
    - Added exit error code
    - Set local dir at start of batch
    - Added \Files\Missing.codecs.txt
    - Added \Files\Missing.studios.txt
    - Moved extra files into \Files\
    - Added 'pretty' echo statements
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,577
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #15
    Series Ok!
    MyVideo - no result :(

    MePoTools.log
    Code:
      10-07-2013 10:28:03.629 - Fake: Movies mode.
      10-07-2013 10:28:03.630  Fake: Mask - %mi{*}.jpg - 9{*}.jpg
      10-07-2013 10:28:03.630  Random files find: D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\9{*}.jpg
      10-07-2013 10:28:03.630  Fake: Execute D:\Downloads\FakeCD\fakecd.cmd "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\9{0}.jpg" "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt1449283.png" MVM "Winnie the Pooh" "" "" "" "" "" "Walt Disney Animation Studios" "Walt Disney Pictures"
      10-07-2013 10:28:06.203  Fake: Execution completed successfully.
      10-07-2013 10:28:06.203  Fake: Target file not found :(

    FakeCD.log
    Code:
    MOVIES
    COM:	"D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\9{0}.jpg" "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt1449283.png" MVM "Winnie the Pooh" "" "" "" "" "" "Walt Disney Animation Studios" "Walt Disney Pictures"
    INPUT:  "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\9{0}.jpg"
    OUTPUT: "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt1449283.png"

    I have, MePoTools and FakeCD in different folders in the folder. When you run the batch file in the folder MePoTools creates an empty file fakecd.log (only empy lines)
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\9{0}.jpg"

    ^ does that file exist? it doesn't look like movies fanart. I think maybe there is a bug in your part of the code for mepo tools + my videos?[DOUBLEPOST=1373443649][/DOUBLEPOST]
    I have, MePoTools and FakeCD in different folders in the folder. When you run the batch file in the folder MePoTools creates an empty file fakecd.log (only empy lines)

    Are you saying that batch file only works if in the same folder as MePo Tools?
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,577
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #17
    does that file exist?
    Code:
    D:\Downloads\FakeCD>dir "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\9{0}.jpg"
    Том в устройстве D имеет метку Work
    Серийный номер тома: 6AD0-978D
     
    Содержимое папки D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies
     
    15/05/2013  11:17		  202 747 9{0}.jpg
    			  1 файлов		202 747 байт
    			  0 папок  107 962 138 624 байт свободно

    it doesn't look like movies fanart
    Its movie fanart for MyVideo,

    I think maybe there is a bug in your part of the code for mepo tools + my videos?
    No ;)[DOUBLEPOST=1373445785][/DOUBLEPOST]
    Are you saying that batch file only works if in the same folder as MePo Tools?
    No, it works in a different folder, but why is it creates an empty log file in the folder MePo Tools.
     

    Attachments

    • 9{0}.jpg
      9{0}.jpg
      198 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,577
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #18
    I run FakeCD manualy:
    Code:
    D:\Work\Programming\Delphi\MePoTools>D:\Downloads\FakeCD\fakecd.cmd "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\9{0}.jpg" "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt1449283.png" MVM "Winnie the Pooh" "" "" "" "" "" "Walt Disney Animation Studios" "Walt Disney Pictures" > fakecd.manula.log
    Не удается найти D:\Work\Programming\Delphi\MePoTools\text.temp.png
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,577
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #19
    convert.exe witout path:
    Code:
    echo Studio1: [%movie.studio.1%]
    echo Studio2: [%movie.studio.2%]
     
      convert.exe ^
      -background black -fill white -font segoe-ui-bold -gravity center -size 780x58 ^
      label:%movie.title% ^
      -bordercolor black -border 110x0 ^
      "%~dp0text.mask.png" -alpha off -compose copy_opacity -composite ^
      "%~dp0text.temp.png"
     
      convert.exe ^
      %movie.input% -resize 1778x1778 ^
      -gravity center -crop 1000x1000+0+0 +repage ^
      "%~dp0fanart.mask.png" -alpha off -compose copy_opacity -composite ^
      "%~dp0fanart.movie.png" -compose over -composite ^
      -gravity northwest ^
      "%movie.audio.channel%" -geometry +670+650 -composite ^
      "%movie.audio.codec%" -geometry +700+570 -composite ^
      "%movie.video.codec%" -geometry +720+490 -composite ^
      "%movie.resolution%" -geometry +713+410 -composite ^
      "%movie.studio.1%"  -geometry +695+330 -composite ^
      "%movie.studio.2%" -geometry +665+250 -composite ^
      "%movie.certification%" -geometry +30+450 -composite ^
      ( "%movie.source%" -resize 225x123 ) -geometry +388+825 -composite ^
      "%~dp0text.temp.png" -geometry +0+728 -composite ^
      %movie.output%

    I try change convert.exe ^ to "%~dp0convert.exe" ^ but wrong path detected:
    Code:
    MOVIE: Title , Cert "", Res "", Video "", Audio "", Audio ""
    MOVIE TITLE: ["Winnie the Pooh"]
    movie.certification: []
    movie.certification: [D:\Downloads\FakeCD\blank.png]
    movie.resolution: []
    movie.resolution: [D:\Downloads\FakeCD\blank.png]
    movie.source: []
    movie.source: [D:\Downloads\FakeCD\blank.png]
    movie.video.codec: []
    movie.video.codec: [D:\Downloads\FakeCD\blank.png]
    movie.audio.codec: []
    movie.audio.codec: [D:\Downloads\FakeCD\blank.png]
    movie.audio.channel: []
    movie.audio.channel: [D:\Downloads\FakeCD\blank.png]
    Studio1: [Walt Disney Animation Studios]
    Studio2: [Walt Disney Pictures]
    Studio3: [~1,-1]
    Studio1: [D:\Work\Programming\Delphi\MePoTools\blank.png]
    Studio2: [D:\Work\Programming\Delphi\MePoTools\blank.png]
    ""D:\Work\Programming\Delphi\MePoTools\convert.exe"" не является внутренней или внешней командой, исполняемой программой или пакетным файлом.
    ""D:\Work\Programming\Delphi\MePoTools\convert.exe"" не является внутренней или внешней командой, исполняемой программой или пакетным файлом.
    Не удается найти D:\Work\Programming\Delphi\MePoTools\text.temp.png

    Translate:
    ""D:\Work\Programming\Delphi\MePoTools\convert.exe"" is not an internal or external command, operable program or batch file.

    MePoTools folder: D:\Work\Programming\Delphi\MePoTools\
    FakeCD folder: D:\Downloads\FakeCD\[DOUBLEPOST=1373448839][/DOUBLEPOST]I would have done at the beginning of the batch file is here:

    Code:
    SET FAKECDHOME=%~dp0

    And replace all %~dp0 to %FAKECDHOME%
     

    Users who are viewing this thread

    Top Bottom