How do I change thumbnail storage location?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rosendir Offline
Junior Member
Posts: 1
Joined: Mar 2011
Reputation: 0
Location: Sweden
Post: #1
When I ask XBMC to scan my movie content it places cover art on each folder but stores them in application data. How do I tell xbmc not to store them in the thumbnailcache but place them in the same folder as the movie?
find quote
hymnz Offline
Junior Member
Posts: 4
Joined: Apr 2011
Reputation: 0
Location: India
Thumbs Up  How do I change thumbnail storage location?
Post: #2
rosendir Wrote:When I ask XBMC to scan my movie content it places cover art on each folder but stores them in application data. How do I tell xbmc not to store them in the thumbnailcache but place them in the same folder as the movie?

Yes. I do want to know about this. I have a huge collection (>2TB) of files and the cache takes up large amount of space in C:\ drive. Can anyone tell me how I can specifically set the location for thumbnail cache?

Thank you.
find quote
bradvido88 Offline
Donor
Posts: 781
Joined: Nov 2008
Reputation: 9
Location: MN
Post: #3
You can replace you're appdata Thumbnail folder with a symbolic link that points to a folder somwhere else.

Also, if you need to save space, check my signature for cleaning up thumbnails/fanart

XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
find quote
hymnz Offline
Junior Member
Posts: 4
Joined: Apr 2011
Reputation: 0
Location: India
Question   
Post: #4
bradvido88 Wrote:You can replace you're appdata Thumbnail folder with a symbolic link that points to a folder somwhere else.

@bradvido88.. Can you guide me through that part?
find quote
hymnz Offline
Junior Member
Posts: 4
Joined: Apr 2011
Reputation: 0
Location: India
Big Grin   
Post: #5
hymnz Wrote:@bradvido88.. Can you guide me through that part?

It worked as a charm. Thank you Big Grin
find quote
nogi Offline
Member
Posts: 61
Joined: Aug 2010
Reputation: 0
Post: #6
hymnz Wrote:It worked as a charm. Thank you Big Grin

Can you post what you did here please for the benefit of anyone else that finds this thread via search for the same issue.
find quote
hymnz Offline
Junior Member
Posts: 4
Joined: Apr 2011
Reputation: 0
Location: India
Lightbulb   
Post: #7
nogi Wrote:Can you post what you did here please for the benefit of anyone else that finds this thread via search for the same issue.

  1. Close xbmc.
  2. Move Thumbnails folder from "C:\Users\XYZ\AppData\Roaming\XBMC\userdata" (Vista/7) to your required location.
  3. Open command prompt with admin privileges and type this syntax - mklink /J "Destination" "Source"


ex: I've moved the Thumbnails folder to my P: drive and my destination is C:\Users\[i]XYZ\AppData\Roaming\XBMC\userdata\Thumbnails[/i]
so I type mklink /J "C:\Users\XYZ\AppData\Roaming\XBMC\userdata" "P:\Thumbnails"

Note: If you are using Windows XP mklink is not available for execution. You can check this site for linking. Be sure to select junction.

and voila.. A directory will be created in place of your actual Thumbnails folder in your xbmc folder which linked to the Thumbnails folder you moved to.
(This post was last modified: 2011-04-20 09:50 by hymnz.)
find quote
Renegita Offline
Junior Member
Posts: 16
Joined: Sep 2011
Reputation: 0
Post: #8
Hi, I'm trying to move my database from XBMC Local Folder to my MySQL Database running on my NAS.

The database is working well, but i wouldlike to move the thumbinails folder on my NAS too

My advancedsettings.xml is:

Code:
<videodatabase>
<type>mysql</type>
<host>192.168.1.14</host>
<name>xbmc_video</name>
<user>reneg</user>
<pass>password</pass>
</videodatabase>

<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails</from>
<to>\\192.168.1.14\Data\Database_XBMC\Thumbnails</to>
</substitute>
</pathsubstitution>

</advancedsettings>

Debug:

Code:
20:06:47 T:124 M:2188328960  NOTICE: -----------------------------------------------------------------------
20:06:47 T:124 M:2188300288  NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Mar  8 2011 (Git:e9e9099, compiler 1500)
20:06:47 T:124 M:2188300288  NOTICE: Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
20:06:47 T:124 M:2188300288  NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
20:06:47 T:124 M:2188300288  NOTICE: Running with administrator rights
20:06:47 T:124 M:2188300288  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
20:06:47 T:124 M:2188300288  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
20:06:47 T:124 M:2188300288  NOTICE: special://masterprofile/ is mapped to: C:\Users\Administrator\AppData\Roaming\XBMC\userdata
20:06:47 T:124 M:2188300288  NOTICE: special://home/ is mapped to: C:\Users\Administrator\AppData\Roaming\XBMC
20:06:47 T:124 M:2188300288  NOTICE: special://temp/ is mapped to: C:\Users\Administrator\AppData\Roaming\XBMC\cache
20:06:47 T:124 M:2188300288  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
20:06:47 T:124 M:2188300288  NOTICE: Log File is located: C:\Users\Administrator\AppData\Roaming\XBMC\xbmc.log
20:06:47 T:124 M:2188300288  NOTICE: -----------------------------------------------------------------------
20:06:47 T:124 M:2188279808  NOTICE: Setup SDL
20:06:47 T:124 M:2187939840  NOTICE: Found screen: Monitor generico Plug and Play on NVIDIA GeForce GTX 590, adapter 0.
...........................
...........................
...........................
20:06:47 T:124 M:2186698752  NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
20:06:47 T:124 M:2186698752  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <videodatabase>
                                                <type>mysql</type>
                                                <host>192.168.1.14</host>
                                                <name>xbmc_video</name>
                                                <user>reneg</user>
                                                <pass>stealth</pass>
                                              </videodatabase>
                                              <pathsubstitution>
                                                <substitute>
                                                  <from>special://masterprofile/Thumbnails</from>
                                                  <to>\\192.168.1.14\Data\Database_XBMC\Thumbnails</to>
                                                </substitute>
                                              </pathsubstitution>
                                            </advancedsettings>
20:06:47 T:124 M:2186686464 WARNING: VIDEO database configuration is experimental.

..... and doesn't work.

Thumbnails folder is RE-CREATED in MASTERPROFILE FOLDER
find quote
outatouch0 Offline
Fan
Posts: 642
Joined: Jun 2011
Reputation: 3
Location: NC - USA
Post: #9
rosendir Wrote:When I ask XBMC to scan my movie content it places cover art on each folder but stores them in application data. How do I tell xbmc not to store them in the thumbnailcache but place them in the same folder as the movie?
I don't think your actual question was answered yet. If I remember correctly, if you export your library (individual folders type) xbmc will put the pitures (.jpg & .tbn) in each folder along with .nfo for the file.
Now, if you delete your videos thumbnail cache files... I really don't know if xbmc will simply use what is in your individual folders or if it will recreate the cache files. Give it a try and let us know?
you may have to delete the textures database as well as the video database to keep it from rebuilding/recreating the cache files. IDK Of course that means rebuilding the library from scratch.
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 18,248
Joined: Jan 2011
Reputation: 219
Location: Arizona, USA
Post: #10
I don't think the original poster is coming back. He did this one post 6 months ago.

Renegita: Do this: http://forum.xbmc.org/showpost.php?p=837103&postcount=2
find quote
Renegita Offline
Junior Member
Posts: 16
Joined: Sep 2011
Reputation: 0
Post: #11
Thank You... Smile
find quote
outatouch0 Offline
Fan
Posts: 642
Joined: Jun 2011
Reputation: 3
Location: NC - USA
Post: #12
Ned Scott Wrote:I don't think the original poster is coming back. He did this one post 6 months ago.

LOL good eye Ned
find quote
rocketpants Offline
Donor
Posts: 674
Joined: Oct 2009
Reputation: 6
Location: Perth, Australia
Post: #13
Ned Scott Wrote:Renegita: Do this: http://forum.xbmc.org/showpost.php?p=837103&postcount=2

Does path substitution work in Dharma? I thought it was a pre-Eden feature. This makes things quite interesting.

Mac Mini and ASRock ION 330 running Windows 7 and XBMC
PVOutput.org
find quote
Renegita Offline
Junior Member
Posts: 16
Joined: Sep 2011
Reputation: 0
Post: #14
Code:
<advancedsettings>
  <pathsubstitution>
    <substitute>
      <from>special://Thumbnails/</from>
      <to>smb://somecomputer/folder/etc/Thumbnails/</to>
    </substitute>
  </pathsubstitution>
</advancedsettings>

I've tryed it, but doesn't work for me. XBMC still using default Thumb Folder. Any other suggestion ?, have I to change something else ?

Thank you
find quote
Renegita Offline
Junior Member
Posts: 16
Joined: Sep 2011
Reputation: 0
Post: #15
here my last Debug .... I got the folder created in right place only 1 time Sad

Code:
19:50:55 T:6288 M:1776226304  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <loglevel>1</loglevel>
                                              <videodatabase>
                                                <type>mysql</type>
                                                <host>192.168.1.14</host>
                                                <name>xbmc_video</name>
                                                <user>reneg</user>
                                                <pass>stealth</pass>
                                              </videodatabase>
                                              <musicdatabase>
                                                <type>mysql</type>
                                                <host>192.168.1.14</host>
                                                <port>3306</port>
                                                <user>reneg</user>
                                                <pass>stealth</pass>
                                                <name>xbmc_music</name>
                                              </musicdatabase>
                                              <pathsubstitution>
                                                <substitute>
                                                  <from>special://masterprofile/Thumbnails</from>
                                                  <to>smb://192.168.1.14/data/Thumbnails/</to>
                                                </substitute>
                                              </pathsubstitution>
                                            </advancedsettings>
19:50:55 T:6288 M:1776218112   DEBUG: Configuring path substitutions
19:50:55 T:6288 M:1776218112   DEBUG:   Registering substition pair:
19:50:55 T:6288 M:1776218112   DEBUG:     From: [special://masterprofile/Thumbnails]
19:50:55 T:6288 M:1776218112   DEBUG:     To:   [smb://192.168.1.14/data/Thumbnails/]
19:50:55 T:6288 M:1776218112 WARNING: VIDEO database configuration is experimental.
19:50:55 T:6288 M:1776218112  NOTICE: Getting hardware information now...
19:50:55 T:6288 M:1776218112    INFO: Using analog output
19:50:55 T:6288 M:1776218112    INFO: AC3 pass through is enabled
19:50:55 T:6288 M:1776218112    INFO: DTS pass through is enabled
19:50:55 T:6288 M:1776218112    INFO: AAC pass through is disabled
19:50:55 T:6288 M:1776218112    INFO: MP1 pass through is disabled
19:50:55 T:6288 M:1776218112    INFO: MP2 pass through is disabled
19:50:55 T:6288 M:1776218112    INFO: MP3 pass through is disabled
19:50:55 T:6288 M:1776218112  NOTICE: Checking resolution 12
19:50:55 T:6288 M:1776218112  NOTICE: Default DVD Player: dvdplayer
19:50:55 T:6288 M:1776218112  NOTICE: Default Video Player: dvdplayer
19:50:55 T:6288 M:1776218112  NOTICE: Default Audio Player: paplayer
19:50:55 T:6288 M:1776386048  NOTICE: Loading media sources from special://masterprofile/sources.xml
19:50:55 T:6288 M:1776357376    INFO: creating subdirectories
19:50:55 T:6288 M:1776357376    INFO: userdata folder: special://masterprofile/
19:50:55 T:6288 M:1776357376    INFO: recording folder:
19:50:55 T:6288 M:1776357376    INFO: screenshots folder:
19:50:55 T:6288 M:1777373184    INFO: thumbnails folder: special://masterprofile/Thumbnails
19:50:55 T:6288 M:1777336320    INFO: load language info file: special://xbmc/language/Italian/langinfo.xml
19:50:55 T:6288 M:1777328128    INFO: load language file:special://xbmc/language/Italian/strings.xml
find quote
Post Reply