Kodi Community Forum

Full Version: Custom TV Show Naming Conventions...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.
I've been using XBMC (mostly through openelec), and it's great.

I've noticed that I've been renaming shows into folders in the following manner. Can anyone tell me what my regexp should be in advancedsettings.xml, to get the episodes scrapped correctly?

Doctor Who/Season 1/Doctor Who - S1 E01 - Rose.avi

Much thanks in advanced. I tried using hints from the wiki to no avail.
Hello,

Looks like there is Doctor Who, Doctor Who (2005) and Doctor Who (2009).

You are looking for Doctor Who (2005) - S01E01 - Rose.avi

So try Doctor Who (2005) and be sure to include S01 rather than S1.

Mark
Sorry. I should have been less specific. ;-)

This isn't being scrapped, either:

Futurama/Season 6/Futurama - S6 E01 - Rebirth.avi
Jeckyl/Jeckyl - E1.avi
Sherlock/Season 1/Sherlock - S1 E1 - A Study In Pink.avi

I was looking for a regexp that will handle all my folders, which are all in the same format.
I think that your problem is the way you are naming the files. Instead of S1 E01 it needs to be S01E01. If you are looking to change the regex, sorry I can't help you there.

Mark
Maybe someone else can help.

Here's a copy of my advancedsettings.xml file:
Code:
<advancedsettings>
  <useddsfanart>true</useddsfanart>
  <splash>false</splash>
  <cputempcommand>cputemp</cputempcommand>
  <gputempcommand>gputemp</gputempcommand>
  <tvshowmatching>
    <regexp>S([0-9]+) E([0-9]+) - [^\V]*</regexp>
  </tvshowmatching>
  <samba>
    <clienttimeout>30</clienttimeout>
  </samba>
</advancedsettings>

Any ideas, anyone? Huh
Nevermind. Works now, after a reboot.

Thanks. Hopefully this will help someone out in the future, since I put the working regexp in the previous post. :-)