OS X Weird problems with XBMC 13.0 and file paths.
#1
Ok, I have been all morning trying to troubleshoot this, but I can't find why is this happening.

I have my media separated in different locations and folders (like, I guess, many people here). At some point, I changed the location to some new places, so instead of messing with SQL database I just erased the old movies and shows and left the new ones. They are mainly kids movies (so I can have that folder for the XBMC in the kids room).

Also, the path for thumbnails and so is also off.

Just for clarification, this is a screenshot taken of 12.3. See there is no image for the last three movies and Toy Story and Toy Story 2 are there.

Image

This is a screenshot taken on the same computer, same advancesettings.xml, same database. There is thumbnail for The Hunger Games and Toy Story and Toy Story 2 are not there (but if I navigate through videos, I can find the movies and play them).

Image


This is my advancesettings.xml that I share with all the devices running XBMC

Quote:<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>172.26.0.50</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>

<musicdatabase>
<type>mysql</type>
<host>172.26.0.50</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>

<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>nfs://172.26.0.50/Qmultimedia/media/Thumbnails/</to>
</substitute>
<substitute>
<from>special://masterprofile/Playlists/</from>
<to>nfs://172.26.0.50/Qmultimedia/media/Playlists/</to>
</substitute>
<substitute>
<from>special://masterprofile/RssFeeds.xml</from>
<to>nfs://172.26.0.50/Qmultimedia/media/RSSFeeds.xml/</to>
</substitute>
<substitute>
<from>special://masterprofile/sources.xml</from>
<to>nfs://172.26.0.50/Qmultimedia/media/sources.xml/</to>
</substitute>
<substitute>
<from>special://masterprofile/favourites.xml</from>
<to>nfs://172.26.0.50/Qmultimedia/media/favourites.xml</to>
</substitute>
</pathsubstitution>

</advancedsettings>

And this is the sources.xml pointed in the previous file

Quote:<sources>
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>Películas</name>
<path pathversion="1">nfs://172.26.0.50/Qmultimedia/Películas/</path>
<path pathversion="1">nfs://172.26.0.55/nfs/Multimedia/Películas/</path>
<path pathversion="1">nfs://172.26.0.55/nfs/Multimedia/Niños/Películas</path>
</source>
<source>
<name>Series</name>
<path pathversion="1">nfs://172.26.0.55/nfs/Multimedia/Series/</path>
<path pathversion="1">nfs://172.26.0.50/Qmultimedia/Series/</path>
<path pathversion="1">nfs://172.26.0.55/nfs/Multimedia/Niños/Series/</path>

</source>
</video>
<music>
<default pathversion="1"></default>
</music>
<pictures>
<default pathversion="1"></default>
</pictures>
<files>
<default pathversion="1"></default>
</files>
</sources>

* Just FYI, files on nfs://172.26.0.55/nfs/Multimedia/Niños/Películas where located before on nfs://172.26.0.50/Almacén/Niños/ or nfs://172.26.0.50/Qmultimedia/Películas



Ok, so if I go to the 13.0 log, there are a lot of warnings on the log file like these ones

Quote:13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Cantajuegos/Volumen 1/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Cantajuegos/Volumen 2/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Cantajuegos/Volumen 3/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Cantajuegos/Volumen 4/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Cantajuegos/Volumen 5/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Cantajuegos/Volumen 6/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Cantajuegos/Volumen 7/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Cantajuegos/Volumen 8/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Heidi/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Jake y Los Piratas de Nunca Jamas/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/La Casa de Mickey Mouse/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Las Canciones de Disney Junior/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Little Einstein/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Miliki. Había una Vez un Circo/' does not exist - skipping scan.
13:51:51 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Almacén/Niños/Phineas y Ferb/' does not exist - skipping scan.
13:52:01 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Qmultimedia/Películas/AVI/Blancanieves y los Siete Enanitos/' does not exist - skipping scan.
13:52:01 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Qmultimedia/Películas/AVI/Cars - Los Cuentos de Mate/' does not exist - skipping scan.
13:52:01 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Qmultimedia/Películas/AVI/Dumbo/' does not exist - skipping scan.
13:52:01 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Qmultimedia/Películas/AVI/El Valiente Despereaux/' does not exist - skipping scan.
13:52:01 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Qmultimedia/Películas/AVI/Fantasia 2000/' does not exist - skipping scan.
13:52:01 T:4526874624 WARNING: Process directory 'nfs://172.26.0.50/Qmultimedia/Películas/AVI/La Bella y la Bestia/' does not exist - skipping scan.

As you can see, despite what it is written on the sources.xml, XMBC is looking for files on the old directory and not the new one. And only 13.0 is behaving like this.

Why is this happening? What file is XBMC 13.0 reading to try to look at the old path instead at the right file shared with all devices?
Reply
#2
OMG...I had a similar problem just yesterday. All of a sudden XBMC decided to scan a SMB share to my media server. The share path was definately not in my sources.xml file. I gave up after an hour and decided to delete the passwords.xml file and it seems to have cured its desire to scan since I guess it no longer knows the password details for the SMB shares.

I connect to a Windows 7 box and have the shared folders mounted as volumes on my OSX desktop. The pathnames in my sources.xml file show up something like "/volumes/D/movies"....where "D" is the shared drive on the windows machine. I have given up completely on SMB as the SMB shares would randomly disappear and reappear. A google search found plenty of problems with OSX's SMB2 protocol connecting reliably to Windows SMB shares.

EDIT:

For clarification, the SMB share path that XBMC suddenly decided to start scanning...it USED to be in my scanned directories but has not been used for about a week. It is DEFINITELY not in the sources.xml file.
Reply
#3
sources.xml is only used to "set content" and for the file listings. The database has its own paths. If you move files then you must rescan them into the library. You cannot change paths by changing them in sources.xml. Use XBMC -> Settings -> Videos -> Library -> Clean library to get rid of the old unused paths and then add the new paths to the library.

To tell XBMC to remove the path from the DB you need to have said "yes" when XBMC asked if you wanted to update the library when you removed the source from the GUI (this is one reason why we tell people to not manually edit sources.xml). You can get around this by re-adding the file source without scanning it, then removing it and then answering "yes" when it asks again.
Reply
#4
Thanks, I think I got it.

I have done what you said and have been updating the files and it seems they appear now correctly. I'll see when I add some new files.
Reply
#5
To add, it is odd and unintuitive how the library paths are currently handled. I image this is something that will eventually be improved upon as the video library evolves. It's very easy to get these "phantom sources" with no clear way to remove them, even with a local library :)
Reply
#6
(2014-03-17, 00:37)Ned Scott Wrote: To add, it is odd and unintuitive how the library paths are currently handled. I image this is something that will eventually be improved upon as the video library evolves. It's very easy to get these "phantom sources" with no clear way to remove them, even with a local library Smile

Tell me about it!!!!

I've used your info in this thread to sort out my issues but just in the last 30 minutes I have yet another SMB share suddenly want to start scanning which created a ton of duplicates. So I followed your instructions and added the "phantom source" to the GUI and didn't scan it, then removed it and answered "yes" and viola!...duplicates gone. I went one step further and re-added the "phantom source" (love that term!) and enabled the "exclude path from library updates" so hopefully I'm good for now.

I'm fairly certain that this is an OSX SMB issue as I never had a problem like this under Windows. I'm pretty close to just turfing the old Windows media storage box and upgrading to 4TB HD's and consolidate to a local library anyway.

cheers
Reply

Logout Mark Read Team Forum Stats Members Help
Weird problems with XBMC 13.0 and file paths.0