…strings. * mingus.el (mingus-add-podcast): use helper function `mingus-streams-from-podcast-with-regexp' to retrieve all podcasts from the podcast xml string. Also include for possible future use a commented out example using xml-parse and s-query (which would have to be edited to become better suited to output from xml-parse, increase dependencies, and of which I haven't inquired into its copyright and licences ... but would of course provide a more robust solution).
playlist and browser. This may remove flickering behaviour. Evaluate (setq mingus-use-mouse-p nil) *before* loading Mingus, otherwise songs playlists created with `mingus-use-mouse-p' set to 't will still be lit high when hovering mouse over them, due to caching.
This avoids populating our initial cache for searches, to avoid the lag when starting mingus. Instead, it will just create cache on demand, i.e. when someone performs a search for the first time. It also puts some stuff in the modeline object instead of the timer. This means the modeline timer does not get updated as frequently in non-playlist buffers (more precisely: it happens only on buffer changes/user interaction), but flickering seems to be gone.
Signed-off-by: Niels Giesen <firstname.lastname@example.org>
for now required quotes. commit 0d5621c was wrong (instead of making the quotes required, it made them part of the returned value -- stupid me).
…PD documentation. Thanks for pointing out that MPD is not lenient in this respect anymore.
This differs from `mingus-get-songs' in that it only requests MPD for the information when the database has another version number. If versions differ, the cached response is used. NOTE that the playlist may differ while the database may not, so do not use this function for stuff concerning the playlist. This function may fail on the off chance servers are switched and their latest update time happen to be exactly the same. In that rare case, running a single `mingus-update' to regenerate the database may work. Currently ido-mode completion will use this.
a prefix argument.
marking files and function mingus-mark-sexp, that lets one mark songs according to a sexp.
… other undocumented keybindings)