2011-02-08, 19:42
I really love the palace of mixtapes: Mixcloud.com. Anybody working on a plugin for this DJ mix heaven?
martijnpolman Wrote:http://technolux.blogspot.com/2011/01/pl...-ipad.html
t0mm0 Wrote:wow, that's a complicated way of doing it
t0mm0 Wrote:i was thinking more of just using their api (for example, for the 'cloudcast' that blog post uses as an example check out http://www.mixcloud.com/api/1/cloudcast/...=cloudcast)
the rest of their api (for searching and stuff like that) is documented here.
the only annoying thing is that some of the links return a 404 (their own player just keeps trying until it finds a real link!) so you need to test that before passing the link to the xbmc player.
t0mm0 Wrote:i will get to it eventually if nobody else cuts in, but i'm currently sidetracked with the urlresolver project. t0mm0
t0mm0 Wrote:...for the 'cloudcast' that blog post uses as an example check out...Code:http://www.mixcloud.com/api/1/cloudcast/wildtek/hardwax-xx-special-show.json?embed_type=cloudcast
http://www.mixcloud.com/api/1/cloudcast/Vincenn/bordell-park-085.json?embed_type=cloudcast
Quote:Firstly, we need to know what has been listened to so that we can report usage, pay royalties and provide features such as "Suggested Cloudcasts" on the dashboard. Secondly, Mixcloud needs to pay the bills! We can't give away the audio for free outside of mixcloud.com simply because it costs us to host and stream the files.
That said, it's early days for Mixcloud and we will try to find ways in the future of opening up the audio streams so that we can start seeing new and exciting applications playing Cloudcasts.
xbbx Wrote:indeed, like you too have found out, not all the links are valid, I have no clue though why, if you know let me know please. what is the point in storing a useless link on the mixcloud sever, explain that to me please.
xbbx Wrote:cutting in, cutting in, however I am more interested in a script (greasemonkey??) type addon/plugin that directly shows a download link on the mixcloud page, similar to what it does with the soundcloud page.
xbbx Wrote:so ideally coming up with a script that would check the found links for them being alive or dead(404) and if possible giving the user the e.g. file extension and perhaps bitrate etc, now THAT would b a class plugin. naturally with such a thing the correct URL or correct list or URLs could be passed to xbmc et walla done.
xbbx Wrote:so how can I help? where are you at this at the moment? writing/updating the network sniffer? so far I have not used xbmc since I have happy with mpchc and vlc but always up for trying out new things, especially if they accept changes to my needs. I assume you do all coding with python so far?
xbbx Wrote:checked the documentation but could not find info on the player.. basically how did you find that URL above please? if you could explain that, thanks.
xbbx Wrote:what you posted works for all other streams as well, (just tested it on various cloudcasts) always giving 16 different solutions for each stream, each is a set of 4 different server locations of which some are 404 and others are working for the various file formats and bitrates. so WHO gets to decide what bitrate and what format and what location a mix will be stored at? what is the procedure there?
e.g.
also gives 16 solution of which only a few work. why is Mixcloud doing that?Code:http://www.mixcloud.com/api/1/cloudcast/Vincenn/bordell-park-085.json?embed_type=cloudcast
xbbx Wrote:under: audio-streams it says that:
Quote:Firstly, we need to know what has been listened to so that we can report usage, pay royalties and provide features such as "Suggested Cloudcasts" on the dashboard. Secondly, Mixcloud needs to pay the bills! We can't give away the audio for free outside of mixcloud.com simply because it costs us to host and stream the files.
That said, it's early days for Mixcloud and we will try to find ways in the future of opening up the audio streams so that we can start seeing new and exciting applications playing Cloudcasts.
So perhaps those 16 links might just become a few, perhaps only the working ones, once they open the streams?
http://www.mixcloud.com/userID/mixID/
http://www.mixcloud.com/api/1/cloudcast/userID/mixID.json?embed_type=cloudcast
Varming Wrote:I'm also VERY curious about that as Mixcloud is THE place to go for hot DJ mixes (for free).
There's something at this site that tells how to find the URL of individual mixes, with that info I guess it can't be that difficult to cook something up for a plugin
http://technolux.blogspot.com/2011/08/do...a-aac.html