Filenames match default regexps, episodes not enumerating?
#1
Question 
Hi,

I have files like this:
Code:
lftp leon@sort:/g/tv/Floyd on France> ls
-rw-r--r-- 1 ftp ftp            168 Oct 20 16:44 Floyd on France.nfo
-rw-r--r-- 1 ftp ftp      265914240 Sep 24  2009 Floyd on France.S01E01.avi
-rw-r--r-- 1 ftp ftp      264891344 Sep 24  2009 s01e02 - Floyd - Perigord.avi
-rw-r--r-- 1 ftp ftp      280162414 Sep 24  2009 s01e03 - Floyd - Burgundy.avi
-rw-r--r-- 1 ftp ftp      258777542 Sep 24  2009 s01e04 - Floyd - Alsace.avi
-rw-r--r-- 1 ftp ftp      246976576 Sep 24  2009 s01e05 - Floyd - Basque.avi
-rw-r--r-- 1 ftp ftp      245672760 Sep 24  2009 s01e06 - Floyd - Brittany.avi
-rw-r--r-- 1 ftp ftp      242445650 Sep 24  2009 s01e07 - Floyd - Final.avi

The episodes don't show up in the library. I've added a TV show nfo to attempt to aid things, that looks like:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<tvshow>
<episodeguideurl>http://thetvdb.com/?tab=series&id=83578
</episodeguideurl>
</tvshow>

This does not aid anything. I've been playing with the name of just the first ep to see if I can get it picked up. My debug.log's at: http://thetvdb.com/?tab=series&id=83578

The other tens of series of programs using s01e01 filename conventions work fine. What could be going on?


Leon
Reply
#2
(2012-10-20, 17:14)leondz Wrote:
Code:
lftp leon@sort:/g/tv/Floyd on France> ls
-rw-r--r-- 1 ftp ftp            168 Oct 20 16:44 Floyd on France.nfo
-rw-r--r-- 1 ftp ftp      265914240 Sep 24  2009 Floyd on France.S01E01.avi
-rw-r--r-- 1 ftp ftp      264891344 Sep 24  2009 s01e02 - Floyd - Perigord.avi
-rw-r--r-- 1 ftp ftp      280162414 Sep 24  2009 s01e03 - Floyd - Burgundy.avi
-rw-r--r-- 1 ftp ftp      258777542 Sep 24  2009 s01e04 - Floyd - Alsace.avi
-rw-r--r-- 1 ftp ftp      246976576 Sep 24  2009 s01e05 - Floyd - Basque.avi
-rw-r--r-- 1 ftp ftp      245672760 Sep 24  2009 s01e06 - Floyd - Brittany.avi
-rw-r--r-- 1 ftp ftp      242445650 Sep 24  2009 s01e07 - Floyd - Final.avi
You have a couple of problems with your naming convention:
  • You should name all your episodes consistently. Your first episode is fine, but for the remaining episodes, you use "s01e0x - Floyd - Episode title.avi". "Floyd" is not the tilte of the show; it is "Floyd on France". Also, putting the season/episode number at the beginning of the filename for 2-7 may confuse the scraper since your first episode has season/episode number after the show title.
  • If you include a tvshow.nfo file, it must be named tvshow.nfo literally and not TV-show-title.nfo. By the way, you don't need a tvshow.nfo.

As a test, I created a folder named "Floyd on France" and included dummy files for each of the episodes using the following format:
Code:
Floyd on France.s01e01.avi
:
Floyd on France.s01e07.avi
I was able to scrape and add all seven episodes to my library. No tvshow.nfo needed.

If you want to include the episode titles in your filenames to improve readability (as you'd done for episodes 2-7 shown above), you can do this:
Code:
Floyd on France.s01e01.Provence.avi
:
Floyd on France.s01e07.A Farewell to France.avi
This also scrapes and adds the show and episodes to the library successfully.
Reply
#3
That is interesting. I wonder why yours picks up the first ep, but mine does not. Any ideas? Once I've found a file naming scheme that works, I'll rename the rest.
Reply
#4
None of your filenames are "wrong". To find out what is happening you must do a Debug Log while refreshing that show (tvshow information -> refresh).
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
#5
Ah, I see I pasted the wrong URL in the original post - my mistake; http://pastebin.com/cmt0Ap74
Reply
#6
You've replaced the default regexps with some of your own that don't match your filenames, simple as that.
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
#7
Oh, that's interesting. My previous belief was that adding regexps augmented the default set - does the presence of any <regexp> entries in fact stop the defaults from being applied?
Reply
#8
if you read the wiki page.... you'll notice that you have to use the proper action to append/prepend.
Reply
#9
Yes, that's right - it's just the "including any of your own nukes the defaults" that I didn't gather from there Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Filenames match default regexps, episodes not enumerating?0