XBMC DB Scripts - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: XBMC DB Scripts (/showthread.php?tid=175059) |
XBMC DB Scripts - ventolin - 2013-10-05 Here are some scripts I threw together every now again to scratch itches I had with the XBMC database. https://github.com/kopf/xbmc-db-scripts In order to use them, you'll need to be using a mysql backend to xbmc. A short overview of the scripts: * fix_thumbnails.py: Add thumbnails for artists that xbmc is aware of, but for some reason or another didn't link to the artist. * fix_recently_added.py: Fix the order of 'recently added' music. * ensure_smb_protocol_in_paths.py: Convert paths in the form '\\ip\share\file.avi' to 'smb://ip/share/file.avi' for cross-OS compatibility. * import_foo_playcount_stats.py: Import statistics incrementally from foobar2000's foo_playcount plugin. For much more information and instructions on running these scripts, see the README documentation in the repo: https://github.com/kopf/xbmc-db-scripts Hope others find these tools useful! RE: XBMC DB Scripts - hernandito - 2013-10-06 Hi Ventoline Thank you for sharing these....! They seem quite useful even though currently I do not have a need for them. I did however run into an ordeal a few weeks ago that I managed to resolve by using media managers, and by having to re-scrape my movie libraries a few times. It was not easy to do and it basically ate 2 days of my time. I have a huge library of movies and none of the actors had any thumbnails associated with them. I was wondering if a DB script could be done that basically cleans and adds these thumbnails as necessary. Something similar to your fix_thumbnails.py Thanks again, H. |