[mythtv] LastFM support in MythMusic

Willem Ligtenberg wligtenberg at gmail.com
Thu Feb 14 09:49:06 UTC 2008


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

On Mon, Feb 11, 2008 at 9:43 PM, Eric <ericgies at kabelfoon.nl> wrote:
> I think you are right about the software player experience, and about putting
>  LastFM in MythMusic. LastFM is a single reliable source and doesn't require
>  any discovery ("harvesting"). If MythMusic LastFM support comes available
>  I'll drop LastFM for MythStream.
>
>  If you want to look at what I've got so far I can mail it to you. Note that
>  it's in PERL, and interacts with the old LastFM API...
>
>  And yes, uitzendinggemist does work. It wouldn't be there if it didn't -
>  although site changes have and will affect parsers every now and then.
>
>  (note: for some reason I didn't receive your mail though the myth-dev list
>  subscription, only directly to my account - so I used myth-dev as CC)
>
>  Eric.
>
>
>
>
>  On 11 February 2008 09:03:40 Willem Ligtenberg wrote:
>  > Yes, ofcourse we should get together!
>  > But I do think we should think on how to put it into MythTV.
>  > Because it should be very easy.
>  > Do you have a SVN repository or something?
>  > (By the way, does uitzendinggemist work?! Cool!)
>  > As far as I can see now, your plugin allows to play any stream, if you
>  > show it where it is. But I think that last.fm should work more like
>  > the software player they have available.
>  > But I will ask in the IRC channel about where people think it should
>  > go. If many people want it, maybe we should work to get it into
>  > MythMusic instead of a unofficial plugin.
>  >
>  > Cheers,
>  >
>  > Willem
>  >
>  > On Feb 10, 2008 3:00 PM, Eric <ericgies at kabelfoon.nl> wrote:
>  > > On 10 February 2008 14:20:10 Willem Ligtenberg wrote:
>  > > > Hi,
>  > > > Recently I thought that it would be nice to have LastFM support build
>  > > > into MythTV.
>  > > > Today I am starting on the quest of trying to add it to MythTV. Yes
>  > > > you have heart it right!
>  > > > So I started on the wiki and I have noticed that it is in the feature
>  > > > request for MythMusic.
>  > > > Now, I must admit I have not developed a MythTV plugin before, so I
>  > > > might ask for quite a bit of help, but I hope to get some help from
>  > > > the veterans out here.
>  > > > I will explain my ideas here:
>  > > > First of all, one should be able to set the username somewhere in the
>  > > > configuration screen.
>  > > > The the lastfm support should be in play music, but as it is now, it
>  > > > will go straight into a playlist.
>  > > > And at least with the version I am using, I think the way to edit the
>  > > > playlist is not very easy.
>  > > > So my idea would be to add another menu-item which would say play
>  > > > lastfm (or maybe play webradio?)
>  > > > Then if lastfm is concerned it would take you to another menu, from
>  > > > which you can choose:
>  > > > My playlist
>  > > > My Recommendations
>  > > > My radiostation
>  > > > My loved tracks
>  > > > My neighbourhood
>  > > > Specify other radio station by tag or artist
>  > > >
>  > > > after selection it will play the music and scrobble it, scrobbling
>  > > > might be turned of from configuration or during playback.
>  > > >
>  > > > So what do you think of these ideas?
>  > > > I hope that the learning will be easy :)
>  > > >
>  > > > Cheers,
>  > > >
>  > > > Willem Ligtenberg
>  > >
>  > > I'm working on LastFM integration for mythstream. Currently it can stream
>  > > stations (neighbourhood, recommendations, etc) and fetch and display
>  > > album art. Scrobbling and skipping tracks does work - with issues. Before
>  > > publishing, I want to resolve those issues, and connect using the new API
>  > > (using the old one).
>  > >
>  > > Maybe we can work together on this feature?
>  > >
>  > > Eric.
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > _______________________________________________
>  > > mythtv-dev mailing list
>  > > mythtv-dev at mythtv.org
>  > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
>


More information about the mythtv-dev mailing list