#320. MythMPD

Posted July 7, 2007, 20:12 CEST

MythMPD is a simple MPD client for MythTV. It shows the current playing song and the playlist and allows for the basic controls. It cannot (yet?) add to or edit the playlist.

I wrote this because a) I wanted it and b) other people seem to want it. I don't really know much C, so it was a learning experience and is most likely shitty code. But, hey, it works.

I use MythTV at home, not so much to watch (dodgy Spanish) TV, but as a home media centre to watch DVDs and downloads, listen to music, etc in the salón. The existing MythMusic module is not so hot and the ecowarrier in me doesn't like having the TV on all the time just to change music. To that end, I started using MPD to listen to and change music from the powerbook. However, I missed being able to use the remote control to pause and change volume, so MythMPD was born. I can now blindly use the remote to control the music in the living room, resorting to another mpd client when I need to add more music to the playlist.

Comment from spacetweek on July 9, 2007, 21:34 CEST
That passed about 3.2 kilometros over my head.
Comment from James Grossmann on August 22, 2007, 01:44 CEST
SWEET! I was thinking about switching my music to mpd, and I use Myth for my home media system. I would like to be able to control the different sound systems in my house from myth. I would like to help if I can, but I'm definitely worse at programming than you are. (I still may try to hack something together...)

Thanks!
Comment from James Grossmann on August 23, 2007, 23:01 CEST
What I'm envisioning is a slight redesign to make mythmpd work like mythmusic. It seems that this is a desire listed on the feature wishlist, and could easily cover a number of the desires expressed on that list. http://www.mythtv.org/wiki/index.php/Feature_Wishlist_%28Plugin_Addons%29

I'm doing some reading and analyzing of code in preparation for coding myself. I hope to have some psuedocode put together by the end of the afternoon. If you have any pointers or would like to work together on this, you can email me at cctsurf | at | hotmail | dot | com.

Thanks!
Comment from ferg on February 28, 2008, 10:42 CET
Nice work! I'm just trying to integrate my MythTV box with MPD and Icecast in a doomed to failure attempt to have multi-room synchronised music listening goodness. I'll have a play with your plugin.

Thanks

Ferg
Comment from Stephane on April 9, 2008, 22:57 CEST
Hi ! I'm actually trying everything I can related to MythTV, and planning on a plugin developpment. Your plugin seams to have a code easy to understand, and also be started from the "MythHello" plugin (am I right ?). It interrests me as me MythHello doesn't work ... And also because I'd love to write my own plugin, but I will test yours as soon as I have MPD setup ! But I'd like to report you 2 issues : I use a widescreen (and a Wide Theme), and the text isn't good placed in your plugin, maybe you placed it static from the left border on a 4/3 screen ? And 2nd : when I hit "escape" to leave the plugin, the whole MythTV Frontend exists (is it crashing ?) Anyway, thanks and keep doing the good job !
<< Previous Entry  Post Comment Next Entry >>