Create rhythmbox playlist file from directory entries.
Are you tired from creating playlists everytime you add bunch of music? Then this script might be for you.
- Run
generate_playlist.sh
script in directory containing directories with your musicbash generate_playlist.sh
- Copy contents of
rhythmbox_partial_playlist.xml
- Open your
playlists.xml
file (find it withfind ~ | fgrep rhythm | fgrep playlist
) - Paste immediately after
<rhythmdb-playlists>
tag (doesn't really matter, just don't corrupt existing entries) - Make sure rhythmbox isn't running (
killall rhythmbox
) and save it - Profit
- don't worry about intendation rhythmbox will do that for you