[Rhythmbox-devel] rbx2m3u: Rhythmbox to M3U playlist conversion utility



Dear Rhythmbox folk,
In case anyone else might find this useful, here is a little shell script to convert Rhythmbox playlists to M3U playlists. M3U playlists can be read by XMMS, WinAmp, iTunes and most CD burning software.
Enjoy.
-Andy


*#!/bin/bash
#rbx2m3u
#Ethan Townsend and Andy Leifer
#This script takes as imput an exported Rhythmbox playlist and outputs an m3u formatted playlist.
# For example:
# rbx2m3u rhythmboxplaylist.txt playlist.m3u
echo Converting Rhythmbox Playlist to .m3u file....
echo "#EXTM3U" >> $2; awk '/file/ {print substr($0,index($0,"//")+2) }' $1 |sed s/%20/\ /g >> $2
*echo Done


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]