Kodi Community Forum

Full Version: Shared thumbnails/fanart not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've got my advancedsettings as follows in the following two locations
XBMC-KITCHEN
XBMC-CINEMA

XBMC-LOUNGE does the actual processing of the Library and has the thumbnails - which display correctly. (Its advancedsetting file does not have the pathsubstitution tag)

XBMC-KITCHEN and XBMC-CINEMA are not displaying the thumbnails at all.

Any advice? Setup is all Windows 7 + XBMC 10.1

Code:
<advancedsettings>
    <pathsubstitution>
      <substitute>
        <from>special://masterprofile/Thumbnails/</from>
        <to>\\XBMC-LOUNGE\Thumbnails\</to>
      </substitute>
    </pathsubstitution>
    <videodatabase>
        <type>mysql</type>
        <host>192.168.137.3</host>
        <port>3306</port>
        <user>xbmc</user>
        <pass>xbmc</pass>
        <name>xbmc_video</name>
    </videodatabase>

    <musicdatabase>
        <type>mysql</type>
        <host>192.168.137.3</host>
        <port>3306</port>
        <user>xbmc</user>
        <pass>xbmc</pass>
        <name>xbmc_music</name>
    </musicdatabase>
</advancedsettings>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>\\XBMC-LOUNGE\Thumbnails\</to>
</substitute>

If you change the "TO" to an SMB link (smb://blah/blah/Thumbnails), does it work?
Im assuming you are on a windows machine? if not you , specifying what OS you are on will help.
yeah you probably need the smb: added here how mine looks and make sure the slashes are like mine below

<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://192.168.1.5/Thumbnails/</to>
</substitute>
</pathsubstitution>

I would also recommend using the IP and not the computer name for the path substitution section, just how you used the IP in the mysql sections.

Also, something I've noticed is that it is not enough to only share the folder. You also need to make sure that the NTFS permissions are set correctly to allow remote users access. In my case, since I don't care about security on my XBMC pcs, I have my NTFS permissions set to user "Everyone" and removed any inherited permissions. In Windows 7 there are also some settings in the "Network and Sharing Center" / "Advanced Sharing Settings" that I changed like.. disable "Require Password to access shares"... once again not very secure but it works for me
cruzannavy Wrote:<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>\\XBMC-LOUNGE\Thumbnails\</to>
</substitute>

If you change the "TO" to an SMB link (smb://blah/blah/Thumbnails), does it work?
Im assuming you are on a windows machine? if not you , specifying what OS you are on will help.

The OS is in the original post - Win 7.


Bogi Wrote:yeah you probably need the smb: added here how mine looks and make sure the slashes are like mine below

<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://192.168.1.5/Thumbnails/</to>
</substitute>
</pathsubstitution>

I would also recommend using the IP and not the computer name for the path substitution section, just how you used the IP in the mysql sections.

Also, something I've noticed is that it is not enough to only share the folder. You also need to make sure that the NTFS permissions are set correctly to allow remote users access. In my case, since I don't care about security on my XBMC pcs, I have my NTFS permissions set to user "Everyone" and removed any inherited permissions. In Windows 7 there are also some settings in the "Network and Sharing Center" / "Advanced Sharing Settings" that I changed like.. disable "Require Password to access shares"... once again not very secure but it works for me

Thanks - will give it a go.
Didn't work...

Looks like this on all the PCs, including the main PC (XBMC-CINEMA), is that correct?

<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://192.168.136.5/Thumbnails/</to>
</substitute>
</pathsubstitution>

I've turned off "password required"
I've checked that the share is accessible from the other PCs.

But it only works from the 'main' PC.

Steps were as follows:
1.) Share default location as "Thumbnails" , (C:\Users\UserName\AppData\Roaming\XBMC\UserData\Thumbnails), check security, turn off password required.
2.) Place AdvancedSettings on all PCs
3.) Reload library on main PC
4.) Confirm main pc working
5.) Other PCs not working.

Am I missing something?
Debug log?
From one of the "not working" machines?
Here's the log from the one not working machine, not sure if its the debug log?
Code:
19:56:12 T:2888 M:502226944  NOTICE: -----------------------------------------------------------------------
19:56:12 T:2888 M:502214656  NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Mar  8 2011 (Git:e9e9099, compiler 1500)
19:56:12 T:2888 M:502214656  NOTICE: Intel(R) Atom(TM) CPU  230   @ 1.60GHz
19:56:12 T:2888 M:502214656  NOTICE: Desktop Resolution: 1366x768 32Bit at 60Hz
19:56:12 T:2888 M:502214656  NOTICE: Running with restricted rights
19:56:12 T:2888 M:502214656  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
19:56:12 T:2888 M:502214656  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
19:56:12 T:2888 M:502214656  NOTICE: special://masterprofile/ is mapped to: C:\Users\UserName\AppData\Roaming\XBMC\userdata
19:56:12 T:2888 M:502214656  NOTICE: special://home/ is mapped to: C:\Users\UserName\AppData\Roaming\XBMC
19:56:12 T:2888 M:502214656  NOTICE: special://temp/ is mapped to: C:\Users\UserName\AppData\Roaming\XBMC\cache
19:56:12 T:2888 M:502214656  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
19:56:12 T:2888 M:502214656  NOTICE: Log File is located: C:\Users\UserName\AppData\Roaming\XBMC\xbmc.log
19:56:12 T:2888 M:502214656  NOTICE: -----------------------------------------------------------------------
19:56:12 T:2888 M:502194176  NOTICE: Setup SDL
19:56:12 T:2888 M:502034432  NOTICE: Found screen: Generic PnP Monitor on Intel(R) 82945G Express Chipset Family, adapter 0.
19:56:12 T:2888 M:502030336  NOTICE: Primary mode: 1366x768 @ 60.00 - Full Screen
19:56:12 T:2888 M:501055488  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
19:56:12 T:2888 M:501055488  NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
19:56:12 T:2888 M:501055488  NOTICE: Previous line repeats 2 times.
19:56:12 T:2888 M:501055488  NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
19:56:12 T:2888 M:501055488  NOTICE: Previous line repeats 2 times.
19:56:12 T:2888 M:501055488  NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
19:56:12 T:2888 M:501055488  NOTICE: Previous line repeats 2 times.
19:56:12 T:2888 M:501055488  NOTICE: Additional mode: 1280x600 @ 60.00 - Full Screen
19:56:12 T:2888 M:501055488  NOTICE: Previous line repeats 1 times.
19:56:12 T:2888 M:501055488  NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
19:56:12 T:2888 M:501403648  NOTICE: Previous line repeats 1 times.
19:56:12 T:2888 M:501403648  NOTICE: Additional mode: 1280x768 @ 60.00 - Full Screen
19:56:12 T:2888 M:501022720  NOTICE: Previous line repeats 1 times.
19:56:12 T:2888 M:501022720  NOTICE: Additional mode: 1366x768 @ 60.00 - Full Screen
19:56:12 T:2888 M:501071872  NOTICE: load settings...
19:56:12 T:2888 M:501035008  NOTICE: special://profile/ is mapped to: special://masterprofile/
19:56:12 T:2888 M:501035008  NOTICE: loading special://masterprofile/guisettings.xml
19:56:12 T:2888 M:500981760  NOTICE: Getting hardware information now...
19:56:12 T:2888 M:500981760  NOTICE: Checking resolution 12
19:56:12 T:2888 M:500969472  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:56:12 T:2888 M:500957184  NOTICE: Loaded playercorefactory configuration
19:56:12 T:2888 M:500957184  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:56:12 T:2888 M:500957184  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:56:12 T:2888 M:500953088  NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
19:56:12 T:2888 M:500953088  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <pathsubstitution>
                                                <substitute>
                                                  <from>special://masterprofile/Thumbnails/</from>
                                                  <to>smb://192.168.137.5/Thumbnails/</to>
                                                </substitute>
                                              </pathsubstitution>
                                              <videodatabase>
                                                <type>mysql</type>
                                                <host>192.168.137.3</host>
                                                <port>3306</port>
                                                <user>xbmc</user>
                                                <pass>xbmc</pass>
                                                <name>xbmc_video</name>
                                              </videodatabase>
                                              <musicdatabase>
                                                <type>mysql</type>
                                                <host>192.168.137.3</host>
                                                <port>3306</port>
                                                <user>xbmc</user>
                                                <pass>xbmc</pass>
                                                <name>xbmc_music</name>
                                              </musicdatabase>
                                            </advancedsettings>
19:56:12 T:2888 M:500944896 WARNING: VIDEO database configuration is experimental.
19:56:12 T:2888 M:500944896  NOTICE: Getting hardware information now...
19:56:12 T:2888 M:500944896  NOTICE: Checking resolution 12
19:56:12 T:2888 M:500944896  NOTICE: Default DVD Player: dvdplayer
19:56:12 T:2888 M:500944896  NOTICE: Default Video Player: dvdplayer
19:56:12 T:2888 M:500944896  NOTICE: Default Audio Player: paplayer
19:56:12 T:2888 M:500936704  NOTICE: Loading media sources from special://masterprofile/sources.xml
19:56:13 T:2888 M:497451008 WARNING: CRenderSystemDX::CreateDevice - initial wanted device config failed
19:56:13 T:2888 M:481468416  NOTICE: initializing playlistplayer
19:56:13 T:2888 M:481468416  NOTICE: DONE initializing playlistplayer
19:56:14 T:2888 M:472702976  NOTICE: CApplication::UpdateLibraries - Starting video library startup scan
19:56:14 T:2888 M:472535040  NOTICE: initialize done
19:56:14 T:2888 M:472526848  NOTICE: Running the application...
19:56:14 T:2888 M:472510464  NOTICE: ES: Starting event server
19:56:14 T:2304 M:472399872  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
19:56:14 T:2304 M:472395776  NOTICE: UDP: Listening on port 9777
19:56:14 T:1940 M:469209088  NOTICE: VideoInfoScanner: Starting scan ..
19:56:16 T:2712 M:451997696  NOTICE: -->Python Interpreter Initialized<--
19:56:17 T:2712 M:449884160  NOTICE: {'limit': '4'}
19:56:20 T:2640 M:447025152   ERROR: WEATHER: Unable to get data: Invalid License Key.
19:56:29 T:2772 M:422055936  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
19:56:34 T:2548 M:382214144  NOTICE: Previous line repeats 1 times.
19:56:34 T:2548 M:382214144  NOTICE: -->Python Interpreter Initialized<--
19:56:35 T:2548 M:380420096  NOTICE: {'limit': '4'}
19:56:37 T:2772 M:362590208  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Assuming you have all of the share permissions correct, you can just stop using the path substitution and use symlinks instead. I've used both methods, but I prefer symlinks for various reasons. Some people don't like them, it's up to you. To try it, remove your thumbnails folder from all of the machines except the HOST machine. Open an elevated command prompt (run as administrator) and then type in:

Code:
CD C:\Users\User_name\AppData\Roaming\XBMC\userdata\

mklink /D Thumbnails \\HTPC\Users\User_name\AppData\Roaming\XBMC\userdata\Thumbnails

Obviously, you need to adjust the paths for YOUR specific machine(s) or this won't work. Make sure you can reach the shared thumbnail directory through Explorer on each machine. If you can't, you have a permissions problem.

No further settings need to be adjusted, every machine that you do this on will essentially think it is using it's own thumbnails directory, but will in fact be using the HOST machines thumbnail directory.

Just make sure you remove the path substitution from all machines that you use the symlink on.
OR enable debug and post the complete log on http://pastebin.com/

Quote:From one of the "not working" machines?
That makes the most sense.
j114 Wrote:Assuming you have all of the share permissions correct, you can just stop using the path substitution and use symlinks instead. I've used both methods, but I prefer symlinks for various reasons. Some people don't like them, it's up to you. To try it, remove your thumbnails folder from all of the machines except the HOST machine. Open an elevated command prompt (run as administrator) and then type in:

Code:
CD C:\Users\User_name\AppData\Roaming\XBMC\userdata\

mklink /D Thumbnails \\HTPC\Users\User_name\AppData\Roaming\XBMC\userdata\Thumbnails

Obviously, you need to adjust the paths for YOUR specific machine(s) or this won't work. Make sure you can reach the shared thumbnail directory through Explorer on each machine. If you can't, you have a permissions problem.

No further settings need to be adjusted, every machine that you do this on will essentially think it is using it's own thumbnails directory, but will in fact be using the HOST machines thumbnail directory.

Just make sure you remove the path substitution from all machines that you use the symlink on.

This worked - thank you Smile
Glad to hear it, thanks for posting back. It is helpful to future users if they bother to search and they can find a confirmed working solution.
Seems to be the neatest solution to me... wasn't even aware that Windows now supported symlinks... it'll be quite useful going forward (job wise).
I want to share my fanart and poster because I don`t see it and I don`t know how to do in a Yosemite Mac runing mysql.
Could someone help me?

Thanks in adavance.
Sharing thumbnails is no longer supported. See the notes on MySQL (wiki).