I just moved my libarary from one server to another, updated my xbmc_video.path table so I wouldn't lose any of my settings however now I don't have thumbnails for anything. My question is how can I force the redownload of all the thumbnails and show posters?
My setup is:
- MySQL for my lib - 192.168.0.11
- All files are shared by Win 7 - was smb://Master-Chief/ now is smb://Mario/
- I watch on 2 Win 7 x64 computers and 1 Mac running 10.6 - 0.11, 0.12, 0.13
I also have a issue where if a file is discovered on one computers it won't have a poster or thumb on any other. I know I can share the XBMC dir however since I have a Mac client I don't think that will work to well.
My question is how can I for XBMC to redownload all or all missing posters and thumbs? I know the URL for them is stored in the DB. I made a request for a plugin a few weeks ago however it's something I need now since I moved my file server it lost all the thumbs/posters and I have 2,465 files with about 75% played.
I'm running XBMCSetup-20110810-d6e73b8-master on all systems
Re-Download Thumbs and Posters?
scotepi
Junior Member Joined: Jul 2011 Reputation: 0 Location: Augusta, ME |
2011-08-11 19:03
Post: #1
(This post was last modified: 2011-08-12 02:28 by scotepi.)
|
| find quote |
scotepi
Junior Member Joined: Jul 2011 Reputation: 0 Location: Augusta, ME |
2011-08-13 03:02
Post: #2
Thanks to wishie on IRC for helping my not run into this issue in the furture.
In C:\Users\.....\AppData\Roaming\XBMC\userdata\advancedsettings.xml Code: <advancedsettings>He also said that the Thumbnails/Video/x/xxxxxx.tbn was a CRC of the path, using that I made a little php script for windows, if your one mac or linux be sure to use / for paths instead of \\ Code: <?phpThis will require a lot of editing depending on your setup. I lost my thumbs because I move from files from 1 server to another and updated my DB to reflect that. All I had to do was move the thumbnails from the crc of the old path to the new path. The old path as smb://master-chief/ and the new path is smb://mario/ as you can see by the str_replace on $oldPath
(This post was last modified: 2011-08-13 06:05 by scotepi.)
|
| find quote |
castortray
Fan Posts: 503 Joined: May 2009 Reputation: 0 |
2011-08-13 09:26
Post: #3
Hi,
How to run this script ? |
| find quote |
scotepi
Junior Member Joined: Jul 2011 Reputation: 0 Location: Augusta, ME |
2011-08-13 16:32
Post: #4
I wouldn't really recommend it if you don't know php. it's vary incomplete, i posted it primarily as a base for people with a similar issue or if someone wanted to write a whole system for it.
In a few months I'm going to be moving my shares again and may revisit this and make it a proper script that would also change the paths in the DB. |
| find quote |

Search
Help