| |||||||
| My TVSeries MediaPortal MyTV-Series plugin |
![]() |
| | LinkBack (2) | Thread Tools | Display Modes |
| | #13 (permalink) | |
| Portal Designer | Quote:
H:\MP2\xbmc\bin\Release\Subtitles_Present.png;-;<Episode.AvailableSubtitles>;-;=;-;1;-;AND;-;;-;=;-;;-;AND;-;;-;=;-;;-;
__________________ There are only two industries that refer to their customers as "users". - Edward Tufte | |
| | |
| | #15 (permalink) |
| Portal Member Join Date: Jun 2006 Location: Greenville, SC Age: 26
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Since recordings from TV engine might not always know the episode or season id, is it possible to get it to parse correctly only knowing the episode title and series name? So far I get it to parse but if the season id or episode number are blank it refuses to import the episode. I should add an example: Burn Notice - Identity.DVR-ms and Burn Notice - unknownXunknown - Identity.dvr-ms
__________________ -Vaaish Last edited by Vaaish; 2007-07-07 at 20:49. Reason: added examples |
| | |
| | #16 (permalink) | |
| Portal Member | Quote:
| |
| | |
| | #17 (permalink) | ||
| Portal Member Join Date: Jun 2006 Location: Greenville, SC Age: 26
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Quote:
__________________ -Vaaish | ||
| | |
| | #18 (permalink) |
| Portal User Join Date: Jul 2007 Age: 24
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Hi guys, I've been trying to add MP-tvseries but I've been having some trouble getting a regexp to match my file format. I spent about a 2.5hrs with a friend who knows a bit about reg exp getting it to work yesterday. We took one of the existing regexp and modded it to suit my needs. Finally got it working and then when I went to run it, the importer through up an error. Bit of searching on here and I found I was using the (really!) old version, duh! I've installed the new version released yesterday (1.0) and I am running MP v.0.2.3 RC1. The reg exp I had working on the old plugin no longer works, but it does work on regexlib.com's expression tester, so I was wondering if perhaps mp-tvseries handles things differently somehow? Anyway, I like to keep all my files named to the scene standard (with a couple of personal mods). If anything doesn't fit this model I will rename it so it does, it's needed doing for some time now so this might finally make me do it :-) My file name format: <series>.S<season>E<episode>.<title>.<format>.<sou rce>.<specific>.<vidcodec>.<audiocodec>-<releasegroup> where the non-standard captures are; <format> = WS, FS etc <specific> = PROPER, REPACK etc <vidcodec> = XviD, DivX etc <audiocodec> = AC3, AC3 2CH etc <release group> = FoV, MEDiEVAL etc An example would be: Life.On.Mars.S02E06.Episode.06.WS.PDTV.iNTERNAL.Xv iD-SFM.avi The reg exp ( I've separated it out on to multiple lines to make it more readable, obv normally it's all joined up): (?<series>[^\\$]*) ( s| season| )(?<season>[0-9]{1,2}) ( |)(x|e|ep)(?<episode>[0-9\W]+) (( |)(-( |)|))(?<title>[^$]*?) ( (?<format>(WS)))? ( (?<source>(\w*DVD\w*|\w+TV)))? ( (?<specific>(PROPER|REPACK|iNTERNAL)))? ( (?<vidcodec>(XviD|DivX|DivX5)))? ( (?<audiocodec>(AC3|AC3 2CH|MP3)))? (-(?<groupname>\w+))?$ I know mp-tvseries has no need of the other info but I need to have sections to match it so that the title can be identified correctly. At the moment, the series, season and episode all match correctly. However the title is then matched as everything remaining, as if the end groups aren't there. The above example would give me the following in the importer (obv I've got replace '.'s with spaces turned on): Series = Life On Mars Season = 2 Episode = 6 Title = Episode 06 WS PDTV iNTERNAL XviD-SFM Yet on regexlib.com the tester correctly gives me; Series = Life On Mars Season = 2 Episode = 6 Title = Episode 06 Format = WS Source = PDTV Specific = iNTERNAL Vidcodec = XviD Audiocodec = Group = SFM If anyone can see why or just wants to pick holes in my reg exp please help me out! |
| | |
| | #19 (permalink) |
| Portal Member | Could someone please help me put together a regex for the World Series of Poker. The files look like this: World.Series.Of.Poker.2007.E01.HDTV.XviD-FQM.avi At the moment I'm renaming them to something like this: World.Series.Of.Poker - 2007x01 - No Limit.avi which works, but it's a big pain in the *** to have to do that all every time theres a new episode. |
| | |
| | #20 (permalink) | |
| Portal Member | Quote:
My filenames are very very similar to yours (standard release naming convention) without the episodetitle (.Episode.06.). I would have thought it'd work just fine with or without the title in there with the standard regex patterns. Sorry can't help you with a regex, but you could simply try adding an "S" to the front of the 2007 and it should match correctly. Last edited by scythelt; 2007-07-24 at 06:51. Reason: Automerged Doublepost | |
| | |
![]() |
| Bookmarks |
| Tags |
| expressions or rules, requests |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/my-tvseries-162/expressions-rules-requests-21978/ | ||||
| Posted By | For | Type | Date | |
| Den store Mediaportal-tråden 18.07: RC2 sluppet! - Forum - Diskusjon.no | This thread | Refback | 2008-07-27 16:09 | |
| Extensions-Plugins/MP-TVSeries/Configuration - MediaPortal Documentation | This thread | Refback | 2008-07-21 20:18 | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Default expressions/double episodes | Vergo | My TVSeries | 31 | 2008-09-01 09:32 |
| Expressions/Rules exchange | Inker | My TVSeries | 11 | 2008-05-29 04:05 |
| Regular Expressions question | johnslayer | MediaPortal 1 Talk | 2 | 2006-07-02 18:26 |
| 3 requests | Anonymous | Improvement Suggestions | 0 | 2004-05-09 16:08 |