Commit Graph

100 Commits

Author SHA1 Message Date
Andrzej Rybczak
4c944085d6 menu: generalize filtering, introduce interfaces 2012-08-31 23:09:56 +02:00
Andrzej Rybczak
1596c8ed40 menu: simplify ItemDisplayer further 2012-08-31 12:20:41 +02:00
Andrzej Rybczak
1c46dec39f menu: a few semantic changes 2012-08-31 11:41:22 +02:00
Andrzej Rybczak
e4f4cd68c0 menu: add value iterator 2012-08-31 09:19:45 +02:00
Andrzej Rybczak
d8b2d20bdb menu: move a few methods to Item class 2012-08-31 04:38:20 +02:00
Andrzej Rybczak
7e53654492 menu: implement custom iterator 2012-08-30 20:17:25 +02:00
Andrzej Rybczak
7297b8a9ad use std::bind instead of passing void pointers around 2012-08-30 12:24:19 +02:00
Andrzej Rybczak
798c9b3121 menu: some member name changing 2012-08-30 07:07:19 +02:00
Andrzej Rybczak
b06e620913 more cleanup and grouping functions logically together 2012-08-29 14:35:11 +02:00
Andrzej Rybczak
b1c301dc1c split majority of helpers and rewrite a few heinous functions 2012-08-29 11:46:17 +02:00
Andrzej Rybczak
a20a195225 mpd: use lambda closures instead of passing vectors to functions 2012-08-28 06:01:56 +02:00
Andrzej Rybczak
397783d701 reduce usage of pointers / replace std::pair in SearchEngine 2012-08-28 02:44:08 +02:00
Andrzej Rybczak
a270fc8402 rewrite MPD::Song object 2012-08-28 00:09:39 +02:00
Andrzej Rybczak
e0e787716f require MPD >= 0.14 2012-08-27 19:11:03 +02:00
Andrzej Rybczak
bac6df8c6c some general source code tweaks 2012-08-27 19:06:19 +02:00
Andrzej Rybczak
77a3c73d9c make displayed messages more consistent 2012-08-14 18:18:36 +02:00
Andrzej Rybczak
181224b837 keybinding system rewrite 2012-08-14 01:44:14 +02:00
Andrzej Rybczak
8b2fd356b7 rename YEAR tag to DATE tag (as it should've been from the beginning) 2012-07-16 00:42:40 +02:00
Andrzej Rybczak
f8151904f5 update copyright dates 2012-03-17 16:46:55 +01:00
Andrzej Rybczak
56467eaac6 new feature: support for merging screens together 2011-11-12 19:47:47 +01:00
Andrzej Rybczak
ca956c3da3 update copyright dates 2011-11-01 13:43:47 +01:00
Andrzej Rybczak
3f064df95d clear filters before jumping to media library
fix for issue #3300.
2011-08-01 00:43:40 +02:00
Andrzej Rybczak
968d2366aa settings: make displaying 'empty tag' entry optional 2010-09-09 16:43:10 +02:00
Alexey Semenko
18bc6368bf titles_visibility configuration option 2010-08-25 15:35:37 +02:00
Andrzej Rybczak
8ec84637d2 media library: search constraints: rename Artist to PrimaryTag
it makes much more sense since 'Artist' can be also date, composer etc.
2010-08-24 22:29:35 +02:00
Andrzej Rybczak
d799c5bf32 media library: show songs with primary tag unspecified
thanks to Alexey Semenko <igogo.dev@gmail.com> for base patch
2010-08-24 22:29:03 +02:00
Andrzej Rybczak
ef4a505470 media library: sort artists' songs in GetSelectedSongs() 2010-08-24 18:44:47 +02:00
Andrzej Rybczak
1b98b02659 fix 'media library: fix filter issues' 2010-08-16 15:12:48 +02:00
Andrzej Rybczak
2aa053d7e1 media library: fix filter issues 2010-08-16 13:46:57 +02:00
Andrzej Rybczak
d962653c76 make feature 'display separators between albums' work in all screens 2010-07-12 09:14:15 +02:00
Andrzej Rybczak
9c02bbf596 media library/tag editor: block idle while doing hierarchical searches
idle should be blocked in such cases since it would be enabled and
disabled a few times by each mpd command, which makes no sense and
slows down the whole process.
2010-06-17 16:41:49 +02:00
Andrzej Rybczak
ec9017d5a2 media library: fix compatibility with mpd < 0.14 2010-05-29 21:02:16 +02:00
Andrzej Rybczak
15a89a6d41 make a few exceptions for "all tracks" option since it's not real album
users shouldn't be allowed to select it since adding selected item
"all tracks" does nothing. editing is allowed since one may want to
set album for all tracks at once. adding with space should display
information about adding all tracks of specific tag that is in left
column since standard message will display 'adding songs from album
""', which is not that what we want.
2010-05-18 17:59:36 +02:00
Andrzej Rybczak
1154a95143 media library: support for "All tracks" option in middle column 2010-05-18 17:28:07 +02:00
Andrzej Rybczak
8de70f3918 MediaLibrary::LocateSong: compare hashes, not strings 2010-05-14 01:22:32 +02:00
Andrzej Rybczak
097632b088 disable 'locate song in media library' function for mpd < 0.14.* 2010-04-07 12:36:29 +02:00
Andrzej Rybczak
fbc9b29032 media library: fix two columns view if library is empty 2010-02-23 01:27:55 +01:00
Andrzej Rybczak
bd64052f11 center cursor directly in Menu class
centering in Screen::Scroll is hacky and works
only for scrolling, not e.g. selecting.
2010-02-05 15:49:20 +01:00
Andrzej Rybczak
d1194757a0 fixes for db97a1a318 2010-01-31 16:28:00 +01:00
Frank Blendinger
db97a1a318 add option media_library_disable_two_column_mode 2010-01-31 01:55:37 +01:00
Frank Blendinger
c10a2a6db7 fix non refreshing columns (selection in medialib) 2010-01-31 01:45:45 +01:00
Andrzej Rybczak
08daa61907 update copyright notices 2010-01-30 16:24:24 +01:00
Andrzej Rybczak
a27332a825 get rid of using directives
these in ncmpcpp.cpp stay since a lot of memebers are used.
2010-01-22 19:17:35 +01:00
Andrzej Rybczak
e9cd9c89ec throw away unused function (MediaLibrary::SortSongsByYear()) 2010-01-22 17:51:09 +01:00
Andrzej Rybczak
95a649482b make displaying dates of albums in media library optional 2010-01-22 17:50:26 +01:00
Andrzej Rybczak
ef6719f5bb make media library show more songs (with incomplete tags etc.) 2010-01-05 20:08:30 +01:00
Andrzej Rybczak
a0c5298372 fixes for locating song in media library in two columns mode 2010-01-05 18:45:05 +01:00
Frank Blendinger
a5882ee27f added a key to jump to a song in the media library
This commit introduces a new key to bind, key_go_to_media_library. It
will switch to the media library and select the song under the cursor.
2010-01-05 10:20:53 +01:00
Frank Blendinger
486f2d32cd enable selecting and add sel. menu in media lib
Previously, selecting entries was only possible in the "songs" column of
the media library. Now it works in the "artists" and "albums" column as
well, allowing one to add whole albums and artist collections to the
playlist at specific positions via the "add selection" menu.
2009-12-11 20:59:44 +01:00
Frank Blendinger
b504b346af screen_switcher between current and last screen
Setting the new config variable "screen_switcher_browser_only" to "no"
will make the "key_screen_switcher" key switch between the current and
the last used screen, sort of like the Alt+Tab window switching
mechanism in many window managers.

This (intendedly) works only for the "main" screens (playlist, browser,
media library, etc.) and not for info/lyrics/server info. Those screens
can be closed with the screen_switcher key, but the will not be
remembered.

indentation correction in config
2009-12-09 00:24:15 +01:00