Adding TV shows in the library? - 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: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Adding TV shows in the library? (/showthread.php?tid=51682) |
Adding TV shows in the library? - pInUS - 2009-05-25 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 ! - mason - 2009-05-25 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! - xexe - 2009-05-25 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/ Renaming is the absolute last thing you should do ever. - pInUS - 2009-05-25 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 :-) - xexe - 2009-05-25 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 - pInUS - 2009-05-25 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. - mason - 2009-05-26 whats the problem with renaming? If you like a clean consistent setup .. renaming is mandatory in my eyes ... - pInUS - 2009-05-27 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 - xexe - 2009-05-27 As soon as you work out the correct way to tell XBMC regex about special characters i can help you. - spiff - 2009-05-27 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? - pInUS - 2009-05-27 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? |