Skip to content

Instantly share code, notes, and snippets.

View OlehHappy's full-sized avatar

Oleh Daybov OlehHappy

  • Praha, Czech Republic
View GitHub Profile
@OlehHappy
OlehHappy / di.sh
Created June 24, 2016 00:09
di.fm playlist downloader - bash
#/bin/sh
# Usage: di.sh PLAYLIST_DIR [URL] [FILENAME_PREFIX]
# USER="username"
# PASS="userpass"
dir=$1; url=$2 prefix=$3
if [ "$dir" == "" ]; then
echo "Usage: di.sh PLAYLIST_DIR [URL] [FILENAME_PREFIX]"
@OlehHappy
OlehHappy / di-fm-premium-account-generator.sh
Created February 9, 2016 11:49 — forked from hackruu/di-fm-premium-account-generator.sh
Generate di.fm premium account and playlist. Also supports radiotunes.com (ex sky.fm) and jazzradio.com.
#!/bin/bash
AGENT="AudioAddict-di/1.4.7 iOS/8.1"
COOKIES="./cookies.txt"
AUTH="ephemeron:dayeiph0ne@pp"
DOMAIN=gmail.com
PLAYLISTDI="di.fm.m3u"
PLAYLISTSKY="sky.fm.m3u"
PLAYLISTJAZZ="jazzradio.m3u"
PLAYLISTROCK="rockradio.m3u"
JSONDI="http://listen.di.fm/premium_high.json"