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

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I fixed it :)[DOUBLEPOST=1373470691][/DOUBLEPOST]
    Code:
    IF NOT EXIST "%FCDHOME%Files\Logos.Right\studio\%movie.studio.1%.png" IF NOT "%movie.studio.1%"=="" IF NOT "%movie.studio.1%"=="~1,-1" echo %movie.studio.1% >> "%FCDHOME%Missing\studios.txt"
    [DOUBLEPOST=1373471076][/DOUBLEPOST]
    PS: The new version MePoTools in the first post.
    What are the changes?
     

    Attachments

    • fakecd.cmd.txt
      10.9 KB
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I still have one bug left in fakecd.

    sometimes the batch file thinks "R18" or "PG-13" etc = video codec
    It comes it in missing.txt
    Video Codec = "PG-13"
    I think there may be a strange character in filename or movie title that confuses fakecd.cmd
    I have to add some extra error logging to find out how/where/when the problem happens
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #47
    I think there may be a strange character in filename or movie title that confuses fakecd.cmd I have to add some extra error logging to find out how/where/when the problem happens
    I can clean up unnecessary characters. I change case to upper or lower, all but name, but I need to know what characters to clean up.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Don't do that yet. just wait. fakecd seems to be ok with most of the funny characters. I'll delete all my CDs then re-run with a higher log level so I can find out which movies have the problems, then I can work out what the exact problem is. I have 1000 movies in moving pictures, so I can't see it from browsing the log file.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #49
    If FakeCD will be located in a folder with spaces (c:\program files\fakecd\) that will be a problem? Or will it work?[DOUBLEPOST=1373527835][/DOUBLEPOST]
    I have 1000 movies in moving pictures, so I can't see it from browsing the log file.
    Launched on its own, there is another problem, the studio consisting of a single word, not placed in quotation marks, and get the following problem:
    Code:
    COM:	"D:\Downloads\FakeCD\fakecd.cmd" "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\13{0}.jpg" "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt1595366.png" MVM "О чём говорят мужчины" "" "" "" "" "" "Кинокомпания <Квадрат>" Стрела
    INPUT:  "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\13{0}.jpg"
    OUTPUT: "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt1595366.png"
     
     
    COM:	"D:\Downloads\FakeCD\fakecd.cmd" "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\8{0}.jpg" "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt1826660.png" MVM "ДухLess" "" "" "" "" "" "Арт Пикчерс Студия" "Фонд кино" Кинослово "Министерство культуры Российской Федерации"
    INPUT:  "D:\Work\Programming\Delphi\MePoTools\thumbs\Skin FanArt\Scraper\Movies\8{0}.jpg"
    OUTPUT: "D:\Work\Programming\Delphi\MePoTools\thumbs\CDArt\Movies\tt1826660.png"
    studios.txt
    Code:
    трел
    инослов

    codecs.txt
    Code:
    Certification: ""
    Resolution: ""
    Video Codec: ""
    Audio Codec: ""
    Audio Channel: ""
    Certification: ""
    Resolution: ""
    Video Codec: ""
    Audio Codec: ""
    Audio Channel: ""
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    spaces are ok everytime I use %FCDHOME% I am using " " so spaces are ok :)
    I already have spaces inside my install directory
    "C:\Users\MR HOMEPC\Desktop\MePoTools-Beta\fakecd v08\fakecd.cmd"

    brackets might break the program... if \program files (x86)\ then %FCDHOME% will have brackets
    This might cause problem if I am inside an IF statement
    eg.

    IF BLAH=BLAH (
    %FCDHOME
    ) ELSE (
    )

    however it might be ok because it opens and closes bracket, only way to find out is to try...
     
    Last edited:

    Users who are viewing this thread

    Top Bottom