[mythtv] [PATCH] MythMusic incremental search

Steven mythmail at richardstraat.homedns.org
Tue Sep 20 14:54:33 UTC 2005


Jérôme Forissier schreef:
> Hi,
> 
> I've been building my own PVR with MythTV for the past month or so, and 
> now I've got pretty much everything working OK. MythTV is a great piece 
> of software! However I was a bit disappointed with MythMusic's UI, 
> especially with regards to file browsing and (the lack of) search 
> capabilities.
> 
> I thought about implementing an 'incremental search' dialog -- a box 
> with a file list and a search field, the file list gets updated each 
> time a new character is typed in the search field. I found some 
> discussions in this forum about search capabilities for MythMusic, but 
> no implementation that would fit my needs so I decided to start coding ;-)
> 
> The attached patch will add a 'Search' button to the main MythMusic 
> menu. Once the search dialog is displayed you can enter some text in the 
> search field and you get a list of all the files that match the search 
> term, either in the filename, the artist, the album or the song title. 
> If you press return, all the files from the list are added to the active 
> playqueue. If you select a single file, only that file is added.
> 
> Also, the search dialog works well with a remote, I mean, '2526' will 
> search for [2abc][5jkl][2abc][6mno] which will match e.g. 'Alan'.
> 
> The patch is for mythplugins-0.18.1.
> 
> Regards,
> 
> 
this looks like an interesting addition. Maybe best if you makea trac 
ticket for this patch (http://cvs.mythtv.org/trac) so it won't get lost.

Steven


More information about the mythtv-dev mailing list