[RELEASE] Myspace MP3 (Music) Plugin

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Unbehagen Offline
Skilled Python Coder
Posts: 347
Joined: Jul 2007
Reputation: 4
Location: Bremen, Germany
Thumbs Up  [RELEASE] Myspace MP3 (Music) Plugin
Post: #1
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!
(This post was last modified: 2007-10-24 00:32 by Unbehagen.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,181
Joined: Oct 2003
Reputation: 176
Post: #2
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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
HarshReality Offline
Posting Freak
Posts: 1,544
Joined: Jan 2005
Reputation: 0
Post: #3
JM... try this

Link

[Image: x3.jpg]
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,181
Joined: Oct 2003
Reputation: 176
Post: #4
Thanks HarshReality - most appreciated.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
szsori Offline
TheTVDB.com Admin
Posts: 662
Joined: Aug 2006
Reputation: 1
Location: Milwaukee, WI
Post: #5
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
find quote
Unbehagen Offline
Skilled Python Coder
Posts: 347
Joined: Jul 2007
Reputation: 4
Location: Bremen, Germany
Post: #6
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 .
find quote
dafunks Offline
Member
Posts: 73
Joined: Feb 2007
Reputation: 0
Post: #7
Can you add a download button (If it can be done in a plugin)
find quote
Unbehagen Offline
Skilled Python Coder
Posts: 347
Joined: Jul 2007
Reputation: 4
Location: Bremen, Germany
Post: #8
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.
find quote
Unbehagen Offline
Skilled Python Coder
Posts: 347
Joined: Jul 2007
Reputation: 4
Location: Bremen, Germany
Post: #9
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
find quote
Unbehagen Offline
Skilled Python Coder
Posts: 347
Joined: Jul 2007
Reputation: 4
Location: Bremen, Germany
Post: #10
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
find quote
dominater01 Offline
Member
Posts: 98
Joined: May 2007
Reputation: 0
Post: #11
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
find quote
brownhouse Offline
Junior Member
Posts: 8
Joined: May 2008
Reputation: -10
Post: #12
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.
find quote