2013-10-05, 19:45
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!
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!