Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Adding TV shows in the library?
#1
Hi,

I'm trying to add my TV shows in the library.
My files are named like this :
"TV Show\Season #\tv show name - seas # x ep #.mkv

Example : Lost\Saison 5\Lost - 5 x 05.mkv

I tried with
<regexp>/season[^\w]?(\d{1,2})[^\d]*\/.*?\1[^\w]?x[^\w]?(\d\d?)([^/\\]*)</regexp>
in the advancedsettings.xml (thanks xexe) but it doesn't work. I have a list of the seasons in the library but with no episode in it.

You can see the debug log on http://xbmc.pastebin.com/m5f834ffc

The error is :
DEBUG: could not enumerate file D:\Videos\Séries\Weeds\Saison 4\Weeds - 4 x 01.mkv

If I rename my files like this :
Californication\Saison 1\Californication - s01e01.mkv
it works, but it means that I will have lots of files to rename.

Is anyone have an idea ?

Thanks a lot !
Reply
#2
i won't get into your problem, but you should check out http://tvrename.com/
this tool is mandatory for a clean library imho .. it pulles the info from tvrage and rename all your files accordingly!
Reply
#3
Simply follow this

http://forum.xbmc.org/showthread.php?tid=51614

mason Wrote:i won't get into your problem, but you should check out http://tvrename.com/
this tool is mandatory for a clean library imho .. it pulles the info from tvrage and rename all your files accordingly!

Renaming is the absolute last thing you should do ever.
Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
Reply
#4
Hi xexe,

I've already tried with the parameters in your topic, but it doesn't work.
I agree with u, file renaming is evil :-)
Reply
#5
Its due to this "Séries". I understand why you wouldnt want to do this but if you were to organize as "Season" instead it should just work.

I have absolutely no idea how to match extended characters reliably as its noy something i would ever face being a native English speaker
Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
Reply
#6
When I saw the log, I tought too that it was not working because of the Séries.
So I renamed my folder to "Series" (without the special character) but it didn't work better. I tried also to change "saison" to "season", with no good result.
And even with the folder named Séries, if my files are like "Californication\Saison 1\Californication - s01e01.mkv", it works perfectly. So I imagine the problem is elsewhere, maybe in the regexp string.

Sorry for my english, it's not my native language.
Reply
#7
whats the problem with renaming? If you like a clean consistent setup .. renaming is mandatory in my eyes ...
Reply
#8
Because I have hundreds of files to rename. And because I dont' see why i should have to rename, i know lots of people using my naming scheme.
So if anyone has an idea... Let me know !

Thanks
Reply
#9
As soon as you work out the correct way to tell XBMC regex about special characters i can help you.
Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
Reply
#10
it's fed utf-8 and hence your adv.xml needs to be utf-8 formatted. apart from that i don't see what would be different?
Reply
#11
As I told in my previous message, i renamed my folder "Séries" to "Series" (so with no special character). And to be sure, i rename "saison" to "season". But it's still not working, so it seems not to be a problem with my special character.
Any idea?
Reply

Logout Mark Read Team Forum Stats Members Help
Adding TV shows in the library?0