Extra REGEX for TV Show Episode matching

  Thread Rating:
  • 16 Votes - 4.13 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
xexe Offline
Fan
Posts: 715
Joined: Sep 2008
Reputation: 1
Post: #16
Version 1.1

See file for some more details of whats changed. In essence this is a cleanup release.

In the interim I am now using pastebin for uploading this config file as it allows for a permanent home and direct download of the file (which is easier for new users). Eventually I may have a direct download permanent home, who knows


See it here: http://pastebin.com/f62eee83b


I am also looking for feedback about how this is working for you.


Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
find quote
xexe Offline
Fan
Posts: 715
Joined: Sep 2008
Reputation: 1
Post: #17
Version 1.2

See file for some more details of whats changed. Small change to follow new config options.

See it here: http://pastebin.com/f6edebc7a


Remember I am also looking for feedback. Without it I cannot know if this is working for you or if anyone is using it. Eventually i will lose interest otherwise Smile


Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
find quote
biggles Offline
Member
Posts: 87
Joined: Apr 2009
Reputation: 0
Location: Göteborg, SWEDEN
Post: #18
xexe Wrote:Version 1.1

See file for some more details of whats changed. In essence this is a cleanup release.

In the interim I am now using pastebin for uploading this config file as it allows for a permanent home and direct download of the file (which is easier for new users). Eventually I may have a direct download permanent home, who knows


See it here: http://pastebin.com/f62eee83b


I am also looking for feedback about how this is working for you.

I recently started using this version (didn't include all you personal preferences, but all the regex). Works like a charm. Maybe some of these should be pushed into the main branch further down the road...

Thanks a lot for writing it up!
find quote
xexe Offline
Fan
Posts: 715
Joined: Sep 2008
Reputation: 1
Post: #19
No problems.

Unfortunately these will likely never be included since they have the potential of false positives which XBMC cant include.

Glas to see it works for you and thanks for the feedback


Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #20
xexe: is it possible to use regex to identify something like this:
/showname-(episode title)-YYYY-MM-DD-X.mpg

The YYYY-MM-DD = recording date, the X is to identify parts of the same recording. This is the default for BeyondTV.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find quote
Hjord Offline
Senior Member
Posts: 212
Joined: Nov 2009
Reputation: 0
Post: #21
Hello
I'm new here and new to use XBMC.
Maybe i did'nt instal it right, cause it did'nt get anything to my library.
My struckture is like this

Series/L/Lost/Season 1/ Episode (1).mkv
Series/L/Langt Fra Las Vegas/ Disk 1.iso

Maybe i'm just not doing it right Confused
find quote
xexe Offline
Fan
Posts: 715
Joined: Sep 2008
Reputation: 1
Post: #22
outleradam Wrote:xexe: is it possible to use regex to identify something like this:
/showname-(episode title)-YYYY-MM-DD-X.mpg

The YYYY-MM-DD = recording date, the X is to identify parts of the same recording. This is the default for BeyondTV.

I am not sure how stacking works in relation to date regex extraction since i dont use date in any of my collection. Will need to ponder this.

Hjord Wrote:Hello
I'm new here and new to use XBMC.
Maybe i did'nt instal it right, cause it did'nt get anything to my library.
My struckture is like this

Series/L/Lost/Season 1/ Episode (1).mkv
Series/L/Langt Fra Las Vegas/ Disk 1.iso

Maybe i'm just not doing it right Confused

Please supply some more examples as the ones you suply only hint at your naming scheme


Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
find quote
Hjord Offline
Senior Member
Posts: 212
Joined: Nov 2009
Reputation: 0
Post: #23
I only have those two.

Just like
Series/P/Prison Break/Season 3/Episode (10).avi
Series/H/Heroes/Season 1/Episode (3).mkv
(This post was last modified: 2009-11-23 18:58 by Hjord.)
find quote
xexe Offline
Fan
Posts: 715
Joined: Sep 2008
Reputation: 1
Post: #24
Hjord Wrote:I only have those two.

Just like
Series/P/Prison Break/Season 3/Episode (10).avi
Series/H/Heroes/Season 1/Episode (3).mkv

Use this regex

[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\].*? \((\d{1,2})\)(?!.*])

But I will not add it to this set since its almost the worst naming format I have ever seen and very unliekly to help anyone bar you.

Good luck


Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
find quote
jpf55 Offline
Fan
Posts: 394
Joined: Dec 2008
Reputation: 3
Post: #25
this should help:
http://wiki.xbmc.org/?title=TV_Shows_(Vi...onventions

[Image: sigpic_40821_de64ff3d5cbbcb955be34459103dba35.png]
iMac 27" 2.93gHz i7, OS X 10.10.1
SymLinked to
MacMini 2.3gHz i7, OS X 10.10.1
Running Gotham 13.2 and Transparency! 6.0.7 on both computers
find quote
outleradam Offline
Donor
Posts: 1,722
Joined: Sep 2009
Reputation: 20
Location: Louisiana
Post: #26
Just a note, the date is not original air date, it is recording date. BTV is a DVR back/front end for windows. It uses the same guide data as mythtv. It keeps a database with original air date and all other data which myth pulls from zap2it. Maybe this should be in another thread, I'm burning this issue at 4 ends here. Open source renaming app BTVRename using tvrage which I am admin on sourceforge, on the btv forums, btv APIs, and XBMC scraper recognition. There has to be a way to integrate btv library into xbmc.

Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[Image: newsig-1.png]
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
find quote
Hjord Offline
Senior Member
Posts: 212
Joined: Nov 2009
Reputation: 0
Post: #27
xexe Wrote:Use this regex

[/\\]season[^\w]?(\d{1,2})[^\d]*[/\\].*? \((\d{1,2})\)(?!.*])

But I will not add it to this set since its almost the worst naming format I have ever seen and very unliekly to help anyone bar you.

Good luck


In the start i did'nt have any software to put my movies in.
I just found them in the maps. And then it is the easiest.

But thank you reallymuch.
(This post was last modified: 2009-11-23 21:30 by Hjord.)
find quote
Hjord Offline
Senior Member
Posts: 212
Joined: Nov 2009
Reputation: 0
Post: #28
Maybe i'm just an dumbass.
But i can't it to work Confused
When i'm try to add TV Shows f.x. all them under H, i just get the show name, nothing about seasons or episodes.
find quote
xexe Offline
Fan
Posts: 715
Joined: Sep 2008
Reputation: 1
Post: #29
Hjord Wrote:Maybe i'm just an dumbass.
But i can't it to work Confused
When i'm try to add TV Shows f.x. all them under H, i just get the show name, nothing about seasons or episodes.

See my OP of this thread if you really want help


Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
find quote
Hjord Offline
Senior Member
Posts: 212
Joined: Nov 2009
Reputation: 0
Post: #30
xexe Wrote:See my OP of this thread if you really want help
I have read it a couple of times.
If i just change the episode name to fx prison.break.310.avi and then have a sourge for each letter. Would it work then?
find quote
Post Reply