AudioScrobbler / last.fm support

requests for enhancements, and features for next version

Moderators: Developers, Webadmins

Postby rpedde on Thu May 17, 2007 11:13 am

djurnove wrote:Is there a way to change my installation (on an NSLU2) to use sqlite instead of gdb? There doesn't seem to be an option in the cfg file.


You'll have to upgrade to nightlies. there are instructions at the wiki: http://wiki.fireflymediaserver.org

-- Ron
User avatar
rpedde
Site Admin
Site Admin
 
Posts: 4251
Joined: Mon Nov 22, 2004 12:55 am

Postby kellyharding on Tue Jun 26, 2007 8:10 pm

You don't actually need any extra feature for this on a Mac with iTunes, as iScrobbler will automatically do this for you. Least it is working for me. The windows version should also work I'd imagine.
kellyharding
regular
regular
 
Posts: 46
Joined: Mon Apr 09, 2007 5:44 pm
Location: United Kingdom

Postby uncleremus on Thu Jul 12, 2007 9:36 am

What do you think is the best path here if you want last.fm-support from firefly? I mean, if I go for a script solution only to find out that next week it is coming with mt-daapd nightlies I'd probably regret it.
uncleremus
regular
regular
 
Posts: 32
Joined: Sat Jan 27, 2007 2:01 am

Postby rpedde on Thu Jul 12, 2007 9:28 pm

uncleremus wrote:What do you think is the best path here if you want last.fm-support from firefly? I mean, if I go for a script solution only to find out that next week it is coming with mt-daapd nightlies I'd probably regret it.


If you use iTunes as a client, the iTunes integrated last.fm is probably the deal.

Otherwise, I think investing the time in configuring external last.fm support is probably worth it. I keep having the scripting module getting pushed back and back...

Might be a while, I think.

-- Ron
User avatar
rpedde
Site Admin
Site Admin
 
Posts: 4251
Joined: Mon Nov 22, 2004 12:55 am

Postby blamm on Thu Jul 12, 2007 10:21 pm

Have you tried this. Its sits in your Windows tray and works with your LastFM client to scrobble what your SB is playing. Also has some basic control of you SB. Works pretty well

http://forums.rokulabs.com/viewtopic.php?t=12148
User avatar
blamm
lunatic
lunatic
 
Posts: 292
Joined: Thu Sep 07, 2006 6:13 am

Postby uncleremus on Thu Jul 12, 2007 10:38 pm

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?
uncleremus
regular
regular
 
Posts: 32
Joined: Sat Jan 27, 2007 2:01 am

Postby Ping on Fri Jul 20, 2007 1:44 am

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..? 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?/a ... layer.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? :? :wink:

Thanks,

Ste
Ping
n00b
n00b
 
Posts: 4
Joined: Wed Jul 18, 2007 5:48 pm

Postby rpedde on Sat Jul 21, 2007 11:16 am

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?/a ... layer.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? :? :wink:

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
User avatar
rpedde
Site Admin
Site Admin
 
Posts: 4251
Joined: Mon Nov 22, 2004 12:55 am

Postby smbrannan on Sat Sep 15, 2007 1:44 pm

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
User avatar
smbrannan
n00b
n00b
 
Posts: 9
Joined: Fri Sep 22, 2006 6:14 pm

Postby rpedde on Sat Sep 15, 2007 7:01 pm

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
User avatar
rpedde
Site Admin
Site Admin
 
Posts: 4251
Joined: Mon Nov 22, 2004 12:55 am

Postby magnate on Fri Oct 26, 2007 12:32 pm

Hi 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
"When I gave food to the poor, they called me a saint. When I asked why the poor were hungry, they called me a communist."
magnate
user
user
 
Posts: 26
Joined: Tue Oct 16, 2007 7:25 am
Location: London, UK

Postby blamm on Fri Dec 28, 2007 1:23 pm

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?
The word "impossible" is not in my dictionary. In fact, everything between "herring" and "marmalade" appears to be missing.
User avatar
blamm
lunatic
lunatic
 
Posts: 292
Joined: Thu Sep 07, 2006 6:13 am

Postby rpedde on Sun Dec 30, 2007 10:22 pm

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-Scro ... robbler.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
User avatar
rpedde
Site Admin
Site Admin
 
Posts: 4251
Joined: Mon Nov 22, 2004 12:55 am

Postby blamm on Thu Jan 03, 2008 3:20 am

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.
The word "impossible" is not in my dictionary. In fact, everything between "herring" and "marmalade" appears to be missing.
User avatar
blamm
lunatic
lunatic
 
Posts: 292
Joined: Thu Sep 07, 2006 6:13 am

Postby rpedde on Mon Jan 07, 2008 11:47 pm

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. :)
User avatar
rpedde
Site Admin
Site Admin
 
Posts: 4251
Joined: Mon Nov 22, 2004 12:55 am

PreviousNext

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest