Kodi Community Forum

Full Version: [RELEASE] Myspace MP3 (Music) Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Strangely, now myspace mp3 download works for me without this security token (see other dev thread). I don't know if this will work for all users as myspace seems to have banned some users?
http://rapidshare.com/files/56666733/MySpace.rar
Edit: or here, without Rapidshare: http://theendofthelongestline.de/xbox/do.../index.php
Put it in Q:\plugins\music\ in a MySpace folder and add it via Add source.. Music Plugins.. Myspace.
Thanks for testing this!
Do you have the myspace plugin hosted other than on rapidshare? I'm at work, which is behind a proxy and thus it doesn't function.
JM... try this

Link
Thanks HarshReality - most appreciated.
I'm an idiot. I can't get this to work. Do I enter my myspace id into the setting or the myspace id of the band I want to set up the source for? How does this really work? Will it allow me to search for any music on myspace and play it, do I have to set up a source for each artist I want to listen to, or does it somehow relate to my profile?

Like I said... I'm an idiot (not normally, but with this I am). Smile
szsori Wrote:I'm an idiot. I can't get this to work. Do I enter my myspace id into the setting or the myspace id of the band I want to set up the source for? How does this really work? Will it allow me to search for any music on myspace and play it, do I have to set up a source for each artist I want to listen to, or does it somehow relate to my profile?

Like I said... I'm an idiot (not normally, but with this I am). Smile
You enter the myspace id of the band that you want to listen to. With idea I mean what you enter after the myspace.com/[thisthinghere], for example enter dasgrind, because you would enter myspace.com/dasgrind in your browser. After you entered it once, it will be available in the virtual folder "history" . You can also edit the history.txt. Just go to some myspace pages. Look at the html source of the page and grab the numeric friend id (search for "var friendid=" or something, can't remember). Then enter it in the format [band's name],[numeric friend id].
All of this only works if the myspace user uses the normal myspace mp3 thingy, the one where you have a small playlist of 3 to five items, like the one on http://myspace.com/dasgrind .
Can you add a download button (If it can be done in a plugin)
dafunks Wrote:Can you add a download button (If it can be done in a plugin)

If I did that, this would steal some of the plugin's possibilites. The way it is currently, I can select the history folder via context menu and play all the mp3s of all the bands in my history. If I add a download ability to the plugin, it would ask if you want to download the song for a 100 times. Imagine this:

Myspace->History->Band->Song
(This is how the plugin in currently)

With the download ability, it would probably look like this:
Myspace->History->Band->Song->Play and
Myspace->History->Band->Song->Download to..

If I played the history folder recusrsively, it would also "play" the "Download to.." item which would cause XBMC to display the directory browsing dialog...

I guess it would be possible with a structure like:
Myspace->History->Band->Song and
Myspace->Download from history->Band->Song

But I currently don't have time to implement this feature. It shouldn't be that hard though. I think to learn just a bit of python this could be a nice task. You can attach a download=1 parameter to the folder url and check for that when adding the song items.
You can copy the download and browsing code from the TVLinks unbehagen version.
Somehow this stopped working for me. Here is my fix:
Open default.py in an editor and find the function getsonglist and replace it with the following:
Code:
def getsonglist(friendid):
        conn = urllib.urlopen("http://mediaservices.myspace.com/services/media/musicplayerxml.ashx?b="+str(friendid))
        a=conn.read()
        return a
New version of the Myspace plugin released, with bugfixes. Should now work with all bands that have the big myspace player on their page. http://theendofthelongestline.de/xbox/do.../index.php
hey i was wondering if u could use this site in this myspace plugin http://www.file2hd.com/?myspacemp3 all you do is put a bands url in and push the get files button and agree to terms of service and the filter on audio and there you go it shows all the songs that person has on there myspace and you can download
Hi all i would like to request if somebody could get the myspace plugin to have the function of downloading the songs. Also i'm using the latest t3ch rev13120 release and the search function where you put in user id_ doesn't ever find any results? Can this also be fixed.

I have no python experience so please could someone help to add this feature. I was thinking the use of the "XBMC script intaller/downloader plugin" (available in latest t3ch program plugins) could be a suitable start point in adding the feat. to myspace plugin as it has a download function too.

Thankyou in advance.