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
DVD/IFO workaround
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="bregga" data-source="post: 632777" data-attributes="member: 66125"><p>I have a lot of DVD-based series I needed to import. The copy&rename of VIDEO_TS.IFO works fine - but takes some time to do manually for complete series etc.</p><p></p><p>I created a semi-automatic script that will create the needed copys. Save the below as a .bat - extension (i.e runme.bat) - put in the VIDEO_TS-folder and run.</p><p></p><p>Note - I'm no wiz to scripts/programming so this could most likely be done in a much simpler way...<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /> Feel free to comment. It does work though <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p></p><p>[CODE]@echo off</p><p>set /p Series= Name of series?</p><p>set /p Season= Season? (Two digits - 01,02, etc)</p><p>set /p First= First episode on DVD? (1, 5, 12, etc)</p><p>set /p Last= Last episode on DVD? (1, 5, 12, etc)</p><p></p><p>echo Creating files for epsiode %First% to %Last% of season %Season% of %Series%</p><p></p><p>set Nine= 9</p><p>set Ten= 10</p><p>set Lowlast= %Last%</p><p>if %Last% gtr %Nine% set Lowlast= 9</p><p></p><p>if %First% LSS %Ten% goto :TEN else goto :MORE</p><p></p><p>:TEN</p><p>for /l %%X in (%First%,1,%Lowlast%) do copy VIDEO_TS.IFO "%Series% S%Season%E0%%X.IFO"</p><p>:MORE</p><p>if %First% LSS 10 set First= 10</p><p>for /l %%X in (%First%,1,%Last%) do copy VIDEO_TS.IFO "%Series% S%Season%E%%X.IFO"[/CODE]</p></blockquote><p></p>
[QUOTE="bregga, post: 632777, member: 66125"] I have a lot of DVD-based series I needed to import. The copy&rename of VIDEO_TS.IFO works fine - but takes some time to do manually for complete series etc. I created a semi-automatic script that will create the needed copys. Save the below as a .bat - extension (i.e runme.bat) - put in the VIDEO_TS-folder and run. Note - I'm no wiz to scripts/programming so this could most likely be done in a much simpler way...:P Feel free to comment. It does work though :D [CODE]@echo off set /p Series= Name of series? set /p Season= Season? (Two digits - 01,02, etc) set /p First= First episode on DVD? (1, 5, 12, etc) set /p Last= Last episode on DVD? (1, 5, 12, etc) echo Creating files for epsiode %First% to %Last% of season %Season% of %Series% set Nine= 9 set Ten= 10 set Lowlast= %Last% if %Last% gtr %Nine% set Lowlast= 9 if %First% LSS %Ten% goto :TEN else goto :MORE :TEN for /l %%X in (%First%,1,%Lowlast%) do copy VIDEO_TS.IFO "%Series% S%Season%E0%%X.IFO" :MORE if %First% LSS 10 set First= 10 for /l %%X in (%First%,1,%Last%) do copy VIDEO_TS.IFO "%Series% S%Season%E%%X.IFO"[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
DVD/IFO workaround
Contact us
RSS
Top
Bottom