Andrzej Rybczak
95a649482b
make displaying dates of albums in media library optional
16 years ago
Andrzej Rybczak
748dade304
fix adding tracks after current album
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
Andrzej Rybczak
0d05a550c2
display 'U' in status flags while update is running if idle support is off
16 years ago
Andrzej Rybczak
ca0a48b14c
convert selected_item_suffix to wide string before checking its length
16 years ago
Andrzej Rybczak
895c9177d5
fix toggle command
16 years ago
Andrzej Rybczak
444354f860
fix drawing selected_item_{prefix,suffix}
16 years ago
Andrzej Rybczak
455f729bef
reset scrollpad's start position while switching to lyrics/info screens
16 years ago
Andrzej Rybczak
934efd5383
do not try to convert to utf8 strings that are already encoded in it
...
such case may happen if conversion from utf8 to current locale fails.
16 years ago
Andrzej Rybczak
bdc65ead7a
merge char_non_ascii() into has_non_ascii_chars()
16 years ago
Andrzej Rybczak
05fc53ba32
make MPD::Connection::Toggle() run playback if player is stopped
16 years ago
Andrzej Rybczak
43dcc8bd54
fix refreshing player state with classic user interface
16 years ago
Andrzej Rybczak
63178105c3
remove hack that concerns idle events mode.
...
fuck this. it's mpd problem, not mine (see bug 2612)
16 years ago
Andrzej Rybczak
2fb20fd572
add config options for communication mode with mpd (polling for default)
...
idle support in ncmpcpp is marked experimental since its support
in mpd is not ready for general use in full featured clients
(see bug 2612)
16 years ago
Andrzej Rybczak
c005b7b303
reenable hack disabled with 0007ba40
...
it seems it's still needed ;X
16 years ago
Andrzej Rybczak
73f9c8c320
display message properly
16 years ago
Andrzej Rybczak
5f6f915a3a
switch from selected items adder to old screen if db was updated
...
not doing so inctroduces a very obscure bug: db update forces modification
of browser, media library etc by clearing them and letting theirs Update()
function populate them. but since selected items adder is active at the
moment, this function is never called and we end up trying to add songs
from screen that is empty, which in most cases leads to an out_of_range
exception being thrown.
16 years ago
Andrzej Rybczak
055cf43af3
handle update "properly" (as it's possible) with <mpd-0.16
...
<mpd-0.16 doesn't support MPD_IDLE_UPDATE, so we need another
extra hack to support that. This whole idle things really starts
to pissing me off.
16 years ago
Andrzej Rybczak
ea4c035c4a
send idle command immediately after actions that doesn't change mpd status
16 years ago
Andrzej Rybczak
0007ba4082
remove hack that guaranteed proper status update (not needed anymore)
...
it's fixed for mpd-git, newest mpd-0.15.x doesn't seem to suffer
from this bug anymore, mpd-0.13 doesn't support idle. no idea about
mpd-0.14 though, but come on. if you use it, upgrade.
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
Frank Blendinger
64f64895ac
hide inact. "cur playlist" entry in selection menu
16 years ago
Andrzej Rybczak
e6a359ae76
fix crash that happened with empty playlist and pressed space
17 years ago
Andrzej Rybczak
d2d716fd35
fix updating bitrate of current song
17 years ago
Andrzej Rybczak
70d1124800
fix refreshing screens with more than one column after seaching/filtering
...
this bug was caused by db5efc6e
17 years ago
Frank Blendinger
e9df8062e7
sort playlists in SelectedItemsAdder menu
17 years ago
Andrzej Rybczak
6f3eca898a
refresh lyrics window after local lyrics are reloaded
17 years ago
Andrzej Rybczak
ce7be2d476
make SelectedItemsAdder work with local directories
17 years ago
Andrzej Rybczak
5aaafba545
if there is no selected items, treat the current one as selected
17 years ago
Andrzej Rybczak
03129784d4
new feature: add selected items to playlist at given position
17 years ago
Andrzej Rybczak
d2b9aee650
add missing files: tolower.{cpp,h}
17 years ago
Andrzej Rybczak
6cd420511d
perform case insensitive searching in text fields
17 years ago
Andrzej Rybczak
5aa1613cfb
make binding responsible for going to parent dir work in tag editor
17 years ago
Andrzej Rybczak
0dc076742f
tag editor: add support for numerating tracks using xx/xx format
17 years ago
Andrzej Rybczak
07099d4dc0
clear menu option right before rewriting it, not earlier
...
when it was cleared earlier, mpd status tracer could refresh window
while ncmpcpp was waiting for new string and empty line was visible.
17 years ago
Andrzej Rybczak
fdb9bfcd4f
remove a piece of code that was overwriting statusbar without any checks
...
maybe it made a difference in the past, but it's redundant now.
17 years ago
Andrzej Rybczak
3365b066c3
window: store strings history in list instead of deque
17 years ago
Andrzej Rybczak
180d71ed28
tag editor: refresh filename parser windows properly
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
b83adc01b9
check for errors after calling status updater
17 years ago
Andrzej Rybczak
d4fddf4466
update directory after db update only if current screen is browser
17 years ago
Andrzej Rybczak
3b7f19f095
new feature: support for centered cursor (disabled by default)
17 years ago
Andrzej Rybczak
35a182d79e
add support for scrolling the list with mouse wheel by given number of lines
17 years ago
Andrzej Rybczak
c6e26e121f
do not ask if one wants to enter password, just ask for password
17 years ago
Andrzej Rybczak
5b2dbe026c
do not delete items from playlist if sending command delete failed
17 years ago
Andrzej Rybczak
60d932ef68
fix 'db update' flag not being updated if mpd is stopped
17 years ago