home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 1044390" data-attributes="member: 18896"><p>@[USER=140197]Big_Chubbz[/USER], The only way to solve this would be via a post-processing script used by your download solution.</p><p> </p><p>The 'Terra Nova' show had simelair issue, and I had to use the following:</p><p> </p><p>[code]</p><p>:: Fix Terra Episode Numbering</p><p>::</p><p>IF NOT EXIST "Terra*.avi" GOTO SkipTerra</p><p>:: Find file</p><p>::</p><p>FOR /F "usebackq" %%F IN ('"Terra*.avi"') DO (</p><p>SET Terra=%%~nxF</p><p>)</p><p>:: Process file</p><p>::</p><p>FOR /F "usebackq tokens=1,2* delims=." %%F IN ('"%Terra%"') DO (</p><p>SET Series=%%F</p><p>SET Episode=%%G</p><p>SET Extension=%%H</p><p>)</p><p>:: Lower episode numbering by 1</p><p>::</p><p>IF "%Episode:~0,1%"=="0" (</p><p>SET /A FixEp=0x%Episode%-1</p><p>) ELSE (</p><p>SET /A FixEp=%Episode%-1</p><p>)</p><p>:: Force double digits</p><p>::</p><p>IF /I %FixEp% LSS 10 (</p><p>SET FixEp=0%FixEp%</p><p>echo Digits corrected!</p><p>)</p><p>echo Fixing Terra Nova Episode Numbering</p><p>echo.</p><p>ren "Terra*.avi" %Series%.%FixEp%.%Extension%</p><p>:SkipTerra</p><p>[/code]</p><p> </p><p>Reverse engineer away. (Tip: you add +2007 to year, and +21 to episode)</p><p> </p><p>PS: Another solution is to otherwise add string replacement entries for all the episodes due to air. There is no replace-with-math possible inside MP-TVSeries, so you can replace "S06E" with "S2013E", but each episode you would have to do manually anyway and include year anyway to prevent false positve, so might as well skip the year conversion then and make it part of the episode entry.</p></blockquote><p></p>
[QUOTE="RoChess, post: 1044390, member: 18896"] @[USER=140197]Big_Chubbz[/USER], The only way to solve this would be via a post-processing script used by your download solution. The 'Terra Nova' show had simelair issue, and I had to use the following: [code] :: Fix Terra Episode Numbering :: IF NOT EXIST "Terra*.avi" GOTO SkipTerra :: Find file :: FOR /F "usebackq" %%F IN ('"Terra*.avi"') DO ( SET Terra=%%~nxF ) :: Process file :: FOR /F "usebackq tokens=1,2* delims=." %%F IN ('"%Terra%"') DO ( SET Series=%%F SET Episode=%%G SET Extension=%%H ) :: Lower episode numbering by 1 :: IF "%Episode:~0,1%"=="0" ( SET /A FixEp=0x%Episode%-1 ) ELSE ( SET /A FixEp=%Episode%-1 ) :: Force double digits :: IF /I %FixEp% LSS 10 ( SET FixEp=0%FixEp% echo Digits corrected! ) echo Fixing Terra Nova Episode Numbering echo. ren "Terra*.avi" %Series%.%FixEp%.%Extension% :SkipTerra [/code] Reverse engineer away. (Tip: you add +2007 to year, and +21 to episode) PS: Another solution is to otherwise add string replacement entries for all the episodes due to air. There is no replace-with-math possible inside MP-TVSeries, so you can replace "S06E" with "S2013E", but each episode you would have to do manually anyway and include year anyway to prevent false positve, so might as well skip the year conversion then and make it part of the episode entry. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom