Frank Blendinger
c10a2a6db7
fix non refreshing columns (selection in medialib)
16 years ago
Andrzej Rybczak
08daa61907
update copyright notices
16 years ago
Andrzej Rybczak
a27332a825
get rid of using directives
...
these in ncmpcpp.cpp stay since a lot of memebers are used.
16 years ago
Andrzej Rybczak
e9cd9c89ec
throw away unused function (MediaLibrary::SortSongsByYear())
16 years ago
Andrzej Rybczak
95a649482b
make displaying dates of albums in media library optional
16 years ago
Andrzej Rybczak
ef6719f5bb
make media library show more songs (with incomplete tags etc.)
16 years ago
Andrzej Rybczak
a0c5298372
fixes for locating song in media library in two columns mode
16 years ago
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.
16 years ago
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.
16 years ago
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
16 years ago
Andrzej Rybczak
5aaafba545
if there is no selected items, treat the current one as selected
17 years ago
Andrzej Rybczak
9a5a053ec3
improve handling columns in media library a bit
...
given column should clear only the first column on its right, not all.
17 years ago
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.
17 years ago
Andrzej Rybczak
dd04406ee5
poll both stdin and mpd using one select()
...
this allows for immediate reading mpd events
17 years ago
Andrzej Rybczak
de6db568c1
fix broken compilation due to lack of setters for mpd_song
17 years ago
Andrzej Rybczak
dec7bd9c0e
make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv)
17 years ago
Andrzej Rybczak
ad685091bc
rename Menu::BoldOption() to Menu::Bold()
17 years ago
Andrzej Rybczak
3bdb798852
clean NCurse::List class a bit and remove a few redundant functions
17 years ago
Andrzej Rybczak
18e611bee2
make sorting window use main ncmpcpp loop
17 years ago
Andrzej Rybczak
101f01941d
new feature: alternative user interface
17 years ago
Andrzej Rybczak
ea1edd4d4a
use common interface for adding item(s) to playlist
...
this also removes a few code duplications.
17 years ago
Andrzej Rybczak
853164575f
adjust mouse bindings a bit and document them in help screen
17 years ago
Andrzej Rybczak
ddaf141f2e
rename MPD::Song::{Get,Set}Year to {Get,Set}Date
17 years ago
Andrzej Rybczak
f60cc71b91
some MPD::Song improvements and syntax simplifications
17 years ago
Andrzej Rybczak
df051bf674
remove using declarations
17 years ago
Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
17 years ago
Andrzej Rybczak
2eb913fe22
define MPD::Connection handler as an object, not pointer
17 years ago
Andrzej Rybczak
450bf1b636
initialize screens only if necessary
17 years ago
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 ~~
17 years ago
Andrzej Rybczak
d965f4e517
new feature: mouse support
17 years ago
Andrzej Rybczak
4429d50401
correct notifications about fetching albums
17 years ago
Andrzej Rybczak
6177d49f9f
new feature: two columns view in media library (albums and songs)
17 years ago
Andrzej Rybczak
ce73ecae2e
real fix for bug 2252
17 years ago
Andrzej Rybczak
310b6c0ecd
new feature: cyclic scrolling
17 years ago
Andrzej Rybczak
dda14b9796
fix opportunity to segfault in media library
17 years ago
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.
17 years ago
Andrzej Rybczak
29f49415dd
add support for regular expressions (basic and extended)
...
it intruduces regex support in search engine
and filtering/searching in all screens
17 years ago
Andrzej Rybczak
eed4fb03ff
use CamelCase for variables in Global namespace / some cleaning
17 years ago
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)
17 years ago
Andrzej Rybczak
a4599fffe7
speed up browsing media library
...
the way media library was searching for albums
was wrong and by the way totally inefficient.
17 years ago
Andrzej Rybczak
1b74324e68
fix duplicating albums in media library
17 years ago
Sebastian Peters
e0a9a6cb9c
fix: show again multiple album without year in media library
17 years ago
Andrzej Rybczak
89b53ddfdb
while searching for songs in media library, consider year of the album
17 years ago
Andrzej Rybczak
c827c88993
use ncurses pad instead of ncurses window by default
17 years ago
Andrzej Rybczak
f162a7b880
new feature: playlist sorting (Ctrl-V by default)
17 years ago
Andrzej Rybczak
5d2daab416
new feature: apply filter to screen (Ctrl-F)
...
if one applies a filter, only items that contain this
filter will be displayed. works on all screens.
17 years ago
Andrzej Rybczak
32bac776e7
cleaning
17 years ago
Andrzej Rybczak
2c66178663
get rid of this awful casting to List *
17 years ago
Andrzej Rybczak
173b012d00
use vector<string_pair> instead of map<string, string>
17 years ago
Andrzej Rybczak
32f959d1ec
use streams instead of Window::WriteXY()
17 years ago