[mythtv] Re: [mythtv-commits] Ticket #355: MythMusic incremental search

Nick Rosier nick.rosier at gmail.com
Tue Sep 20 22:42:16 UTC 2005

On 21/09/05, MythTV <mythtv at cvs.mythtv.org> wrote:
> #355: MythMusic incremental search
> ----------------------------------+-----------------------------------------
>  Reporter:  jerome at forissier.org  |       Owner:  ijr
>      Type:  patch                 |      Status:  new
>  Priority:  minor                 |   Milestone:
> Component:  mythmusic             |     Version:  0.18.1
>  Severity:  medium                |  ----------------------------------+-----------------------------------------
>  The attached patch will add an 'incremental search' dialog to MythMusic --
>  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.
>  The patch basically adds 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.

Doesn't compile clean on latest svn.

playbackbox.cpp:513: error: no `void
PlaybackBoxMusic::showSearchDialog()' membe                          
r function declared in class `PlaybackBoxMusic'
make[2]: *** [playbackbox.o] Error 1

Had to add this to the patch to get it to compile:

--- mythplugins-0.18.1/mythmusic/mythmusic_old/playbackbox.h   
2005-09-21 00:29:36.000000000 +0200
+++ mythplugins-0.18.1/mythmusic/mythmusic/playbackbox.h       
2005-09-21 00:31:12.000000000 +0200
@@ -83,6 +83,7 @@
     void byYear();
     void showSmartPlaylistDialog();
     void showSearchMusicDialog();
+    void showSearchDialog();


Hope I declared it at the right place; not really a big C++ programmer ;-)


More information about the mythtv-dev mailing list