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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    EDIT: Added " " around %ns - KiwiJ
    But why? There's also a single value with no spaces. A check on broadly, the presence of the parameter number 4 you can:
    IF [%4] == [] ECHO Empty[DOUBLEPOST=1373353574][/DOUBLEPOST]
    But that is up to AJS...
    I do not quite understand what is required of me? And whether you want something from me :D
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    2. TV Series - Special Episodes Disc
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SPECIAL EPISODES"

    3. TV Series - Season Disc
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON ONE"
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON TWO"
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON THREE"
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON 1960"
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON 1961"
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON 1962"


    But why? There's also a single value with no spaces. A check on broadly, the presence of the parameter number 4 you can: IF [%4] == [] ECHO Empty

    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON ONE"
    %4 = "SEASON ONE"

    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV SEASON ONE
    %4 = SEASON
    %5 = ONE
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON ONE"
    One problem MePoTools does not know how to give "season one", only 1 :D [DOUBLEPOST=1373355076][/DOUBLEPOST]But it's easy to fix in a batch file
     

    Attachments

    • all4one.zip
      244 bytes

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    But that is up to AJS...
    I do not quite understand what is required of me? And whether you want something from me :D


    If you think we should add more information to Movies Disc then I need
    "%s" "%t" %rm "%ns" "%movie_certification" "%SD.vs.HD" "%movie_video.codec" "%movie_audio.codec" "%movie_audio.channels"

    ex01.png ex02.png[DOUBLEPOST=1373355381][/DOUBLEPOST]
    FAKECD.CMD "INPUT_FILE.JPG" "OUTPUT_FILE.PNG" MTV "SEASON ONE"
    One problem MePoTools does not know how to give "season one", only 1 :D [DOUBLEPOST=1373355076][/DOUBLEPOST]But it's easy to fix in a batch file

    ok i will do it that way...
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Version 4 of Fake CD

    Works with latest MePoTools beta:
    mepotools-beta-zip.132507 (from here)

    New Features:
    Correct handling of different tvseries season + special episodes
    If you enter location for music fanart + music albums, it preferentially uses music fanart if available.

    Installation:
    Use latest version of MePo Tools (above)
    unzip fakecd.rar to any folder that doesn't have any brackets "(", ")", in the file name.
    eg. c:\fakecd\

    Settings:

    Parameters: "%s" "%t" %rm %ns
    Note there are only quotation marks on first 2 parameters

    instructions.png


    I'm not sure what the movies mask is for my videos - fanart if you are using that. The screenshot shows me pointing at moving pictures fanart with a mask that matches the moving pictures fanart.
     

    Attachments

    • fakecd v04.1.rar
      5.4 MB
    Last edited:

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Great work guys. Just one question: Could some of you guys give a detailed description what to setup where and which .cmd to use? I am a bit lost to be honest.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    If you think we should add more information to Movies Disc then I need "%s" "%t" %rm "%ns" "%movie_certification" "%SD.vs.HD" "%movie_video.codec" "%movie_audio.codec" "%movie_audio.channels"
    For MyVideo:
    Code:
    SELECT imdbid, strTitle, m.idMovie, m.mpaa, a.[videoResolution], a.[videoCodec], a.[audioCodec], a.[audioChannels] from movieinfo m LEFT JOIN (SELECT f.[idMovie], i.[videoResolution], i.[videoCodec], i.[audioCodec], i.[audioChannels] FROM files f, filesmediainfo i WHERE f.[idFile] = i.[idFile]) a ON m.[idMovie]=a.[idMovie]
    Result:
    Code:
    IMDBID	strTitle	idMovie	mpaa	videoResolution	videoCodec	audioCodec	audioChannels
    tt0443272	Lincoln	1	PG-13	1080I	MPEG VIDEO VERSION 2 MAIN@HIGH	PCM	stereo
    tt2261719	Джунгли	4	6	SD	DX50	PCM	stereo
    tt1782568	Ёлки	5	12			   
    tt2124096	Ёлки 2	6	12			   
    tt2593290	Дублёр	7	16			   
    tt0186566	Space Cowboys	3	PG-13			   
    tt1449283	Winnie the Pooh	9	G			   
    tt1649419	Lo imposible	10	PG-13			   
    tt0084787	The Thing	11	R			   
    tt0905372	The Thing	12	R			   
    tt1595366	О чём говорят мужчины	13	16			   
    tt1863347	О чём ещё говорят мужчины	14	16			   
    unknown	Верёвка из песка	17	12	1080I	MPEG VIDEO VERSION 2 MAIN@HIGH	PCM	stereo
    tt1826660	ДухLess	8	18			   
    tt1343727	Dredd	15	R			   
    tt0903624	The Hobbit: An Unexpected Journey	16	PG-13			   
    tt1597522	Astérix et Obélix: Au service de Sa Majesté	19	12			   
    tt0119116	The Fifth Element	21	PG-13			   
    tt0213149	Pearl Harbor	22	PG-13			   
    tt1245526	Red	23	PG-13	1080I	MPEG VIDEO VERSION 2 MAIN@HIGH	PCM	stereo

    For MovingPictures:
    Code:
    SELECT distinct imdb_id, title, id, certification, a.[videoresolution], a.[videocodec], a.[audiocodec], a.[audiochannels] FROM movie_info m LEFT JOIN
    (SELECT f.[movie_info_id], i.[videoresolution], i.[videocodec], i.[audiocodec], i.[audiochannels] FROM local_media__movie_info f, local_media i WHERE f.[local_media_id] = i.[id]) a ON m.[id]=a.[movie_info_id]
    Result:
    Code:
    imdb_id	title	id	certification	videoresolution	videocodec	audiocodec	audiochannels
    tt1782568	Ёлки	1	12	SD			  0
    tt1863347	О чём ещё говорят мужчины	2	16	SD			  0
    tt0905372	The Thing	3	R	SD			  0
    tt1595366	О чём говорят мужчины	4	16	SD			  0
    	Японка	6		1080i	MP2V	PCM	stereo
    tt0084787	The Thing	7	R	SD			  0
    tt1343727	Dredd	8	R	SD			  0
    tt0903624	The Hobbit: An Unexpected Journey	9	PG-13	SD			  0
    tt1597522	Astérix et Obélix: Au service de Sa Majesté	10	12	SD			  0
    tt1649419	Lo imposible	13	PG-13	SD			  0
    tt0186566	Space Cowboys	14	PG-13	SD			  0
    tt0443272	Lincoln	15	PG-13	1080i	MP2V	PCM	stereo
    tt1826660	ДухLess	16	18	SD			  0
    tt2261719	Джунгли	17	6	SD			  0
    tt1449283	Winnie the Pooh	18	G	SD			  0
    tt2593290	Дублёр	19	16	SD			  0
    tt2124096	Ёлки 2	20	12	SD			  0

    This is something that I can give, if I want, I'll do it.

    Then convert from a string to a number, that is, on the contrary we have of the numbers in a word.
    http://delphi.about.com/od/objectpascalide/a/curr2words.htm
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I would need quotes around every variable.

    fakecmd.cmd "%s" "%t" %rm %ns "%movie_certification" "%movie.resolution" "%movie_video.codec" "%movie_audio.codec" "%movie_audio.channels"

    My Videos:

    IMDBID strTitle idMovie mpaa videoResolution videoCodec audioCodec audioChannels
    tt0443272 Lincoln 1 "PG-13" "1080I" "MPEG VIDEO VERSION 2 MAIN@HIGH" "PCM" "stereo"
    tt2261719 Джунгли 4 "6" "SD" "DX50" "PCM" "stereo"
    tt1782568 Ёлки 5 "12" "" "" "" ""

    Moving Pictures:

    imdb_id title id certification videoresolution videocodec audiocodec audiochannels
    tt1782568 Ёлки 1 "12" "SD" "" "" "0"
    tt1863347 О чём ещё говорят мужчины 2 "16" "SD" "" "" "0"
    tt0905372 The Thing 3 "R" "SD" "" "" "0"
    tt0443272 Lincoln 15 "PG-13" "1080i" "MP2V" "PCM" "stereo"

    Also can you find out the studio code, I have 283 studio images i can use (only 2mb total for 283 images)
    eg. 20th Century Fox Home Entertainment / 20th Century Fox Studios / 20th Century Fox Television / 20th Century Fox / ABC Australia / ABC Family / etc...
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    Quotes are not difficult to add, as far as these data are needed? And how to pass them? Maybe it is better by a single parameter? Or each separately? Well, you can substitute the parameter %ns to another, or to change its meaning. And he will Returns an issue for serials season 0,1,2,3, and for the movies set "PG-13" "1080I" "MPEG VIDEO VERSION 2 MAIN@HIGH" "PCM" "stereo" ?
     

    Users who are viewing this thread

    Top Bottom