Kodi Community Forum

Full Version: Help with tv show scraping
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
First of all, congratulations to the devs for this powerful media center.

I really need your help with scanning my tv episodes into the library. I am trying to switch from Vista Media Center + media browser combo, so all my shows are sorted like this:

Seinfeld\Season 6\1 - The Chaperone

How do I get XBMC to scrape episodes? I tried adding the advanced config xml file to the xmbc/userdata directory, by using a sample script, and it didn't work.

Can a kind soul please write the xml file for me? I tried the instructions, perhaps it's a language problem (I'm not a native English speaker), I can't get it to work.

Thanks in advance!
I know this is not the best solution, but you could always use TV Rename. from tvrename.com to reformat your naming convention, it also does a check and tells you if you are missing any episodes. great program!
I tried to use that program, it scanned the files into its collection, and decided that only one series should be renamed. I didn't find a way to force renaming all of them.

In any case, the advancedconfig.xml looks like a cleaner solution, it's just that the example syntax is not clear to me. That's why I thought about asking you people.
ee gads dont rename !

heres a new regex:

season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\

feel free to experiment with it Smile
xexe Wrote:ee gads dont rename !

heres a new regex:

season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\

feel free to experiment with it Smile

It didn't work! I made an advancedsettings.xml file like this

<advancedsettings>

<tvshowmatching>
<regexp>Season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\</regexp>
</tvshowmatching>

and placed it into C:\Users\Mihailo\AppData\Roaming\XBMC\userdata

When I start up XBMC it recognized show names (ie CSI, Seinfeld...), but it still can't find any episodes. Sad

Did I make the xml file wrong?
Did you close with an </advancedsettings> tag?

<advancedsettings>
<tvshowmatching>
<regexp>Season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\</regexp>
</tvshowmatching>
</advancedsettings>
sho Wrote:Did you close with an </advancedsettings> tag?

<advancedsettings>
<tvshowmatching>
<regexp>Season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\</regexp>
</tvshowmatching>
</advancedsettings>

I didn't... Is my face red... Now I copied your post and it still isn't working.
Im posting more details just in case: 1. I added a folder named Video as source. Inside this folder are Series and Movies. I set content for Series as tv shows and Movies as movies. Inside series I got Show/Season #/1 - Episode. Inside Movies I have Movie Name/Movie Name.avi

XBMC only picks up the names of the shows and it dosen't even see movies. I'm using SVN Build 17317
debug log please
xexe Wrote:debug log please


Quote:12:16:43 T:3292 M:2977484800 NOTICE: Mapping drive Z to C:\Users\Mihailo\AppData\Roaming\XBMC\cache
12:16:43 T:3292 M:2977468416 NOTICE: Mapping drive T to C:\Users\Mihailo\AppData\Roaming\XBMC\userdata
12:16:43 T:3292 M:2977468416 NOTICE: Mapping drive Q to C:\Program Files (x86)\XBMC
12:16:43 T:3292 M:2977468416 NOTICE: Mapping drive U to C:\Program Files (x86)\XBMC
12:16:43 T:3292 M:2977345536 NOTICE: -----------------------------------------------------------------------
12:16:43 T:3292 M:2977345536 NOTICE: Starting XBMC, Platform: Windows Vista, 32-bit Service Pack 1 build 6001. Built on Jan 24 2009 (compiler 1500)
12:16:43 T:3292 M:2977345536 NOTICE: Intel® Core™2 Duo CPU T5750 @ 2.00GHz
12:16:43 T:3292 M:2977345536 NOTICE: Desktop Resolution: 1440x900 32Bit at 59Hz
12:16:43 T:3292 M:2977345536 NOTICE: Q is mapped to: C:\Program Files (x86)\XBMC
12:16:43 T:3292 M:2977345536 NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
12:16:43 T:3292 M:2977345536 NOTICE: Log File is located: C:\Users\Mihailo\AppData\Roaming\XBMC\xbmc.log
12:16:43 T:3292 M:2977345536 NOTICE: -----------------------------------------------------------------------
12:16:43 T:3292 M:2977329152 NOTICE: Setup SDL
12:16:44 T:3292 M:2975293440 NOTICE: load settings...
12:16:44 T:3292 M:2975285248 NOTICE: Mapping drive P to C:\Users\Mihailo\AppData\Roaming\XBMC\userdata
12:16:44 T:3292 M:2975281152 NOTICE: loading C:\Users\Mihailo\AppData\Roaming\XBMC\userdata\guisettings.xml
12:16:44 T:3292 M:2974937088 NOTICE: Getting hardware information now...
12:16:44 T:3292 M:2974932992 NOTICE: Checking resolution 10
12:16:44 T:3292 M:2974920704 NOTICE: Setting autoresolution mode 1
12:16:44 T:3292 M:2974867456 NOTICE: Loaded advancedsettings.xml from C:\Users\Mihailo\AppData\Roaming\XBMC\userdata\advancedsettings.xml
12:16:44 T:3292 M:2974851072 NOTICE: Getting hardware information now...
12:16:44 T:3292 M:2974851072 NOTICE: Checking resolution 10
12:16:44 T:3292 M:2974851072 NOTICE: Setting autoresolution mode 1
12:16:44 T:3292 M:2974851072 NOTICE: Default Video Player: dvdplayer
12:16:44 T:3292 M:2974851072 NOTICE: Default Audio Player: paplayer
12:16:44 T:3292 M:2974834688 NOTICE: C:\Users\Mihailo\AppData\Roaming\XBMC\userdata\sources.xml
12:16:44 T:3292 M:2960146432 NOTICE: start dvd mediatype detection
12:16:44 T:3292 M:2960125952 NOTICE: initializing playlistplayer
12:16:44 T:3292 M:2960117760 NOTICE: DONE initializing playlistplayer
12:16:44 T:3292 M:2960101376 NOTICE: load default skin:[PM3.HD]
12:16:44 T:3292 M:2954915840 NOTICE: Updating video library on startup
12:16:44 T:3292 M:2954895360 ERROR: Control 402 in window 10133 has been asked to focus, but it can't
12:16:44 T:3292 M:2954526720 NOTICE: initialize done
12:16:44 T:3292 M:2954522624 NOTICE: Running the application...
12:16:44 T:3292 M:2953986048 NOTICE: ES: Starting event server
12:16:44 T:920 M:2953830400 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
12:16:44 T:920 M:2953822208 NOTICE: UDP: Listening on port 9777
12:16:45 T:3028 M:2932658176 NOTICE: My Videos: Scanning for video info using worker thread, operation took 00:00
12:18:13 T:3292 M:2920267776 WARNING: CUtil::GetMatchingSource... no matching source found for [Video Plugins]
12:19:07 T:2044 M:2913927168 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913927168 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913927168 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913927168 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913927168 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:07 T:2044 M:2913923072 ERROR: PCRE: \ at end of pattern. Compilation failed at offset 48 in expression 'season[\._ ]?0?([0-9]{1,2}).*?\/([0-9]{1,2})\ -\'
12:19:10 T:2044 M:2913353728 NOTICE: My Videos: Scanning for video info using worker thread, operation took 00:05
12:20:42 T:3292 M:2920996864 NOTICE: Storing total System Uptime
12:20:42 T:3292 M:2920996864 NOTICE: Saving settings
12:20:42 T:3292 M:2920935424 NOTICE: stop all
12:20:42 T:3292 M:2920935424 NOTICE: ES: Stopping event server
12:20:42 T:920 M:2920935424 NOTICE: ES: UDP Event server stopped
12:20:42 T:3292 M:2920960000 NOTICE: stop dvd detect media
12:20:42 T:3292 M:2920992768 NOTICE: stop sap announcement listener
12:20:42 T:3292 M:2920988672 NOTICE: clean cached files!
12:20:42 T:3292 M:2920984576 NOTICE: unload skin
12:20:42 T:3292 M:2931748864 NOTICE: stop python
12:20:42 T:3292 M:2931748864 NOTICE: stopped
12:20:42 T:3292 M:2931748864 NOTICE: destroy
12:20:42 T:3292 M:2931724288 NOTICE: unload sections

Is this it?
yuchrome Wrote:Im posting more details just in case: 1. I added a folder named Video as source. Inside this folder are Series and Movies. I set content for Series as tv shows and Movies as movies. Inside series I got Show/Season #/1 - Episode. Inside Movies I have Movie Name/Movie Name.avi
XBMC only picks up the names of the shows and it dosen't even see movies. I'm using SVN Build 17317

Did you set the content of the "Movies" folder to movies?
Also try to rename the "Series" folder to "TV Shows" and set its content to tv shows.
make sure you are not trying to scrape IMDB, and tick "use folder names for lookups"
yuchrome Wrote:Is this it?
No, see my sig.

boxterduke Wrote:Also try to rename the "Series" folder to "TV Shows" .
XBMC could not care less what the toplevel folder is called.
Woops, I'm an idiot.
Misread your post - thought you were having probs with TV Eps not being scanned, when you were having probs with Movies not being scanned.

/backs out slowly
To solve your TV Show epsode problem ( Provided you used proper naming of it )
-> Right clikc on the tv show and click tv show information. A Dialog popups up and click on refresh tab. It should prompt refresh all epsidoes, say yes ..
Pages: 1 2 3 4