AudioScrobbler / last.fm support

Viewing 10 posts - 21 through 30 (of 54 total)
  • Author
    Posts
  • #5234
    uncleremus
    Participant

    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?

    #5235
    Ping
    Participant

    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?/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

    #5236
    rpedde
    Participant

    @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

    #5237
    smbrannan
    Participant

    @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

    #5238
    rpedde
    Participant

    @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

    #5239
    magnate
    Participant

    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

    #5240
    blamm
    Participant

    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?

    #5241
    rpedde
    Participant

    @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

    #5242
    blamm
    Participant

    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.

    #5243
    rpedde
    Participant

    @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. πŸ™‚

Viewing 10 posts - 21 through 30 (of 54 total)
  • The forum ‘Feature Requests’ is closed to new topics and replies.