Posts: 78
Joined: Feb 2004
Reputation:
0
blakholephysics:
Yes, I did mean a capital Z.. ie: [0-9a-zA-Z]
The regexp is just a tad more specific than it needs to be. You could probably cut it off earlier. I did test it like that and it seems to be working.
Posts: 78
Joined: Feb 2004
Reputation:
0
Crap, can't edit the post.
One thing I did want to mention about regexp when scanning into your Library (for TV Shows, Movies, anything using a scraper). Make sure it's being detected by that scraper otherwise your regexp could be fine, but if the show isn't being detected on TV.com or IMDB, it won't really work.
That was my issue with a directory "Stargate SG-1", for some reason, it wasn't detecting it on TV.com (I had to manually add it), once that was done, the shows were detected without issue using my original Regexp (boy do I feel stupid having posted that rant a few posts above this one).
Oh well, live and learn.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
well, to make you feel slightly better.
there sure are bugs and limitation in our regexp parser. the most irritating being the lack of nongreedy support :/
Posts: 3
Joined: Mar 2007
Reputation:
0
Running XBMC-SVN_2007-03-23_rev8306-T3CH-PROPER with the following settings, I have noticed the following:
AdvancedSettings.xml contents:
<advancedsettings>
<tvshowmatching>
<regexp>[Ss](\d+)[Ee](\d+)</regexp>
</tvshowmatching>
</advancedsettings>
Directory Structur and Naming Convention
F:\Videos\Family Guy\Season 1\S01E01 Death Has a Shadow.avi
F:\Videos\Family Guy\Season 1\S01E02 I Never Met the Dead Man.avi
F:\Videos\Family Guy\Season 1\S01E03 Chitty Chitty Death Bang.avi
F:\Videos\Family Guy\Season 1\S01E04 Mind Over Murder.avi
F:\Videos\Family Guy\Season 1\S01E05 A Hero Sits Next Door.avi
F:\Videos\Family Guy\Season 1\S01E06 The Son Also Draws.avi
F:\Videos\Family Guy\Season 1\S01E07 Brian Portrait of a Dog.avi
F:\Videos\Family Guy\Season 2\S02E01 Peter Peter Caviar Eater.avi
F:\Videos\Family Guy\Season 2\S02E02 Holy Crap.avi
F:\Videos\Family Guy\Season 2\S02E03 DaBoom.avi
etc....
OR
F:\Videos\Family Guy\Season\S01E01 Death Has a Shadow.avi
F:\Videos\Family Guy\Season\S01E02 I Never Met the Dead Man.avi
etc...
Program 'Family Guy' is entered into library but does NOT find ANY episodes and import them into the Library
Change Directory Structuer to:
F:\Videos\Family Guy\01E07 Brian Portrait of a Dog.avi
OR
F:\Videos\Family Guy\Stuff 1\S01E07 Brian Portrait of a Dog.avi
F:\Videos\Family Guy\Stuff 2\S02E01 Peter Peter Caviar Eater.avi
Episodes in root of 'Family Guy' directory as well as 'Stuff 1' and 'Stuff 2' directories are entered into Library
Any time I have the word 'Season' In the directory name the files are skipped. Not sure if this is an issue with my RegEXP or a bug in XBMC Any Thoughts?
Interesting Side Note:
Directory Structure
F:\Videos\Family Guy\The Simpsons\S01E01 Death Has a Shadow.avi
VIA 'Set Content' run on the 'Videos' or 'Family Guy' directory all episodes in F:\Videos\Family Guy\The Simpsons\ are entered into the Library as Season 1 Episode 1 of 'The Simpsons'
Likewise for 'Scan for new content' Run on the 'Family Guy' folder the episodes are entered as Season 1 Episode 1 of 'The Simpsons'
However, VIA 'TV Show Information' run on the 'Family Guy' folder The file 'S01E01 Death Has a Shadow.avi' is entered into the library as Family Guy Season 1 Episode 1
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
fixed in svn.
as for set content, are ppl blind. it says tv showS S S S S S.
a tv show is a folder.
if you assign tv showS content to the family guy dir you say that all subfolders for this dir is a tvshow. it does exactly what you ask it to do.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
get a newer version, there are bugs in that one.
Posts: 36
Joined: Mar 2007
Reputation:
0
scool
Junior Member
Posts: 36
ok i'll wait the next T3CH version so. i'm not able to compil it myself (not the tools for..)
Xbox - Xbmc4Xbox
Atv2 - XBMC V12
G-Box Midnight - XBMC V12
Raspbery Pi 512 - RaspBmc - Xbmc V12
Raspbery Pi 512 - Xbian - Xbmc V12
I love XBMC Since XBMP !! so it's a long long story....
Posts: 3
Joined: Mar 2007
Reputation:
0
Does anyone know of anyway to scan for Episodes inside of RAR files?
I've tried a number of different things and nothing has worked.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yah, i'm pondering adding 'tvshow' as content type as well but i bet it wouldnt help a bit ;D
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
enable transparent archives.
required for any rarred content scanning.
Posts: 10
Joined: Oct 2006
Reputation:
0
If seen several comments about scanning recursively when "set content" = TV Shows, however, I don't have this option when I set content = TV Shows.
When I set content = Movies I do have the option to scan recursively.
What am I doing wrong? I'm running XBMC rev8582.