Message from @-𝕋𝕖𝕘𝕣𝕒-

Discord ID: 545225139227197445


2019-02-13 12:44:07 UTC  

I dumped it out from bandcamp.

2019-02-13 12:44:14 UTC  

I made a script for it.

2019-02-13 12:44:29 UTC  

is it playable on winamp now?

2019-02-13 12:44:32 UTC  

```python
import sys
import json
import os
import re

ytarg = sys.argv[1]
list = re.search('list=(.+)', ytarg)
if list != None:
ytarg = list.group(1)

cmd = "youtube-dl -J --flat-playlist " + ytarg
out = os.popen(cmd).read()
out = out.encode('utf-8')
j = json.loads(out)

fn = j["title"].encode('utf-8') + ".m3u"
fn = fn.replace('/', " ")
f = open(fn, "w")
f.write("#EXTM3U\n")
for e in j['entries']:
f.write("#EXTINF:0," + e['title'].encode('utf-8') + "\n")
f.write(e['url'] + "\n")
```

2019-02-13 12:44:50 UTC  

Go ahead and try it on Winamp. I'd like to see if it works.

2019-02-13 12:45:20 UTC  

If it doesn't, I could modify it to have links to the audio URLs directly, but they might have tokens that expire.

2019-02-13 12:45:29 UTC  

nope

2019-02-13 12:46:07 UTC  

Does that work?

2019-02-13 12:46:27 UTC  

That's a direct link to Bandcamp's CDN.

2019-02-13 12:46:47 UTC  

no. It works in browser
But not in winamp

2019-02-13 12:46:59 UTC  

Ah, that's too bad. Why can't winamp handle that?

2019-02-13 12:47:20 UTC  

I remember listening to shoutcast and such in my Win95 days.

2019-02-13 12:47:37 UTC  

Drove my internet cost through the roof.

2019-02-13 12:48:06 UTC  

The script you just posted - it's making a list of what?

2019-02-13 12:48:54 UTC  

You take a youtube playlist and make an m3u?

2019-02-13 12:49:17 UTC  

That's for bandcamp.

2019-02-13 12:49:22 UTC  

You give it the URL of an album.

2019-02-13 12:49:30 UTC  

Do you want one for YouTube?

2019-02-13 12:49:32 UTC  

why do you use youtube downloader?

2019-02-13 12:50:02 UTC  

It's the same protocol?

2019-02-13 12:50:41 UTC  

Ah, you are about to find out something awesome.

2019-02-13 12:50:52 UTC  

youtube-dl supports HUNDREDS of different sites.

2019-02-13 12:51:05 UTC  

I only learned that last week.

2019-02-13 12:51:18 UTC  

oh

2019-02-13 12:52:27 UTC  

Do they have a github?

2019-02-13 12:52:47 UTC  

They don't support mako TV...

2019-02-13 12:53:35 UTC  

👌

2019-02-13 12:55:38 UTC  

oh, sorry

2019-02-13 12:55:40 UTC  

there you go

2019-02-13 12:56:00 UTC  

send them a pull request if you need mako TV

2019-02-13 12:56:03 UTC  

it might work already

2019-02-13 12:57:16 UTC  

👌🏻

2019-02-13 12:57:20 UTC  

pull request? Pull request is for me to code it for them 😆

2019-02-13 12:57:26 UTC  

Also, don't use that skin tone.

2019-02-13 12:57:27 UTC  

I don't believe I'm on that level yet

2019-02-13 12:57:34 UTC  

We need to keep all emoji white.