24 May '13 - 13:49 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 2 [3] 4 5 ... 37
  Reply  |  Print  
Author Topic: XMPlay Last.fm/Audioscrobbler plugin (xmp-scrobbler)  (Read 333896 times)
yagood
Posts: 215


« Reply #40 on: 3 Apr '06 - 10:07 »
Reply with quoteQuote

yagood, you are a superstar! not only are you managing to get last.fm support sorted for XMPlay, you are doing it in super quick time, and also hoping to support way more formats than any other player is able. This could quite possibly be the best last.fm support in ANY player.

thankyou so much, I hope you realise how much everyone appreciates this Cheesy

Thank you! About supporting more formats - it is really only merit of XMPlay and Ian is a real superstart here, because xmp-scrobbler simply reads what XMPlay makes accessible. But I'm glad that with my small project I can fill out this small gap between XMPlay and Last.fm.
Logged
yagood
Posts: 215


« Reply #41 on: 3 Apr '06 - 16:40 »
Reply with quoteQuote

I released xmp-scrobbler 0.2 - check out the first post in this thread.
« Last Edit: 3 Apr '06 - 16:45 by yagood » Logged
Haze
Guest
« Reply #42 on: 3 Apr '06 - 22:09 »
Reply with quoteQuote

I released xmp-scrobbler 0.2 - check out the first post in this thread.

W00t, thanks for the fast releases! And I'm proud to say... well, it's more stable than the previous version. Grin But it crashes from time to time nonetheless. I've put the log up for you at http://www.few.vu.nl/~cvwalta/downloads/xmp-scrobbler.txt. Which, given the campus' network, should be up from time to time. Wink
Logged
raina
Posts: 1088


« Reply #43 on: 6 Apr '06 - 17:23 »
Reply with quoteQuote

Yes!! I installed Python for Windows. Then I ran LastFMProxy 1.1 Alpha after having put in my last.fm login and edited one of the scripts according to this thread:

http://www.last.fm/group/LastFMProxy/forum/22620/_/83823/2#f1001548

I fired up the proxy and voila! XMPlay is now playing my last.fm station! How cool is that?  Grin

No such luck here. The Proxy's window stays empty of all data and feeding XMPlay with the playlist from the "Start radio" link makes XMPlay go: "HTTP/1.0 503 Service unavailable". Now, if I install the official LastFM player, then magically the proxy springs to life, but if I shut the player down, the proxy will empty again off all data. And when the proxy is actually showing signs of life, there's no link to get the playlist from. Bah. I can't do anything right.  Angry
Logged
amit
Guest
« Reply #44 on: 7 Apr '06 - 04:12 »
Reply with quoteQuote

is there a proxy support at this point of developement?

amit
Logged
Philippe
Posts: 42


« Reply #45 on: 7 Apr '06 - 11:04 »
Reply with quoteQuote

No such luck here. The Proxy's window stays empty of all data and feeding XMPlay with the playlist from the "Start radio" link makes XMPlay go: "HTTP/1.0 503 Service unavailable". Now, if I install the official LastFM player, then magically the proxy springs to life, but if I shut the player down, the proxy will empty again off all data. And when the proxy is actually showing signs of life, there's no link to get the playlist from. Bah. I can't do anything right.  Angry

What are you trying to achieve Raina?

If you want to play one of the LastFM stations through XMPlay, you need to do it through the LastFM player.
Start to play the Station
When the LastFM player opens click on the option button (bottom right corner)
Select Use external player.

That's it ( you have to keep both players open since the LastFM player streams the music to XMPlay)

I hope this helped ?
Logged
yagood
Posts: 215


« Reply #46 on: 7 Apr '06 - 22:13 »
Reply with quoteQuote

is there a proxy support at this point of developement?

No, but it should be pretty easy to add, so I think I can include it in the next version (should be out this weekend hopefully).

Anyway, I've been using xmp-scrobbler for a few days this week and I have to say that its stability sucks... I mean, I like listening to a whole album at once and when xmp-scrobbler crashes XMPlay in the middle of the album then it's pretty annoying... I don't know how much more I can do to improve it, because xmp-scrobbler code is already very simple, but I will try to figure something out with Ian's help...
« Last Edit: 7 Apr '06 - 22:15 by yagood » Logged
lingenfr
Posts: 59


« Reply #47 on: 8 Apr '06 - 03:11 »
Reply with quoteQuote

Nothing phenomenal here I think - xmp-scrobbler simply does its job (hopefully :-). Anyway, thanks for your support. About playing Last.fm radio stations in XMPlay - well,  I haven't looked into Last.fm Player source, but I can imagine that that would require a lot more work than simple submitting plugin. Have you tried LastFMProxy? Looks good, maybe it works somehow with XMPlay.

Yes!! I installed Python for Windows. Then I ran LastFMProxy 1.1 Alpha after having put in my last.fm login and edited one of the scripts according to this thread:

http://www.last.fm/group/LastFMProxy/forum/22620/_/83823/2#f1001548

I fired up the proxy and voila! XMPlay is now playing my last.fm station! How cool is that?  Grin

Thank you for the advice.

Below a screenshot of the proxy running under Opera with XMPlay playing the station. Pretty cool.

img deleted

Thanks for the tip. Works super.
Logged
raina
Posts: 1088


« Reply #48 on: 9 Apr '06 - 23:07 »
Reply with quoteQuote

What are you trying to achieve Raina?

Hmm, what I was trying to achieve was playing the radio stations with XMPlay, not with the official player. The two players thing sounds/feels/is messy and I was under the impression the proxy thing would suffice. I also tried the external player setting in the Last.fm Player and it made XMPlay try and connect to http://localhost:1881/ but with or without the LastFMProxy running, the Service stayed Unavailable.
Logged
lingenfr
Posts: 59


« Reply #49 on: 10 Apr '06 - 00:37 »
Reply with quoteQuote

I have my XMPlay working with lastfmproxy without using the lastfm player at all. I use firefox and had to follow the instructions to do the registry edit in order to be able to click on links and have them open with XMPlay. Other than that it was pretty straightforward. Maybe there is more than one way to get at it, but I think that I am doing what you intend to do. I followed the instructions to associate changestation.py with pythonw so there is no annoying command line process running. I added it to my startup folder so it is always running. If you have specific questions, I will share what I know.
« Last Edit: 10 Apr '06 - 02:40 by lingenfr » Logged
Philippe
Posts: 42


« Reply #50 on: 10 Apr '06 - 02:06 »
Reply with quoteQuote

What are you trying to achieve Raina?

Hmm, what I was trying to achieve was playing the radio stations with XMPlay, not with the official player. The two players thing sounds/feels/is messy and I was under the impression the proxy thing would suffice. I also tried the external player setting in the Last.fm Player and it made XMPlay try and connect to http://localhost:1881/ but with or without the LastFMProxy running, the Service stayed Unavailable.


Well... It does work for me that way.
I do agree that using the LastFM player to stream the feed to XMPlay is/feels awkward/messy, but I can't figure if there is another way.
And no, I do NOT want to use the LastFMProxy / Python combination.

Sorry I can't offer more insight
Philippe
Logged
raina
Posts: 1088


« Reply #51 on: 10 Apr '06 - 07:42 »
Reply with quoteQuote

And no, I do NOT want to use the LastFMProxy / Python combination.

It doesn't seem like a messy combination to me. The Python environment just allows me to run any scripts in Python language (LastFMProxy just happens to be my first one) and getting the stream from a local web page is a much more preferable to me than from another player with its own set of controls and whatnot.

One of the problems I encoutered was that after configuring Firefox, the lastfm:// links always wanted to open in the Last.fm Player. I don't specifically remember what I typed in as the value for the new string entry in Firefox's advanced config but I guess it had to have been the changestation.py with its full path since I was following the instructions. Doesn't make sense though.

Since lingenfr has it working in a way that sounds like what I'm trying to achieve, I'm not giving up just yet. I'll give it another go soon. There's a lesson for all to be learned from my experience: Don't try this at home.. I mean if you're in a middle of moving to another place and can't fully devote yourself to reading every bit of info and configuring the setup by the book. Smiley
Logged
lingenfr
Posts: 59


« Reply #52 on: 10 Apr '06 - 12:11 »
Reply with quoteQuote

raina, regardless of the settings I changed in about:config, the links would not work. When I went into the registry and replaced the entry for lastfmplayer with xmplayer, then it worked. The documents are available on lastfm's website. There is a document for ff and one for windows. The instructions that worked for me are in the windows document.
Logged
Rah'Dick
XMPlay Support
Posts: 923


« Reply #53 on: 21 Apr '06 - 03:10 »
Reply with quoteQuote

Just a little sidenote: I added xmp-scrobbler 0.2 to the support site, with the note that it's experimental.
Cheers.
Logged
yagood
Posts: 215


« Reply #54 on: 21 Apr '06 - 09:12 »
Reply with quoteQuote

Just a little sidenote: I added xmp-scrobbler 0.2 to the support site, with the note that it's experimental.
Cheers.

Nice, thank you. I'm very busy at work lately, but I'll try to find some time this weekend to work on xmp-scrobbler.
Logged
DarkSpoon
Guest
« Reply #55 on: 22 Apr '06 - 21:02 »
Reply with quoteQuote

I have a bug to report with the plugin, apparently related to the length of the song title and/or artist.

Since I installed the plugin, XMPlay crashes exactly 4 minutes into a certain song, i.e. exactly when xmp-scrobbler tries to submit. This is what xmp-scrobbler.txt says:

2006-04-22 21:43:09   DSP_NewTrack (OPEN)
2006-04-22 21:43:09   Next submission in 240 seconds...
2006-04-22 21:43:46   Handshaking: Client up to date.
2006-04-22 21:43:46   Submit interval set to 1 second(s).
2006-04-22 21:43:46   Handshake successful.
2006-04-22 21:47:08   XMP_GetChannelData (id = 301994115, ch = info1, hconv = 335551875, hdata = 369104643, hszService = 49153, hszTopic = 49155)
2006-04-22 21:47:14   DSP_New()


I assume the DSP_New() happens after I restarted XMPlay.

I'm guessing it's related to the length of the song info received from XMPlay, because the song in question is called (and tagged as) "The Seven Seals are Revealed at the End of Time as Seven Bows:  The BloodBow, The PissBow, The PainBow, The FamineBow, The DeathBow, The AngerBow, The HoHoHoBow".  Wink

Could you check if this is fixable? I know it's an extreme example when it comes to the length of song titles, but the extremes are always something to consider..
Logged
lingenfr
Posts: 59


« Reply #56 on: 22 Apr '06 - 22:14 »
Reply with quoteQuote

I didn't realize it was experimental. I suppose I will hang a test tube off my monitor. It works just fine and does what it is supposed to do. However, it appears from my dirty corner of the web that the server has been down all day as I have been unable to connect. Hopefully that cache can hold alot as I have been jamming all day. Go Josh Wink and others.
Logged
yagood
Posts: 215


« Reply #57 on: 23 Apr '06 - 00:58 »
Reply with quoteQuote

I have a bug to report with the plugin, apparently related to the length of the song title and/or artist.

Since I installed the plugin, XMPlay crashes exactly 4 minutes into a certain song, i.e. exactly when xmp-scrobbler tries to submit. (...)

Yeah, it was a small but nasty bug, please download an updated version and it all should be OK now. Thank you for your report.

I didn't realize it was experimental. I suppose I will hang a test tube off my monitor. It works just fine and does what it is supposed to do. However, it appears from my dirty corner of the web that the server has been down all day as I have been unable to connect. Hopefully that cache can hold alot as I have been jamming all day. Go Josh Wink and others.

It is "experimental" because there are couple of things I would like to improve before calling it an "official" release. Well, I have to say that cache handling is one of these things so please don't be mad if it'll turn out that xmp-scrobbler failed to cache your all-day playing Roll Eyes There also was a request for proxy support - this will be added too.
Logged
raina
Posts: 1088


« Reply #58 on: 24 Apr '06 - 12:16 »
Reply with quoteQuote

Shouldn't xmp-scrobbler be listening to what XMPlay tells it is playing, not scanning the file? I read earlier that's what it does but it isn't submitting SID files although they're plentifully tagged. The reason seems to be the track being too short. Now, if it was listening to XMPlay, it would tell the duration according to the SLDB (song lenght database) or if there's no entry, 3:30 which I've set the default. Also, no module files are sent although I've tagged some in the xmp library. Also, Ogg Vorbis files seem to be randomly ignored, unless "Artist/Title missing" actually means "Artist/Title/Track/Album missing". I'm sorry if I appear rude but I'm frustrated with not being able to solve these problems myself.

EDIT: Ok, submitting Ogg Vorbis seems to depend (in addition to Artist/Title tags + duration) on the Album tag.
« Last Edit: 24 Apr '06 - 12:36 by raina » Logged
yagood
Posts: 215


« Reply #59 on: 24 Apr '06 - 20:08 »
Reply with quoteQuote

Shouldn't xmp-scrobbler be listening to what XMPlay tells it is playing, not scanning the file? I read earlier that's what it does but it isn't submitting SID files although they're plentifully tagged. The reason seems to be the track being too short. Now, if it was listening to XMPlay, it would tell the duration according to the SLDB (song lenght database) or if there's no entry, 3:30 which I've set the default.

Hmm... I'm not sure I understand. Xmp-scrobbler doesn't scan any files - it gets all data from XMPlay and then it searches for Artist, Title and Album tags in "Message" string (that's the string XMPlay displays if you press F2). If it doesn't find either of those three - track is considered "badly tagged". About "track too short" message in logs - hmm... could you send me this file you have problems with? Xmp-scrobbler gets song length from XMPlay too so I'm not sure why it's not working...

Also, no module files are sent although I've tagged some in the xmp library. Also, Ogg Vorbis files seem to be randomly ignored, unless "Artist/Title missing" actually means "Artist/Title/Track/Album missing". I'm sorry if I appear rude but I'm frustrated with not being able to solve these problems myself.

EDIT: Ok, submitting Ogg Vorbis seems to depend (in addition to Artist/Title tags + duration) on the Album tag.

Yes, these problems are most likely caused by Album tag - xmp-scrobbler requires it, but I don't think that modules actually have one... or maybe I'm wrong? I'll have to check it, nevermind though. However, if I remember correctly, Winamp plugin submits tracks regardless of Album tag setting (it only requires Artist and Title) so I think I can do this too in xmp-scrobbler. What do you think?
« Last Edit: 24 Apr '06 - 20:10 by yagood » Logged
Pages: 1 2 [3] 4 5 ... 37
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines