URI: 
       brtv-playlist-to-pls.sh - bitreich-tv - Meme TV encoding and streaming
  HTML git clone git://bitreich.org/bitreich-tv git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-tv
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR LICENSE
       ---
       brtv-playlist-to-pls.sh (282B)
       ---
            1 #!/bin/sh
            2 # supply output from brtv-generate-playlist.sh as stdin
            3 
            4 printf '[playlist]\n'
            5 
            6 i=0
            7 while IFS='
            8 ' read -r url; do
            9         i=$((i + 1))
           10         f="${url##*/}"
           11         printf 'File%d=%s\n' "$i" "$url"
           12         printf 'Title%d=bitreich-tv - #%s\n' "$i" "${f%.*}"
           13 done
           14 
           15 printf 'NumberOfEntries=%d\n' "$i"