• 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 17
Regular Expressions
I am trying to get XBMC to pick up the tv shows that itunes stores (don't ask, just at the moment I am happy having itunes storing them) However I also love the XBMC interface/networking

I have the tv shows stored in folders for each show. XBMC picks these up fine. Then the files are saved as S-EE episode name.mp4 (note these arn't protected files) eg 1-07 Awkward Phase.mp4

I have created a regexp for the advance settings.xml file

([0-9]+)-([0-9]+)[^\\/]*

to try and get it to pick them up. However at best it picks up the first episode of a season up only.

What am I doing wrong?
Reply
I have structure like:
TV\Heroes\Heroes.S01E01.HDTV.XviD-LOL.avi where TV is the added source.

When I right click Heroes > TV Show Information, I get a dialog asking to set title, which has defaulted to Heroes. I click Done, and this just pops up repeatedly until I manage to cancel out of it, and I don't get anything added to library (it's disabled since nothing in it).

Thanks,

Jessica
Reply
This is driving me crazy, please someone help me...

I have the structure as
Code:
\Ice Road Truckers\Season 1\ice.road.truckers.s01e01.avi
\Greys Anatomy\Season 5\Greys Anatomy - S05E03 - Here Comes The Flood HDTV XviD DOT.avi

My advancedsettings.xml is like this (but I know It's not needed)
Code:
<advancedsettings>
    <tvshowmatching>
        <regexp>[Ss](\d+)[Ee](\d+)</regexp>
    </tvshowmatching>

    <loglevel>1</loglevel>
</advancedsettings>

The series appears in the library but without episodes. My log is here http://pastebin.com/m726c51b0
Reply
Hello all... so, before I post details of my directory structure and log file, with the various regexp strings I've been playing with (and failed to make work Smile and pleas for assistance can I ask, where should advancedsettings.xml go? And just to complicate things, I'm running Windows 7 RC1...

Right now I see this in the log file:

NOTICE: special://masterprofile/ is mapped to: C:\Users\David\AppData\Roaming\XBMC\userdata
blah
NOTICE: special://profile/ is mapped to: special://masterprofile/
blah
NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml

...and my advancedsettings.xml file is in that location (along with other various .xml files).

So all good, yes?

Thanks in advance,

Temporarily Insane #2
Reply
I thought I had a handle on my regex statement, but I am running into a wall.

My directory structure is as follows:

TV Series/Series Name/Series Name - S#xE# - Episode Name.avi

TV Series/Smallville/Smallville - 6x01 - Zod.avi
TV Series/Hung/Hung 02 - Great Sausage or Can I Call You Dick.avi

I thought this would work for me, but so far no go,

<advancedsettings>
<tvshowmatching>
<regexp>[^\/]* [0]*([0-9]+)[xX][0]*([0-9]+)[^\/]*</regexp>
</tvshowmatching>
</advancedsettings>

So where am I going wrong? Any pointers would be greatly appreciated!
Reply
Ok I'm going mental here. Am I the only person on the planet to subdivide by genre? I am sick to death of EVERY show under Sci-Fi getting labellled "Sci-Fi Harry" wtf?
Simple logical directory structure: /[source]/Genre/Show/Season #/Show name - [season #]x[episode #] - [Episode Title].ext

Read the wiki over and over and nothing jumps out. Extremely close to giving up.
Mythtv and Sickbeard have NO problem with this format.
Reply
So basically I've had to go and add each genre as a video source to work around it. Messy but it works
Reply
I've been at this for hours...

I'm on the latest nightly build. I've read this thread and several dozen more, googled it, tried more settings than I can remember.

I'm trying to figure out how to get XBMC to work with the following

Souce\Urda\Urda - 01.avi
Souce\Urda\Urda - 02.avi
Souce\Urda\Urda - 03.avi
Source\FLCL\FLCL - 01
Source\FLCL\FLCL - 02
Source\FLCL\FLCL - 03
Source\Freedom\Freedom - 01
Source\Freedom\Freedom - 02
Source\Freedom\Freedom - 03

I have been trying to get info from both The TVDB and ANIDB.net

Both of them would get the series title, and the artwork, but no episodes would show in the library.

I enabled Debugging mode and found that it could not enumerate the files

Changing as follows works for both scrapers.

Souce\Urda\S01E01 - Urda.avi
Souce\Urda\S01E02 - Urda.avi
Souce\Urda\S01E03 - Urda.avi

So I know there isn't a technical issue.

I would really like to use my existing file naming convention, renaming the files is really not a realistic option, even with a batch renamer since the majority of the files reside on non-writable disks

Please help, what string do I need to put in my AdvancedSettings file

Thank you in advance,
Media
Reply
Try:

Code:
<advancedsettings>
  <tvshowmatching action="append">
    <regexp>[/\._ \-]()([0-9]+)(-[0-9]+)?</regexp>
  </tvshowmatching>
</advancedsettings>
Reply
scudlee Wrote:Try:

Code:
<advancedsettings>
  <tvshowmatching action="append">
    <regexp>[/\._ \-]()([0-9]+)(-[0-9]+)?</regexp>
  </tvshowmatching>
</advancedsettings>

THANK YOU! Works great.
Reply
Hi,

I feel rather stupid but I've spent the last hours trying to figure out how to solve my "problem" with the filenames for TV-shows.

I know that the easiest way would be to simply re-format all the files to the native xmbc format...but that will take quite some time and since I'm using a Pinnacle MC extender in another room that uses the filenames themselves I would prefer not to do so.

So finally I have to admit to myself that I need your help.

I have a separate folder for each show and the file format is:

\Show\Show (sXX) YY.avi
or
\Show\Show (sXX) YY - Episode name.avi

How can I format the tvshowmatching string so that XMBC will recognize this?

Thanks in advance,

Johan
Reply
Please i need some help because i'm going crazy.
My folder structure is like:

\Telefilm\Lost Season 1\Lost - 1x01 - Pilot.avi

i use this advancedsettings.xml:

Quote:<advancedsettings>
<tvshowmatching append="yes">
<regexp>[^\/]* [0]*([0-9]+)[xX][0]*([0-9]+)[^\/]*</regexp>
</tvshowmatching>
</advancedsettings>

But i can't get result for episode list.
My xbox.log says:

Quote:19:57:47 T:103034880 DEBUG: OnProcessSeriesFolder - no match for show: 'Leverage - Consulenze Illegali', season: -1, episode: -1, airdate: '31/12/1969', title: 'leverage - 4x01 - caccia al tesoro.avi'

Please help me to find the right exp.

TNX IN ADVANCE
Reply
Dadde Wrote:Please i need some help because i'm going crazy.
My folder structure is like:

\Telefilm\Lost Season 1\Lost - 1x01 - Pilot.avi

i use this advancedsettings.xml:



But i can't get result for episode list.
My xbox.log says:



Please help me to find the right exp.

TNX IN ADVANCE

Please give me some help Huh
Reply
Your problem is the tvshow title MUST be there, directly inside the folder you "Set Content" on. "Lost Season 1" is not the name of the show, the name of the show is Lost.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
tnx for your reply, but if i change my structur folder in:

Telefilm\Lost\Season 1\Lost - 1x01 - Pilot.avi

with the same regexp, xbox.log is allways the same and i get informations for series but no infomations for episodies.
Reply
  • 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 17

Logout Mark Read Team Forum Stats Members Help
Regular Expressions1