Kodi Community Forum

Full Version: TV show library
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi folks,

After spending hours on this issue, which should be relatively easy, I'm asking for some help.

I'm trying to set up my library to be working with TV-shows (for now, when this is working I'll move on with movies).
Since I'm using a different naming style than standard XBMC I've configured my advancedsettings.xml to this

<tvshowmatching>
<regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
</tvshowmatching>

This is explained in this wiki: http://wiki.xbmc.org/index.php?title=TV_...o_Library)

My folder and name structure is as followed
NAS root/Series/<tv-show>/Season #/## - <episode name>.avi

My source is set to:
NAS root/Series/

When I'm looking through in normal view (not library mode), everything looks perfect.
When I'm looking through in library view, I see the TV-shows perfectly, but when I enter one, I can't see any season nor episodes at all, for none of my series.. All I see is the "go-back-two-dots"

Any help? Ain't my RegExp correctly?
<advancedsettings> tag?

Check your debug log to see if it's being read.
They are also present in the xml-file, just thought they were obvious :-)

I'll check my log when I get home, and post it here if it doesn't make sense to me..

/greets
I've checked my log and found this error:
18:57:21 T:139962451871808 M:2988670976 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)

Regarding to this site the file should be located in xbmc/userdata folder
My full location of my advancedsettings.xml file is:
/usr/share/xbmc/userdata/advancedsettings.xml

My complete layout of the file is:
<advancedsettings>
<tvshowmatching>
<regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
</tvshowmatching>
<!--
<nodvdrom>true</nodvdrom>

<cputempcommand>sed -e 's/\([0-9]*\)[0-9]\{3\}.*/\1 C/' /sys/class/thermal/thermal_zone0/temp</cputempcommand>

<gputempcommand>echo "$(nvidia-settings -tq gpuCoreTemp) C"</gputempcommand>
-->
</advancedsettings>


Copy of the relevant part of my crash log:
############## XBMC CRASH LOG ###############

################ SYSTEM INFO ################
Date: Mon Nov 8 21:31:32 CET 2010
XBMC Options:
Arch: x86_64
Kernel: Linux 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010
Release:
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====> Core file: /home/xbmc/core
=========================================
[New Thread 1161]
[New Thread 1197]
[New Thread 1221]
Core was generated by `/usr/share/xbmc/xbmc.bin --standalone'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f4b8428973a in ?? () from /lib/libc.so.6

Thread 3 (Thread 1221):
#0 0x00007f4b842ebf83 in poll () from /lib/libc.so.6
#1 0x00007f4b8bba14aa in ?? () from /usr/lib/libavahi-common.so.3
#2 0x00007f4b8bb9fff2 in avahi_simple_poll_run ()
from /usr/lib/libavahi-common.so.3
#3 0x00007f4b8bba077d in avahi_simple_poll_iterate ()
from /usr/lib/libavahi-common.so.3
#4 0x00007f4b8bba07ad in avahi_simple_poll_loop ()
from /usr/lib/libavahi-common.so.3
#5 0x00007f4b8bba12fc in ?? () from /usr/lib/libavahi-common.so.3
#6 0x00007f4b894b69ca in start_thread () from /lib/libpthread.so.0
#7 0x00007f4b842f86fd in clone () from /lib/libc.so.6
#8 0x0000000000000000 in ?? ()

Thread 2 (Thread 1197):
#0 0x00007f4b894bbbc9 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00007f4b84b16287 in SDL_CondWaitTimeout () from /usr/lib/libSDL-1.2.so.0
#2 0x00000000005e9bb7 in ?? ()
#3 0x00000000005e9cc1 in WaitForSingleObject(CXHandle*, unsigned int) ()
#4 0x0000000000613dd5 in CAlarmClock:Tonguerocess() ()
#5 0x0000000000673f0f in CThread:ConfusedtaticThread(void*) ()
#6 0x00007f4b894b69ca in start_thread () from /lib/libpthread.so.0
#7 0x00007f4b842f86fd in clone () from /lib/libc.so.6
#8 0x0000000000000000 in ?? ()

Thread 1 (Thread 1161):
#0 0x00007f4b8428973a in ?? () from /lib/libc.so.6
#1 0x00007f4b8428c460 in ?? () from /lib/libc.so.6
#2 0x00007f4b8428fe53 in free () from /lib/libc.so.6
#3 0x00007f4b84232515 in ?? () from /lib/libc.so.6
#4 0x00007f4b8423185f in iconv_close () from /lib/libc.so.6
#5 0x000000000061c8dc in CCharsetConverter::reset() ()
#6 0x00000000006b554b in CApplication::UnloadSkin() ()
#7 0x00000000006b6f6c in CApplication::Stop() ()
#8 0x00000000008bdaaa in CApplicationMessenger:TonguerocessMessage(ThreadMessage*) ()
#9 0x00000000008c00aa in CApplicationMessenger:TonguerocessMessages() ()
#10 0x00000000006c3ff2 in CApplication:Tonguerocess() ()
#11 0x0000000000a1f856 in CGUIWindowManager:Tonguerocess_Internal(bool) ()
#12 0x00000000009da4ea in CGUIDialog:Big GrinoModal_Internal(int, CStdStr<char> const&) ()
#13 0x00000000008bdde0 in CApplicationMessenger:TonguerocessMessage(ThreadMessage*) ()
#14 0x00000000008be81b in CApplicationMessenger::SendMessage(ThreadMessage&, bool) ()
#15 0x00000000008bec49 in CApplicationMessenger:Big GrinoModal(CGUIDialog*, int, CStdStr<char> const&) ()
#16 0x0000000000a237e4 in CGUIWindowManager::ActivateWindow_Internal(int, std::vector<CStdStr<char>, std::allocator<CStdStr<char> > > const&, bool) ()
#17 0x0000000000616afe in CBuiltins::Execute(CStdStr<char> const&) ()
#18 0x00000000006c544a in CApplication::ExecuteXBMCAction(std:Confusedtring) ()
#19 0x00000000006c57d8 in CApplication::ExecuteAction(CGUIActionDescriptor) ()
#20 0x00000000006c7bc5 in CApplication::OnMessage(CGUIMessage&) ()
#21 0x0000000000a207f3 in CGUIWindowManager::SendMessage(CGUIMessage&) ()
#22 0x00000000009bee65 in CGUIButtonControl::OnClick() ()
#23 0x00000000009bca21 in CGUIButtonControl::OnAction(CAction const&) ()
#24 0x0000000000a19fd7 in CGUIWindow::OnAction(CAction const&) ()
#25 0x0000000000a203d6 in CGUIWindowManager::OnAction(CAction const&) ()
#26 0x00000000006c46f8 in CApplication::OnAction(CAction&) ()
#27 0x00000000006c64a5 in CApplication::OnKey(CKey&) ()
#28 0x00000000006c6736 in CApplication:TonguerocessKeyboard() ()
#29 0x00000000006c7547 in CApplication::OnEvent(XBMC_Event&) ()
#30 0x00000000009292c0 in CWinEventsSDL::MessagePump() ()
#31 0x00000000006c7437 in CApplication::FrameMove() ()
#32 0x00000000008d66c9 in CXBApplicationEx::Run() ()
#33 0x00000000008d6e3a in main ()
############# END STACK TRACE ###############

################# LOG FILE ##################

18:57:21 T:139962451871808 M:2990448640 ERROR: Failed to create common scripts symlink.
18:57:21 T:139962451871808 M:2990448640 NOTICE: -----------------------------------------------------------------------
18:57:21 T:139962451871808 M:2990448640 NOTICE: Starting XBMC, Platform: GNU/Linux. Built on Aug 19 2010 (SVN:26018)
18:57:21 T:139962451871808 M:2990448640 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
18:57:21 T:139962451871808 M:2990448640 NOTICE: special://masterprofile/ is mapped to: /home/xbmc/.xbmc/userdata
18:57:21 T:139962451871808 M:2990448640 NOTICE: special://home/ is mapped to: /home/xbmc/.xbmc
18:57:21 T:139962451871808 M:2990448640 NOTICE: special://temp/ is mapped to: /home/xbmc/.xbmc/temp
18:57:21 T:139962451871808 M:2990448640 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
18:57:21 T:139962451871808 M:2990448640 NOTICE: Log File is located: /home/xbmc/.xbmc/temp/xbmc.log
18:57:21 T:139962451871808 M:2990448640 NOTICE: -----------------------------------------------------------------------
18:57:21 T:139962451871808 M:2990043136 NOTICE: Setup SDL
18:57:21 T:139962451871808 M:2989449216 NOTICE: load settings...
18:57:21 T:139962451871808 M:2989449216 NOTICE: special://profile/ is mapped to: special://masterprofile/
18:57:21 T:139962451871808 M:2989449216 NOTICE: loading special://masterprofile/guisettings.xml
18:57:21 T:139962451871808 M:2988670976 NOTICE: Getting hardware information now...
18:57:21 T:139962451871808 M:2988670976 NOTICE: Checking resolution 12
18:57:21 T:139962451871808 M:2988670976 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
18:57:21 T:139962451871808 M:2988670976 NOTICE: Loaded playercorefactory configuration
18:57:21 T:139962451871808 M:2988670976 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
18:57:21 T:139962451871808 M:2988670976 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
18:57:21 T:139962451871808 M:2988670976 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
18:57:21 T:139962451871808 M:2988670976 NOTICE: Default DVD Player: dvdplayer
18:57:21 T:139962451871808 M:2988670976 NOTICE: Default Video Player: dvdplayer
18:57:21 T:139962451871808 M:2988670976 NOTICE: Default Audio Player: paplayer
18:57:21 T:139962451871808 M:2988670976 NOTICE: special://masterprofile/sources.xml
18:57:21 T:139962451871808 M:2983706624 NOTICE: Using fbConfig[0]
18:57:22 T:139962451871808 M:2982219776 NOTICE: GL_VENDOR = NVIDIA Corporation
18:57:22 T:139962451871808 M:2982219776 NOTICE: GL_RENDERER = ION/PCI/SSE2
18:57:22 T:139962451871808 M:2982219776 NOTICE: GL_VERSION = 3.3.0 NVIDIA 256.53
18:57:22 T:139962451871808 M:2982219776 NOTICE: GL_EXTENSIONS = < some graphic stuff I dont think is relevant, and needed to shorten my post >
18:57:22 T:139962451871808 M:2982129664 ERROR: GLX: Same window as before, refreshing context
18:57:22 T:139962451871808 M:2979184640 NOTICE: start dvd mediatype detection
18:57:22 T:139962451871808 M:2979184640 NOTICE: initializing playlistplayer
18:57:22 T:139962451871808 M:2979184640 NOTICE: DONE initializing playlistplayer
18:57:22 T:139962451871808 M:2979184640 NOTICE: load default skin:[Confluence]
18:57:23 T:139962451871808 M:2971729920 ERROR: Unable to open audio mixer
18:57:23 T:139962451871808 M:2971754496 NOTICE: UpdateLibraries - Starting video library startup scan

It's probably just a mislocation of my xml-file, but as far as I can see, this should be right, right?

/greets