Commit Graph

67 Commits

Author SHA1 Message Date
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
Andrzej Rybczak
5aaafba545 if there is no selected items, treat the current one as selected 2009-11-26 22:01:27 +01:00
Andrzej Rybczak
9a5a053ec3 improve handling columns in media library a bit
given column should clear only the first column on its right, not all.
2009-11-13 16:39:43 +01:00
Andrzej Rybczak
495ec25a0a simplify Clear() in Window and its derivatives
it removes argument responsible for immediate refreshing.
since after all calls that were refreshing screen there was
call to Refresh() anyway, this switch doesn't make much sense.
2009-11-13 15:59:18 +01:00
Andrzej Rybczak
dd04406ee5 poll both stdin and mpd using one select()
this allows for immediate reading mpd events
2009-10-25 20:44:07 +01:00
Andrzej Rybczak
de6db568c1 fix broken compilation due to lack of setters for mpd_song 2009-10-04 16:10:37 +02:00
Andrzej Rybczak
dec7bd9c0e make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv) 2009-09-22 22:37:33 +02:00
Andrzej Rybczak
ad685091bc rename Menu::BoldOption() to Menu::Bold() 2009-09-19 02:44:44 +02:00
Andrzej Rybczak
3bdb798852 clean NCurse::List class a bit and remove a few redundant functions 2009-09-19 01:18:41 +02:00
Andrzej Rybczak
18e611bee2 make sorting window use main ncmpcpp loop 2009-08-30 02:47:46 +02:00
Andrzej Rybczak
101f01941d new feature: alternative user interface 2009-08-12 02:08:13 +02:00
Andrzej Rybczak
ea1edd4d4a use common interface for adding item(s) to playlist
this also removes a few code duplications.
2009-08-09 15:51:24 +02:00
Andrzej Rybczak
853164575f adjust mouse bindings a bit and document them in help screen 2009-08-08 21:18:46 +02:00
Andrzej Rybczak
ddaf141f2e rename MPD::Song::{Get,Set}Year to {Get,Set}Date 2009-07-05 14:16:15 +02:00
Andrzej Rybczak
f60cc71b91 some MPD::Song improvements and syntax simplifications 2009-07-05 14:13:18 +02:00
Andrzej Rybczak
df051bf674 remove using declarations 2009-07-05 12:19:22 +02:00
Andrzej Rybczak
9dab25e02c use prefix ++ instead of postfix where available 2009-07-04 06:41:35 +02:00
Andrzej Rybczak
2eb913fe22 define MPD::Connection handler as an object, not pointer 2009-07-04 06:07:00 +02:00
Andrzej Rybczak
450bf1b636 initialize screens only if necessary 2009-06-26 18:48:00 +02:00
Andrzej Rybczak
10a9427270 throw away Menu::GetPosition() as Menu::Choice() does the same
oh cool, I forgot that such function already exists under different name ~~
2009-05-26 22:11:49 +02:00
Andrzej Rybczak
d965f4e517 new feature: mouse support 2009-05-25 21:46:36 +02:00
Andrzej Rybczak
4429d50401 correct notifications about fetching albums 2009-05-03 22:49:55 +02:00
Andrzej Rybczak
6177d49f9f new feature: two columns view in media library (albums and songs) 2009-05-03 19:02:31 +02:00
Andrzej Rybczak
ce73ecae2e real fix for bug 2252 2009-04-14 07:50:21 +02:00
Andrzej Rybczak
310b6c0ecd new feature: cyclic scrolling 2009-03-30 20:03:23 +02:00
Andrzej Rybczak
dda14b9796 fix opportunity to segfault in media library 2009-03-30 17:19:58 +02:00
Andrzej Rybczak
24c37eb592 do not store commands list in MPD::Connection
it should have sent commandlist begin and end commands from the beginning,
having separated functions just to handle queueing commands was plainly ugly.
2009-03-12 17:30:25 +01:00
Andrzej Rybczak
29f49415dd add support for regular expressions (basic and extended)
it intruduces regex support in search engine
and filtering/searching in all screens
2009-03-08 22:16:18 +01:00
Andrzej Rybczak
eed4fb03ff use CamelCase for variables in Global namespace / some cleaning 2009-03-08 01:58:49 +01:00
Andrzej Rybczak
b21ede24f4 move searching to Menu class, also remember last constraint
this improvement also make that list of found items is not cleared
if one switches to another screen. it's remebered until the content
of screen changes (e.g. item is deleted from playlist)
2009-03-07 18:23:31 +01:00
Andrzej Rybczak
a4599fffe7 speed up browsing media library
the way media library was searching for albums
was wrong and by the way totally inefficient.
2009-03-07 12:26:16 +01:00
Andrzej Rybczak
1b74324e68 fix duplicating albums in media library 2009-03-05 18:55:11 +01:00
Sebastian Peters
e0a9a6cb9c fix: show again multiple album without year in media library 2009-03-02 00:01:32 +01:00
Andrzej Rybczak
89b53ddfdb while searching for songs in media library, consider year of the album 2009-02-24 15:56:16 +01:00