¿Que?
3rd April 2012, 21:33
I was thinking it'd be kinda neat to create some way that one could listen to the WAYLT with minimal user interaction. That is, rather than having to go through what are you listening thread, and playing each song, rather, you would simply launch an app or a webpage that played each song consecutively.
I've thought about this, and I think using various tools out there, it can be implemented without any need to do any programming (at least nothing major).
Here's how it would work:
The hardest part would be getting the videos from the thread. Whatever method would have to authenticate you, and then would crawl the WAYLT thread and extract the videoid. This last part could be done using regular expressions (http://www.javaprogrammingforums.com/whats-wrong-my-code/9503-please-how-do-i-extract-youtube-video-id-these-links-maybe-using-regex.html), and there's probably a vbulleting api method for logging in and getting thread information and data.
Now that we have al our youtube video ID's, then it's just a matter of how we're going to play them. VLC can play youtube videos, so basically, using some sort of script based automation, you could tell VLC to load each subsequent clip once it finishes with the previous one. Another one would simply be to create a YouTube channel. I think YouTube allows for playing all the videos in a channel without having to hit play everytime, although there may be an api method that works better. The channel would be updated every so often with the new entries, and the user would simply load the channel on a webpage and have the latest songs.
Problems: How to handle a user adding a new song to the thread?
Possibilities: Maybe some sort of script that would check the thread every so often, and update the list of youtube videos when something new comes up.
--------------------
So that's my idea. I'll begin working on this in the next couple of days, unless I decide it's not worth my time. But I think a lot of people on this forum have interesting musical tastes that I think would sound cool as a playlist, when I'm chillin' or whatever.
Any thoughts, input, ideas, critiques?
I've thought about this, and I think using various tools out there, it can be implemented without any need to do any programming (at least nothing major).
Here's how it would work:
The hardest part would be getting the videos from the thread. Whatever method would have to authenticate you, and then would crawl the WAYLT thread and extract the videoid. This last part could be done using regular expressions (http://www.javaprogrammingforums.com/whats-wrong-my-code/9503-please-how-do-i-extract-youtube-video-id-these-links-maybe-using-regex.html), and there's probably a vbulleting api method for logging in and getting thread information and data.
Now that we have al our youtube video ID's, then it's just a matter of how we're going to play them. VLC can play youtube videos, so basically, using some sort of script based automation, you could tell VLC to load each subsequent clip once it finishes with the previous one. Another one would simply be to create a YouTube channel. I think YouTube allows for playing all the videos in a channel without having to hit play everytime, although there may be an api method that works better. The channel would be updated every so often with the new entries, and the user would simply load the channel on a webpage and have the latest songs.
Problems: How to handle a user adding a new song to the thread?
Possibilities: Maybe some sort of script that would check the thread every so often, and update the list of youtube videos when something new comes up.
--------------------
So that's my idea. I'll begin working on this in the next couple of days, unless I decide it's not worth my time. But I think a lot of people on this forum have interesting musical tastes that I think would sound cool as a playlist, when I'm chillin' or whatever.
Any thoughts, input, ideas, critiques?