stvhwrd / SmoothStreamsTV-playlist

📺 👌 [Python script] Generate an M3U8 playlist (for VLC, MPC, MPlayer, etc.) from your command line.
http://steviehoward.com/SmoothStreamsTV-playlist
MIT License
3 stars 0 forks source link

Server is hardcoded, no option for anything other than US West #3

Closed stvhwrd closed 8 years ago

stvhwrd commented 8 years ago

Users should be able to select from the list of actual servers instead of being forced to use US West.

Could use a .config file that's generated on first run, or prompt user for server selection on each run.

stvhwrd commented 8 years ago

Server prefixes for HLS

format:

"http://" + serverPrefix + ".smoothstreams.tv:9100/viewstvn/ch19.smil/playlist.m3u8?wmsAuthSign=" + authToken;
Europe:

"EU i3d": "deu.NL1",
"EU NL Evo": "deu.nl2",
"EU UK 1": "deu.uk1",
"EU UK 2": "deu.uk2",
"EU Deutschland": "deu.de1"

North America:

"US West SJ": "dnaw1",
"US East NJ": "dnae1",
"US East VA": "dnae2",
"CA East Toronto": "dnae3",
"CA East Montreal": "dnae4"

Asia:

"Singapore": "dSG"