Advertisement
GeeckoDev

indexof to m3u - bash script

Jun 23rd, 2012
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Here's a little script which outputs an m3u playlist from an "Index Of" URL.
  2.  
  3. #!/bin/bash
  4. lynx -dump $1 | egrep -o "$1.*(mp3|ogg|aac|wma|flac)" > $2
  5.  
  6. Usage:
  7.  
  8. bash indexof_to_m3u.sh http://bit.nl.eu.org/media/audio/Binaerpilot-Nordland-MICROHERTZ-2010/ playlist.m3u
  9.  
  10. then you can play this playlist.
  11.  
  12. vlc playlist.m3u
  13.  
  14. Have fun!
  15. - GeeckoDev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement