Opened 19 years ago

Closed 18 years ago

#355 closed patch (fixed)

MythMusic incremental search

Reported by: jerome@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythmusic Version: 0.18.1
Severity: medium Keywords: mythmusic incremental search
Cc: Ticket locked: no

Description

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.

Attachments (2)

mythmusic_search.patch (11.5 KB) - added by anonymous 19 years ago.
MythMusic incremental search patch (0.18.1) - fixed typo
mythmusic_comma.patch (4.9 KB) - added by wseltzer@… 18 years ago.
On top of the previous patch, search multiple fields separated by commas

Download all attachments as: .zip

Change History (6)

Changed 19 years ago by anonymous

Attachment: mythmusic_search.patch added

MythMusic incremental search patch (0.18.1) - fixed typo

Changed 18 years ago by wseltzer@…

Attachment: mythmusic_comma.patch added

On top of the previous patch, search multiple fields separated by commas

comment:1 Changed 18 years ago by danielk

Am I just dense? Where is this search function added exactly?

comment:2 Changed 18 years ago by danielk

Resolution: fixed
Status: newclosed

(In [7595]) Closes #355.

MythMusic incremental search from jerome AT forissier.org

Hit "M" in the playback screen and select search, it will do either standard or regular expression search.

It will even let you search with numeric entry using the North American phone system character mappings. Yes, I realize this is pretty useless in the rest of the world.

comment:3 Changed 18 years ago by anonymous

Resolution: fixed
Status: closedreopened

You missed the two new files - search.cpp and search.h

comment:4 Changed 18 years ago by danielk

Resolution: fixed
Status: reopenedclosed

They have been added as of the next commit [7596]...

Note: See TracTickets for help on using tickets.