How to create html5 audio playlist?

Create Youtube playlist from list of links

  • I want to create Youtube playlists based on lists of Youtube URLs. How? A common use case is: someone asks MetaFilter a question about good music, and a bunch of folks respond with links to Youtube. And I want to listen to it all, but I don't want to sit and click through each one! Or, someone will post a mega-YouTube linkdump, and I want to listen to it all, but I don't want to sit and click through each one! Extracting the URLs is trivial - how do I queue them up to play? An on-the-fly playlist is good (http://roll.io looks like it might be able to do this, but I can't actually get it to do anything), but a real saveable playlist that I can then access from my AppleTV is ideal.

  • Answer:

    OK, here's how you get there. Go to YouTube while logged in. Make a new playlist by whichever method you prefer. Go to your home page on YouTube, and click "Playlists" in the left column. Find your new playlist in the list, and click on its name. You'll see the page for that playlist. At the upper left, click "Edit Playlist". Then the editing screen will appear, with a button: "Add video by URL." Click that. Paste in each URL, click the "Add" button, and you're set! Not quite as fast as a solution that would process an entire list of URLs without human intervention, but still pretty darned fast if you have the list ready to go.

dirtdirt at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

It ought to be possible to write a Python script that consumes a URL and retrieves it via the http://docs.python-requests.org/en/latest/ or http://docs.python.org/2/library/urllib2.html libraries, scrapes the Youtube links out of the page (a regex should do), and uses the Youtube API to create/update https://developers.google.com/youtube/v3/docs/playlists and https://developers.google.com/youtube/v3/docs/playlistItems. Here's Google's https://developers.google.com/youtube/v3/code_samples/python for working with the Youtube API. I'd guess you're looking at an hour of work, if you know Python--maybe 3 hours if you know how to program but haven't used Python before.

Monsieur Caution

There's a feature in YouTube (sign up for a YouTube account, which can be the same as your Google account) called http://www.youtube.com/feed/playlists. You can create playlists right there!

xingcat

D'oh! I should have mentioned that in my question! In order to create playlists through the interface you need to open each video, click add to playlist, and so forth. And, yeah, it works, but it involves babysitting it, and manually touching each video. I want something more automatic!

dirtdirt

I post most of my bookmarks to various categories of Pinterest pages out of convenience. I have one for music and I like that I can access it anywhere. http://pinterest.com/memilygiraffe/piano/

mermily

There is an "add to playlist by URL" field on the new playlist screen. So you can just rapidly paste them in without having to open each video at all. I can't get to the page at the moment, but I will come back and post specifically how to find it when I get back to my computer.

litlnemo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.