Re: new plugin for retrieving and displaying current playing song in Rhythmbox

Bill Mill <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
On Apr 7, 2005 5:36 PM, Rishabh Manocha <[email protected]> wrote:
> Hey guys,
> First off, I'd like to thank everyone for pyblosxom, its an amazing
> blogging tool for those of us who dont have a Db (and maybe even for
> those who do).
> I have written a small plugin which displayes the song that is
> currently playing on Rhythmbox. Since my blog is hosted on my school
> server, I also had to write a small "server" script which sends the
> required data over a connection.

Sweet, it looks good. 

One thing you might want to note; be careful with socket.recv. You
should do it in a loop until you're sure you've received the entire
buffer. Socket.recv will get *no more* than 1024 bytes, but there's no
guarantee of a minimum value for it to receive. In practice, probably
not a problem for the small amount of data you're sending, but just
something to think about. Socket debugging can get real fun real
quick, esp when you're dropping a few bytes somewhere.

> You can read my blog entry
> (http://www.cs.utexas.edu/~rmanocha/blog/index.cgi/programming/rhythmbox_plugin_done.xhtml)
> for more details.
> I would like to know if people are intrested in the plugin, and if so,
> how do i submit it to the plugin registry.

Definitely put it into the plugin registry. Since my internet
connection is messed up tonight, I can't see the registry page, but
isn't there a link on there to add it in yourself? If not, we'll get
Will to stick it in there.

Peace
Bill Mill
bill.mill at gmail.com

> Rishabh
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Pyblosxom-devel mailing list
> Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.