2013-03-14, 12:21
(2013-03-12, 20:43)robweber Wrote:(2013-03-10, 15:35)sufreak Wrote: So I ran into an issue, but I'm unable to find a fix.
I created a new video DB (long unrelated story) and re-added my movie and tv show sources. When I run the update, it does not clean the library, saying the source does not exist.
What source specifically can't it find? You could also just try disabling the verify paths option. There is the off chance that if the verify paths can't find it that the clean operation will remove stuff, but if you think it's a false message you could try it.
I think its both, but fails on one source, and the other never runs. Please let me know what info you need.
Here is my xbmc.log
Code:
06:28:39 T:139838049171200 NOTICE: -->Python Interpreter Initialized<--
06:28:39 T:139838049171200 NOTICE: service.libraryautoupdate: update timers
06:28:42 T:139838049171200 NOTICE: service.libraryautoupdate: Update Library Manual Run...
06:28:42 T:139838049171200 NOTICE: service.libraryautoupdate: update timers
06:28:42 T:139838049171200 NOTICE: service.libraryautoupdate: Update Video Library
06:28:42 T:139838657373952 NOTICE: Thread CVideoInfoScanner start, auto delete: false
06:28:42 T:139838657373952 NOTICE: VideoInfoScanner: Starting scan ..
06:28:50 T:139838657373952 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://htpc:htpc@mediapc/tvshows/Degrassi'
unix_err:'2' error : 'No such file or directory'
06:28:50 T:139838657373952 ERROR: GetDirectory - Error getting smb://htpc:htpc@mediapc/tvshows/Degrassi/
06:28:52 T:139838657373952 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://htpc:htpc@mediapc/tvshows/Green%20Lantern%20The%20Animated%20Series'
unix_err:'2' error : 'No such file or directory'
06:28:52 T:139838657373952 ERROR: GetDirectory - Error getting smb://htpc:htpc@mediapc/tvshows/Green Lantern The Animated Series/
06:28:53 T:139838657373952 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://htpc:htpc@mediapc/tvshows/Once%20Upon%20a%20Time%20%282011%29'
unix_err:'2' error : 'No such file or directory'
06:28:53 T:139838657373952 ERROR: GetDirectory - Error getting smb://htpc:htpc@mediapc/tvshows/Once Upon a Time (2011)/
06:28:53 T:139838657373952 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://htpc:htpc@mediapc/tvshows/Talking%20Dead'
unix_err:'2' error : 'No such file or directory'
06:28:53 T:139838657373952 ERROR: GetDirectory - Error getting smb://htpc:htpc@mediapc/tvshows/Talking Dead/
06:28:53 T:139838657373952 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://htpc:htpc@mediapc/tvshows/The%20Cleveland%20Show'
unix_err:'2' error : 'No such file or directory'
06:28:53 T:139838657373952 ERROR: GetDirectory - Error getting smb://htpc:htpc@mediapc/tvshows/The Cleveland Show/
06:28:54 T:139838657373952 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://htpc:htpc@mediapc/tvshows/The%20Walking%20Dead'
unix_err:'2' error : 'No such file or directory'
06:28:54 T:139838657373952 ERROR: GetDirectory - Error getting smb://htpc:htpc@mediapc/tvshows/The Walking Dead/
06:28:55 T:139838657373952 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://htpc:htpc@mediapc/tvshows/Young%20Justice'
unix_err:'2' error : 'No such file or directory'
06:28:55 T:139838657373952 ERROR: GetDirectory - Error getting smb://htpc:htpc@mediapc/tvshows/Young Justice/
06:28:55 T:139838657373952 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:12
06:28:59 T:139838049171200 NOTICE: service.libraryautoupdate: Path smb://mediapc/movies/rips/ does not exist
06:29:06 T:139838049171200 NOTICE: Thread Jobworker start, auto delete: true
06:30:40 T:139839038023488 NOTICE: Previous line repeats 2 times.
06:30:40 T:139839038023488 NOTICE: Samba is idle. Closing the remaining connections
The error from the log:
Quote:06:28:59 T:139838049171200 NOTICE: service.libraryautoupdate: Path smb://mediapc/movies/rips/ does not exist
My sources: (I addded the 2 paths as file sources to see if it would help. It did not)
Code:
<sources>
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>Videos</name>
<path pathversion="1">/storage/videos/</path>
</source>
<source>
<name>Movies - Rips</name>
<path pathversion="1">smb://htpc:htpc@mediapc/movies/rips/</path>
</source>
<source>
<name>tvshows</name>
<path pathversion="1">smb://htpc:htpc@mediapc/tvshows/</path>
</source>
</video>
<music>
<default pathversion="1"></default>
<source>
<name>Music</name>
<path pathversion="1">/storage/music/</path>
</source>
</music>
<pictures>
<default pathversion="1"></default>
<source>
<name>Pictures</name>
<path pathversion="1">/storage/pictures/</path>
</source>
</pictures>
<files>
<default pathversion="1"></default>
<source>
<name>tvshows</name>
<path pathversion="1">smb://htpc:htpc@mediapc/tvshows/</path>
</source>
<source>
<name>Movies - Rips</name>
<path pathversion="1">smb://htpc:htpc@mediapc/movies/rips/</path>
</source>
</files>
</sources>
My mediasources.xml
Code:
<mediasources>
<network>
<location id="0">smb://htpc:htpc@mediapc/tvshows</location>
<location id="1">smb://htpc:htpc@mediapc/movies/rips</location>
</network>
</mediasources>
Thanks for this script. It seems to be working ok on my other device, but I only have a singular source there, not both.