| |||||||
| My TVSeries MediaPortal MyTV-Series plugin |
![]() |
| | LinkBack (1) | Thread Tools | Display Modes |
| | #11 (permalink) |
| Portal User Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Type: Parsing - Simple Podcasts Description: How to parse a podcast with the numbering scheme 0001-9999. Marks all Seasons of the podcast as Season 1. Must use String Replacement to insert Season 1 Identifier (Season number identified after -- and before x). Code: Example String Replacement Sample Filenames: diggnation--0142--2008-03-20hamsters--hd.h264.mov diggnation--0143--2008-03-27foxnews--hd.h264.mov diggnation--0144--amsterdamnation2--hd.h264.mov Replace This: diggnation-- With This: diggnation--1x Code: Simple Expression to parse <series>--<season>x<episode>--<title>.<ext> |
| | |
| |
| | #12 (permalink) |
| Portal Member Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
| Type: Parsing - Regex Amazon Unbox Support Description: I just modified a stock regex to account for Amazon using three digits instead of 2 for the episode number. Bad with regular expressions so I don't know how well it will hold up Series - S##E### - Title.Ext Code: ^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-1]?\d)e(?<episode>\d\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?(?<HR>HR\.)?[^\\]*?)\.(?<ext>[^.]*)$
Last edited by campnic; 2008-05-29 at 20:02. |
| | |
| | #13 (permalink) |
| Portal Member Join Date: Mar 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
| Type: Parsing - Regex Description: This Regex will properly parse shows that have 3 digit episode numbers like Late Show with David Letterman so letterman.13104.ep2517.avi will parse out as Season 13 Episode 104 Expression: Code: ^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-3]?\d)\s?ep?(?<episode>\d\d\d)|(?<season>(?:[0-3]\d|(?<!\d)\d\d))x?(?<episode>\d\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$
|
| | |
![]() |
| Bookmarks |
| Tags |
| exchange, expressions or rules |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/my-tvseries-162/expressions-rules-exchange-21977/ | ||||
| Posted By | For | Type | Date | |
| Extensions-Plugins/MP-TVSeries/Configuration - MediaPortal Documentation | This thread | Refback | 2008-07-21 12:54 | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Default expressions/double episodes | Vergo | My TVSeries | 31 | 2008-09-01 09:32 |
| Regular Expressions question | johnslayer | MediaPortal 1 Talk | 2 | 2006-07-02 18:26 |