Kodi Community Forum
3 Questions about XBMC for PC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: 3 Questions about XBMC for PC (/showthread.php?tid=37221)

Pages: 1 2


- matt_cyr - 2008-09-18

For your regex, I'm not 100% sure, but try this and see if it works for you..

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


- kraqh3d - 2008-09-18

if this is a correct example

S:/TV-Series/The Big Bang Theory/1-1-Pilot.avi

this should work

<regexp>[\\/]([0-9]+)-([0-9]+)([^\\/]*$)<regexp>

required slash
one or more numbers
dash
one or more numbers
zero or more characters that cannot be slash
$ on the end means anchor the pattern to the rightmost edge of the full path to prevent matching elsewhere in the path.


- infernalshade - 2008-09-19

ok...i've placed the advancedsettings.xml in the "userdata"-folder in the xbmc-installation-directory..

Content of advancedsettings.xml:
Quote:<advancedsettings>
<tvshowmatching>
<regexp>[\\/]([0-9]+)-([0-9]+)([^\\/]*$)</regexp>
<regexp>^([0-9]+)-([0-9]+)([^\\/]*)</regexp>
<twopart>
</twopart>
</tvshowmatching>
</advancedsettings>

(I'm using the MediaStream-Skin!)
Then i open XBMC and go to "Videos"...Then i click on "Add Source"...Then i click on "Search" and choose the TV-Show folder...After clinking "OK" in the upper part of the dialog there is "E:\Serien\". The Name at the bottom of the dialog is "Serien". Then i click OK.

Then i right click on the "Serien"-Source in the list and choose "Set Content". I choose "TV-Shows" and in the list "THETVdb.com". then i check "automatic scan" and in settings i choose my language. Now after cliking OK the dialog closes and in the top of the screen it says "Downloading TV-Show Information". This takes about 5-10 seconds...

then if i go to "Tv-Shows" in the homescreen, my tv-shows are shown (The Titles, and the Cover-Arts) but NO Episodes were found Sad

what did i do wrong?!

greetz and thx!!!