サイマルラジオURLリストの作り方

station.txt の作り方です

booksa さんの gist らじる★らじるを録音するWSH の一部を借用させてもらってます

  curl -sL 'https://gist.github.com/booska/ce06605ccb9d7ba9f1cfc2184935a0bb/raw'  | \
  grep 'aa.*\.Add'                                                                | \
  sed 's/^aa//;s/\.Add /,/'                                                       | \
  sed 's/"[\t ]*'\''/,/'                                                          | \
  tr -d \"                                                                        | \
  awk -F, -v OFS=, '$1~/JCBA/{$3="http://musicbird-hls.leanstream.co/musicbird/"$3".stream/playlist.m3u8"    }{print}' | \
  awk -F, -v OFS=, '$1~/LISR/{$3="http://mtist.as.smartstream.ne.jp/"           $3"/livestream/playlist.m3u8"}{print}' | \
  sort -st, -k1,1r

ここから部分的に手作業で修正を加えています


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2020-07-12 (日) 22:50:32