MilhouseVH / texturecache.py

Utility script to manage the XBMC texture cache
http://forum.xbmc.org/showthread.php?tid=158373
GNU General Public License v2.0
181 stars 34 forks source link

use of the software ina XBMC Environment with different profile #5

Closed gborri closed 11 years ago

gborri commented 11 years ago

Will great if there was the possibility to use the software in XBMC with different profile. the behaviour coul be like this: clean the .xbmc/userdata/thumbnails if necessary clean each profile thumbnails if enabled MediaInfo--> separated

MilhouseVH commented 11 years ago

How or what would this achieve? I'm not that familiar with profiles in XBMC, but as far as I can tell JSON has no support for profiles, so not sure what can be done here, let alone what your objective is.

gborri commented 11 years ago

the thumbnails is in different location if profile is used. the script now will clean only the master Thumbnail directory not the profile dir in witch the thumbnails is stored

MilhouseVH commented 11 years ago

Ah OK.

In that case, create a new section (eg. [profile1]) in your properties file for each profile, for each profile/section specify the unique userdata and other properties needed to access the database/thumbnails etc, then run texturecache.py with the @section argument specifying the profile you want to access/update.

This support was added yesterday in version 0.6.5. See the README or this forum post.

gborri commented 11 years ago

thanks you. Yesterday i have updated the software but i got an error. Unfortunately i don't have log here. The error rise with p or P option. tonight i will paste to this issue.

MilhouseVH commented 11 years ago

OK, hopefully it's just a configuration error. If not I would suggest opening a separate issue.

MilhouseVH commented 11 years ago

I'll close this as resolved now that issue #6 is fixed - please re-open if a problem with profiles remains.