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="Neoculture" data-source="post: 1285188" data-attributes="member: 116834"><p>I have looked but I can't seem to find a solution anywhere.</p><p></p><p>I have been collecting TV files for a long time and have got them split across 3 fileservers. My import paths are:</p><p> \\NAS-001\Animation</p><p> \\NAS-002\Japanese</p><p> \\NAS-003\TV_Series</p><p></p><p>All fileservers follow the same naming pattern:</p><p> directory/series_name/season/filename</p><p></p><p>"directory" is a way of breaking down the listing into something manageable, e.g.:</p><p> 0-9</p><p> A</p><p> B</p><p> etc...</p><p></p><p>"series name" is the name of the series as close to the TVDB's version as I can, e.g.:</p><p> Mythbusters</p><p> Star Blazers</p><p> etc...</p><p></p><p>"season" is the season and can be either:</p><p> 0</p><p> Season <number></p><p> Season <year></p><p>where "0" denotes the specials, and the other are because sometimes a series has season numbers and sometimes (like Mythbusters) has season years.</p><p></p><p>"filename" is:</p><p> <episode#> - <title>.ext</p><p> <episode#>-<episode#> - title.ext</p><p>the second one being for two-parters.</p><p></p><p>So, for example, one of the "filenames" that MPT-TV Series finds when doing the import is</p><p> S\Star Blazers\Season 01\04 - Test Warp to Mars.avi</p><p>which should hopefully become:</p><p> SERIES: Star Blazers</p><p> SEASON: 01</p><p> EPISODE: 04</p><p> NAME: Test Warp to Mars</p><p> EXTENSION: avi</p><p></p><p>Similarly:</p><p> M\Magnum,P.I.\Season 01\01-02 - Don't Eat the Snow in Hawaii.avi</p><p>should become:</p><p> SERIES: Magnum, P.I.</p><p> SEASON: 01</p><p> EPISODE: 01</p><p> EPISODE2: 02</p><p> NAME: Don't Eat the Snow in Hawaii</p><p> EXTENSION: avi</p><p></p><p>And:</p><p> M\Mythbusters\Season 2003\04 - Exploding Toilet.avi</p><p>should become:</p><p> SERIES: Mythbusters</p><p> SEASON: 2003</p><p> EPISODE: 04</p><p> NAME: Exploding Toilets</p><p> EXTENSION: avi</p><p></p><p>While:</p><p> B\Babylon 5\0\03 - Thirdspace.avi</p><p>should become:</p><p> SERIES: Babylon 5</p><p> SEASON: 0</p><p> EPISODE: 03</p><p> NAME: Thirdspace</p><p> EXTENSION: avi</p><p></p><p>I tried using the regexp:</p><p> ^.*?\\<series>\\Season (?<season>[0-9]{1,2})\\(?<episode>[0-9]{1,2})(?:-(?<episode2>[0-9]{1,2})) - <title>.<ext>$</p><p>but that didn't seem to don anything.</p><p></p><p>Can anyone tell me where I am going wrong. (and no, renaming files is not an option - I currently have over 21,000 of them)</p><p>Thanks.</p></blockquote><p></p>
[QUOTE="Neoculture, post: 1285188, member: 116834"] I have looked but I can't seem to find a solution anywhere. I have been collecting TV files for a long time and have got them split across 3 fileservers. My import paths are: \\NAS-001\Animation \\NAS-002\Japanese \\NAS-003\TV_Series All fileservers follow the same naming pattern: directory/series_name/season/filename "directory" is a way of breaking down the listing into something manageable, e.g.: 0-9 A B etc... "series name" is the name of the series as close to the TVDB's version as I can, e.g.: Mythbusters Star Blazers etc... "season" is the season and can be either: 0 Season <number> Season <year> where "0" denotes the specials, and the other are because sometimes a series has season numbers and sometimes (like Mythbusters) has season years. "filename" is: <episode#> - <title>.ext <episode#>-<episode#> - title.ext the second one being for two-parters. So, for example, one of the "filenames" that MPT-TV Series finds when doing the import is S\Star Blazers\Season 01\04 - Test Warp to Mars.avi which should hopefully become: SERIES: Star Blazers SEASON: 01 EPISODE: 04 NAME: Test Warp to Mars EXTENSION: avi Similarly: M\Magnum,P.I.\Season 01\01-02 - Don't Eat the Snow in Hawaii.avi should become: SERIES: Magnum, P.I. SEASON: 01 EPISODE: 01 EPISODE2: 02 NAME: Don't Eat the Snow in Hawaii EXTENSION: avi And: M\Mythbusters\Season 2003\04 - Exploding Toilet.avi should become: SERIES: Mythbusters SEASON: 2003 EPISODE: 04 NAME: Exploding Toilets EXTENSION: avi While: B\Babylon 5\0\03 - Thirdspace.avi should become: SERIES: Babylon 5 SEASON: 0 EPISODE: 03 NAME: Thirdspace EXTENSION: avi I tried using the regexp: ^.*?\\<series>\\Season (?<season>[0-9]{1,2})\\(?<episode>[0-9]{1,2})(?:-(?<episode2>[0-9]{1,2})) - <title>.<ext>$ but that didn't seem to don anything. Can anyone tell me where I am going wrong. (and no, renaming files is not an option - I currently have over 21,000 of them) Thanks. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom