FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Feature Requests › AudioScrobbler / last.fm support
- This topic has 53 replies, 18 voices, and was last updated 14 years, 8 months ago by pcace.
-
AuthorPosts
-
13/07/2007 at 5:38 AM #5234uncleremusParticipant
Thanks guys,
but I do not use iTunes, neither am I running windows (but Linux), so I have to resort to do some scripting of the log files from mt-daapd.
I’m fairly fluent in Perl, so what would start me going would be to know how to get artist/title/album, etc. per played track to a log file from mt-daapd. Is that easy?
20/07/2007 at 8:44 AM #5235PingParticipantHi,
correct me if i’m wrong (I just jumped on the matter), the point here is to submit the played tracks to audioscrobbler, in order to update own profile. But playing the actual custom radio stream is not the goal or..? Because I stumbled on a blog post of someone explaining how to get a session from last.fm and recover a playable shoutcast stream. Here is the link:
http://gabistapler.de/blog/index.php?/archives/268-Play-last.fm-streams-without-the-player.html
With some server side scripting might be possible to be logged automatically and get the radio channel playing. Metadata is missing in the stream but can still be requested via http.
Am I saying obvious stuff? π π
Thanks,
Ste
21/07/2007 at 6:16 PM #5236rpeddeParticipant@Ping wrote:
Hi,
correct me if i’m wrong (I just jumped on the matter), the point here is to submit the played tracks to audioscrobbler, in order to update own profile. But playing the actual custom radio stream is not the goal or..?
Correct, this thread deals mostly with updating profile info.
Because I stumbled on a blog post of someone explaining how to get a session from last.fm and recover a playable shoutcast stream. Here is the link:
http://gabistapler.de/blog/index.php?/archives/268-Play-last.fm-streams-without-the-player.html
With some server side scripting might be possible to be logged automatically and get the radio channel playing. Metadata is missing in the stream but can still be requested via http.
Am I saying obvious stuff? π π
Thanks,
Ste
To make that all go on firefly needs a better scripting system built-in. I hope to do something like that at some point, but it’s not there yet.
— Ron
15/09/2007 at 8:44 PM #5237smbrannanParticipant@rpedde wrote:
@smbrannan wrote:
@rpedde wrote:
Once that’s done, then I think the last.fm scripting stuff will be fairly easy.
— Ron
Sounds good – thanks for the update. I’ll be looking for it – will you make some sort of announcement?
S
There is an rss feed at http://nightlies.mt-daapd.org. That will have notes when I’ve added it.
– Ron
Is this any closer to reality?
I still believe it would be really cool.
I’ve tried the scripts posted here but I’m basically clueless about how to get them working. Specific advice on how use the scripts would be welcome too. I’m running svn-1376 on OS X 10.4.10
16/09/2007 at 2:01 AM #5238rpeddeParticipant@smbrannan wrote:
@rpedde wrote:
@smbrannan wrote:
@rpedde wrote:
Once that’s done, then I think the last.fm scripting stuff will be fairly easy.
— Ron
Sounds good – thanks for the update. I’ll be looking for it – will you make some sort of announcement?
S
There is an rss feed at http://nightlies.mt-daapd.org. That will have notes when I’ve added it.
– Ron
Is this any closer to reality?
I still believe it would be really cool.
I’ve tried the scripts posted here but I’m basically clueless about how to get them working. Specific advice on how use the scripts would be welcome too. I’m running svn-1376 on OS X 10.4.10
Step one right now is stabilizing the codebase for a stable release.
UPnP and scripting are the items on the next stable after that.
I was thinking probably another month to stable, and scripting first after that pretty quickly. I think I’ll probably do a ruby scripting engine first, as I think I can get that running fairly quickly.
— Ron
26/10/2007 at 7:32 PM #5239magnateParticipantHi Ron,
Are you familiar with lastfmsubmitd? Here:
http://www.red-bean.com/~decklin/software/lastfmsubmitd/
It takes the pain out of writing lastfm plugins, because all you need to do is have the server output details of each song served to /var/spool/lastfm/
Just wondered if this might help, if you weren’t already aware of it. Not much use for windoze users of course, but great for *nix.
HTH,
CC
28/12/2007 at 8:23 PM #5240blammParticipantHi.
I am trying to get this to work on XP. Cant get the perl to run. It is complaining about line 6 “use Audio::Scrobbler;”.
Am using ActivePerl and the only scrobble package I can find is netscrobbler.
Any suggestions?
31/12/2007 at 5:22 AM #5241rpeddeParticipant@blamm wrote:
Hi.
I am trying to get this to work on XP. Cant get the perl to run. It is complaining about line 6 “use Audio::Scrobbler;”.
Am using ActivePerl and the only scrobble package I can find is netscrobbler.
Any suggestions?
http://search.cpan.org/~roam/Audio-Scrobbler-0.01/lib/Audio/Scrobbler.pm
I *think* activeperl support cpan, so something like:
perl -MCPAN -e shell
should get you into the cpan shell and
install Audio::Scrobbler
should get it installed from the cpan shell.
— Ron
03/01/2008 at 10:20 AM #5242blammParticipantTa.
Active perl comes with a package manager that appears to download from CSPAN for you. Unfortunately I am getting in a mess with dependancies on other packages. For some reason I cant add the package that allows perl to work with ini files.
Getting to hard for me.
08/01/2008 at 6:47 AM #5243rpeddeParticipant@blamm wrote:
Ta.
Active perl comes with a package manager that appears to download from CSPAN for you. Unfortunately I am getting in a mess with dependancies on other packages. For some reason I cant add the package that allows perl to work with ini files.
Getting to hard for me.
mmm… yeah. cpan considered harmful. I don’t have an answer for that, except that it might be faster to write an ini file parser in perl than it would to try and untangle the cpan issues. π
-
AuthorPosts
- The forum ‘Feature Requests’ is closed to new topics and replies.