[mythtv] LastFM support in MythMusic
skd5aner at gmail.com
Sat Feb 16 23:51:21 UTC 2008
On Feb 16, 2008 4:04 PM, Willem Ligtenberg <wligtenberg at gmail.com> wrote:
> Just an update for all the people who can't wait to scrobble their songs...
> I have created a menu, inside the music settings for the last.fm settings.
> And I now print some song information when it should be scrobbled.
> So the only thing left is the communication with the server.
> And I'm going to look into that tomorrow, so with luck the scrobbling
> will be working tomorrow.
> On Feb 14, 2008 1:15 PM, Ashley Bostock <abostock at gmail.com> wrote:
> > On 14/02/2008, Willem Ligtenberg <wligtenberg at gmail.com> wrote:
> > > Any help on the code is appreciated, even PERL ;)
> > > But maybe it is better to use the new api, or as a colleague of mine
> > > pointed to me, have a look at lastfmproxy and make MythMusic depend on
> > > that. But I haven't had the time of investigating it further. But any
> > > ideas on this are welcome.
> > > Since this will be my first Mythtv development. I have just installed
> > > a fresh SVN version on my dev system, I have it compiled now, so I am
> > > good to go!
> > > This weekend Saturday night (GMT+2) I will have some spare time, so I
> > > will be in #mythtv, and see if anyone there is able to help me get
> > > started. The first and maybe easiest to do is get the scrobbling in
> > > there.
> > >
> > > Cheers,
> > >
> > >
> > > Willem
> > The code that was added in version 15222 is probably useful to your
> > efforts...
> > http://svn.mythtv.org/trac/changeset/15222/trunk
> > I requested that for my Perl script to make sure that I didn't submit tracks
> > that hadn't played for long enough...
> > INSERT INTO settings (value,data,hostname) VALUE('MusicLastPlayDelay?',
> > '240', 'HOSTNAME');
> > If you set that db entry when someone enabled last.fm in mythmusic, you
> > could then hook off of the code which sets the lastplay time to work out
> > when it is then ok to submit the track (you'd need to also check the song is
> > longer than a 30second clip).
> > Ash
When you get this working, please submit it as a enhancement ticket
svn.mythtv.org. Are you building against current head?
More information about the mythtv-dev