[bash script] export library movies and TV shows list
#1
Hi,
I just have finished simple bash script for exporting XBMCs library movies and TV shows list.

Download here:
xbmc-dblist

installation:
  • download
  • unzip
  • change owner of script to user who uses XBMC (script uses ~/.xbmc path, so finds database files in /home/username/.xbmc/... ) for XBMC Live:
    Code:
    chown xbmc:xbmc xbmc-dblist
  • set user execute rights
    Code:
    chmod u+x xbmc-dblist
  • install sqlite3 package
    Code:
    sudo apt-get install sqlite3

usage:
Code:
./xbmc-dblist media format [filename]

media – movies, tvshows nebo both - what do you want to list
  • movies – only movies
  • tvshows – only TV shows
  • both – movies and TV shows
format - html nebo text - output file format

filename – optional parameter, filename of output file, if not given, script will use default name xbmc-db.txt

example:
Code:
./xbmc-dblist both html output.html
will list movies and TV shows in HTML format to file output.html

extra settings:
in script, you can specify custom title and CSS style to HTML output by editing variables

Script is very simple and could be more efective I believe :-)
But I hope some of you could use and enjoy it. Leave a response if you like it or have any suggestion :-)

originaly posted in Czech language here: http://ajty.net/xbmc/export-seznamu-xbmc-knihovny
Reply
#2
Your website is down for me, any change you can post the bash script here?

edit - scrap that request, I can connect now.
Reply
#3
I hate bring up an old post to the surface but does
anyone have this script posted anywhere, or is there anything
similiar around?
In a world without walls and fences who needs windows and gates, open source, opens minds, so open yours today.

Image
Reply

Logout Mark Read Team Forum Stats Members Help
[bash script] export library movies and TV shows list0