The Artima Developer Community
Sponsored Link

Python Buzz Forum
Last.FM radios streaming with GStreamer and Python

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Philippe Normand

Posts: 78
Nickname: philn
Registered: Aug, 2005

Philippe Normand is a developer
Last.FM radios streaming with GStreamer and Python Posted: Feb 4, 2007 3:06 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Philippe Normand.
Original Post: Last.FM radios streaming with GStreamer and Python
Feed Title: Base-Art / Python
Feed URL: http://base-art.net/Sections/5/rss.xml
Feed Description: Phil's blog
Latest Python Buzz Posts
Latest Python Buzz Posts by Philippe Normand
Latest Posts From Base-Art / Python

Advertisement

I'm more and more using Last.FM these days to find fresh artists, track gigs in the city I live in and find people with similar music tastes as me. The Last.FM webradio streaming service is really nice, but not (yet) well documented. So I digged existing clients source code and made mine using Python and GStreamer :-)

The protocol is really simple, relying on HTTP GET requests, hard to do simpler! So I hacked a LastFMSource GStreamer Element which allows to tune station uris and perform commands (love, skip, ban,...) to the current stream. The element is smart enough to update the current track metadatas if it find the "SYNC" string in the input stream. The code is simple enough (I hope!) to be understandable and reusable, so enjoy!

Now I just need some more time to polish the Elisa plugin coming along and using this new Element. The basis is there: a "Last.FM radios" menu listing some stations, press enter to play, you can access commands in another menu... Quite simple no? :)

Read: Last.FM radios streaming with GStreamer and Python

Topic: TurboGears DocSprint Rev2 Previous Topic   Next Topic Topic: Grid7 Venturecast #12 with the LeadBot team

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use