Getting extremely frustrated
#1
I posted about this issue before, but it was essentially brushed off as "you're doing it wrong". I just don't understand why things have to work this way when, logically, they should work a different way.

I have several episodes of The Daily Show, all named as such:

The Daily Show\2012\The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv
The Daily Show\2012\The Daily Show - 2012-07-17 [HDTV,720p,x264,8bit,AC3-2.0].mkv
The Daily Show\2012\The Daily Show - 2012-07-18 [HDTV,720p,x264,8bit,AC3-2.0].mkv
The Daily Show\2012\The Daily Show - 2012-07-19 [HDTV,720p,x264,8bit,AC3-2.0].mkv

I also have corresponding .nfo files with the same names, containing all the metadata for those episodes. I have a tvshow.nfo file in the root folder of "The Daily Show". Yet when I refresh my database, XBMC insists on tagging these files as multipart episodes (All season 1, episodes 2012, 7, 16, 17, 18, 19, 2, 0), and then trying to scrape thetvdb for non-existing data. The result is that I have an entry in my list of TV Shows for "The Daily Show with John Stewart", but no episodes. XBMC.log says "Asked to lookup episode smb://... online, but we have no episode guide..."

Why does XBMC have to religiously adhere to the regular expressions when I should be able to tell it "forget scraping the filename for episode numbers - I have an NFO file for you to look at."? I don't want to have to come up extremely tedious regular expressions, nor do I want to name my filenames according to how somebody else thinks I should, just so XBMC will show the metadata that I already manually entered for the file.

As far as I'm concerned, when XBMC encounters a file that's not in its database, it should first look for an NFO file and use the data in it if it exists, and THEN try to scrape the filename for episode number data and check the scraper website.
Reply
#2
Why does it find the NFO but ignore it?

22:30:46 T:9020 DEBUG: CVideoDatabase::GetEpisodeId (smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv), query = select idEpisode from episode where idFile=3001
22:30:46 T:9020 DEBUG: VideoInfoScanner: Found matching Full NFO file: smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].nfo
22:30:46 T:9020 INFO: Loading skin file: DialogProgress.xml
22:30:46 T:9020 DEBUG: DialogProgress::StartModal called
22:30:46 T:9020 DEBUG: ------ Window Init (DialogProgress.xml) ------
22:30:47 T:9020 DEBUG: VideoInfoScanner: Found episode match smb://haruhi/users/sarah/videos/tv/the daily show/2012/the daily show - 2012-07-16 [hdtv,720p,x264,8bit,ac3-2.0].mkv (s1e2012) [[\._\- ]()([0-9]+)(.*)]
22:30:47 T:9020 DEBUG: VideoInfoScanner: Adding new season 1, multipart episode 7 [^[-_EeXx]+([0-9]+)]
22:30:47 T:9020 DEBUG: VideoInfoScanner: Adding new season 1, multipart episode 16 [^[-_EeXx]+([0-9]+)]
22:30:47 T:9020 DEBUG: VideoInfoScanner: Adding new season 1, multipart episode 2 [^[-_EeXx]+([0-9]+)]
22:30:47 T:9020 DEBUG: VideoInfoScanner: Adding new season 1, multipart episode 0 [^[-_EeXx]+([0-9]+)]
22:30:47 T:9020 DEBUG: SDLKeyboard: scancode: 38, sym: 0134, unicode: 0000, modifier: 100
22:30:47 T:9020 DEBUG: CApplication::OnKey: alt-leftalt (4f0d4) pressed, action is
22:30:47 T:9020 DEBUG: CVideoDatabase::GetEpisodeId (smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv), query = select idEpisode from episode where idFile=3001
22:30:47 T:9020 ERROR: VideoInfoScanner: Asked to lookup episode smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv online, but we have no episode guide. Check your tvshow.nfo and make sure the <episodeguide> tag is in place.
22:30:47 T:9020 DEBUG: CWinEventsWin32::WndProcWindow is active
22:30:47 T:9020 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Windows\explorer.exe
22:30:47 T:9020 DEBUG: CVideoDatabase::GetEpisodeId (smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv), query = select idEpisode from episode where idFile=3001
22:30:47 T:9020 ERROR: VideoInfoScanner: Asked to lookup episode smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv online, but we have no episode guide. Check your tvshow.nfo and make sure the <episodeguide> tag is in place.
22:30:47 T:9020 DEBUG: CVideoDatabase::GetEpisodeId (smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv), query = select idEpisode from episode where idFile=3001
22:30:47 T:9020 ERROR: VideoInfoScanner: Asked to lookup episode smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv online, but we have no episode guide. Check your tvshow.nfo and make sure the <episodeguide> tag is in place.
22:30:47 T:9020 DEBUG: CVideoDatabase::GetEpisodeId (smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv), query = select idEpisode from episode where idFile=3001
22:30:47 T:9020 ERROR: VideoInfoScanner: Asked to lookup episode smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv online, but we have no episode guide. Check your tvshow.nfo and make sure the <episodeguide> tag is in place.
22:30:47 T:9020 DEBUG: CVideoDatabase::GetEpisodeId (smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv), query = select idEpisode from episode where idFile=3001
22:30:47 T:9020 ERROR: VideoInfoScanner: Asked to lookup episode smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv online, but we have no episode guide. Check your tvshow.nfo and make sure the <episodeguide> tag is in place.
22:30:47 T:9020 DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=156) order by idShow
22:30:47 T:9020 DEBUG: CVideoDatabase::RunQuery took 0 ms for 0 items query: select episode.c12,path.strPath,tvshow.c00,tvshow.c08,tvshow.c14,tvshow.c13,count(1),count(files.playCount) from episode join tvshowlinkepisode on tvshowlinkepisode.idEpisode=episode.idEpisode join tvshow on tvshow.idShow=tvshowlinkepisode.idShow join files on files.idFile=episode.idFile join tvshowlinkpath on tvshowlinkpath.idShow = tvshow.idShow join path on path.idPath = tvshowlinkpath.idPath where tvshow.idShow = 156 group by episode.c12
22:30:47 T:9020 DEBUG: CVideoDatabase::GetEpisodeId (smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv), query = select idEpisode from episode where idFile=3001
22:30:47 T:9020 DEBUG: ------ Window Init (DialogVideoInfo.xml) ------
22:30:47 T:9020 INFO: Loading skin file: DialogVideoInfo.xml
22:30:47 T:8428 DEBUG: CThumbExtractor:Big GrinoWork - trying to extract filestream details from video file smb://HARUHI/Users/Sarah/Videos/TV/The Daily Show/2012/The Daily Show - 2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv
22:30:47 T:9020 DEBUG: CApplication::ExecuteXBMCAction : Translating AlarmClock(ActorIconMove,Control.Move(50,1),00:07,silent,loop)
22:30:47 T:9020 DEBUG: CApplication::ExecuteXBMCAction : To AlarmClock(ActorIconMove,Control.Move(50,1),00:07,silent,loop)
22:30:47 T:9020 DEBUG: started alarm with name: actoriconmove
22:30:47 T:9020 DEBUG: ------ Window Deinit (DialogProgress.xml) ------




<?xml version="1.0" encoding="utf-8"?>
<episodedetails>
<title>Louis C.K.</title>
<runtime>1268</runtime>
<aired>2012-07-16</aired>
<rating>8.3</rating>
<season>17</season>
<episode>123</episode>
<plot>Mitt Romney retires retroactively, John Oliver reports from New Jersey on the Viacom-DirecTV dispute, and Louis C.K. clarifies his controversial Twitter comments.</plot>
<credits>Louis C.K. (Guest Star)</credits>
<actor>
<name>Jon Stewart</name>
<role />
<thumb>http://thetvdb.com/banners/actors/8155.jpg</thumb>
</actor>
<actor>
<name>John Oliver</name>
<role>Correspondent</role>
<thumb>http://thetvdb.com/banners/actors/174541.jpg</thumb>
</actor>
<actor>
<name>Wyatt Cenac</name>
<role>Correspondent</role>
<thumb>http://thetvdb.com/banners/actors/174581.jpg</thumb>
</actor>
<actor>
<name>Aasif Mandvi</name>
<role>Correspondent</role>
<thumb>http://thetvdb.com/banners/actors/174571.jpg</thumb>
</actor>
<actor>
<name>Jason Jones</name>
<role>Correspondent</role>
<thumb>http://thetvdb.com/banners/actors/174551.jpg</thumb>
</actor>
<actor>
<name>Samantha Bee</name>
<role />
<thumb>http://thetvdb.com/banners/actors/8149.jpg</thumb>
</actor>
<actor>
<name>Adrianne Frost</name>
<role />
<thumb />
</actor>
<actor>
<name>Bob Wiltfong</name>
<role />
<thumb />
</actor>
<actor>
<name>Brian Unger</name>
<role />
<thumb />
</actor>
<actor>
<name>Ed Helms</name>
<role />
<thumb />
</actor>
<actor>
<name>Frank DeCaro</name>
<role />
<thumb />
</actor>
<actor>
<name>Jerry Minor</name>
<role />
<thumb />
</actor>
<actor>
<name>Joe Bob Briggs</name>
<role />
<thumb />
</actor>
<actor>
<name>Lauren Weedman</name>
<role />
<thumb />
</actor>
<actor>
<name>Matt Walsh</name>
<role />
<thumb />
</actor>
<actor>
<name>Michael Showalter</name>
<role />
<thumb />
</actor>
<actor>
<name>Miriam Tolan</name>
<role />
<thumb />
</actor>
<actor>
<name>Nancy Walls</name>
<role />
<thumb />
</actor>
<actor>
<name>Rachael Harris</name>
<role />
<thumb />
</actor>
<actor>
<name>Rob Corddry</name>
<role />
<thumb />
</actor>
<actor>
<name>Stacey Grenrock-Woods</name>
<role />
<thumb />
</actor>
<fileinfo>
<streamdetails>
<audio>
<channels>2</channels>
<codec>ac3</codec>
</audio>
<video>
<aspect>1.778</aspect>
<codec>h264</codec>
<durationinseconds>1268</durationinseconds>
<height>720</height>
<language>eng</language>
<longlanguage>English</longlanguage>
<scantype>Progressive</scantype>
<width>1280</width>
</video>
</streamdetails>
</fileinfo>
</episodedetails>
Reply
#3
This may be helpful.

This wiki page covers naming episodes with absolute numbering, and the reg exp values to use to obtain them. Maybe this is the method you need to use?

EDIT - Oh, wait. You don't want to use RegExp, even though that may be the only way to accomplish your goal?
Quick Links: debug log (wiki) | userdata (wiki) | advancedsettings (wiki) | adding videos to the library (wiki)
Reply
#4
Try The Daily Show\2012\The Daily Show - s2012-07-16 [HDTV,720p,x264,8bit,AC3-2.0].mkv
Reply

Logout Mark Read Team Forum Stats Members Help
Getting extremely frustrated0