Andrzej Rybczak
30b8622776
get total time from mpd status, not from currently playing track
...
it seems that even if track info doesn't provide total track length,
mpd status does, which allows for seeking and displaying progressbar.
2009-09-09 18:32:57 +02:00
Andrzej Rybczak
6cc4eac00e
fix iteration through list from previous commit
...
if last item was removed, 'it' would be set to Patterns.end()
and then for loop was incrementing 'it', bypassing conditional
for exit by that.
2009-09-09 17:05:36 +02:00
Andrzej Rybczak
deb23548ce
change TagEditor::Patterns from std::deque to std::list
2009-09-09 16:44:15 +02:00
Andrzej Rybczak
8dd2160a6b
remove enclosing braces from song_status_format in example config file
...
it's not needed here, I just didn't remove
it when I copied it from ncmpcpp sources.
2009-09-08 21:22:37 +02:00
Andrzej Rybczak
55f064a59b
make NCurses::Menu::Clear() clear used filter
2009-09-08 14:06:38 +02:00
Andrzej Rybczak
3108fbf0c0
fix two minor bugs with colors
...
1. I used statusbar_color instead of header_color by accident
2. state_line_color has to be explicitely turned off before setting new color
2009-09-06 12:55:46 +02:00
Andrzej Rybczak
56be1cb753
make Window::SetColor protected as it doesn't respect stacked colors
...
it should only be used internally by Window and derives.
2009-09-06 12:51:48 +02:00
Andrzej Rybczak
3aa0f6a03b
make color of separators used in alternative user interface customizable
2009-09-06 12:15:39 +02:00
Andrzej Rybczak
7079bf0584
scrollpad: always create pad of minimal height equal visible height
2009-09-06 12:04:54 +02:00
Andrzej Rybczak
c35deb3b94
move override wcwidth with 1 if WIN32 if defined to window.h
2009-09-06 12:00:46 +02:00
Andrzej Rybczak
a83989fbf0
simplify code in NCurses::Scrollpad::Flush() a bit
2009-09-06 11:42:26 +02:00
Andrzej Rybczak
b5445bfe5b
remove myPlaylist->EnableHighlighing() since it's not needed here anymore
...
myPlaylist->Sort() doesn't block main loop anymore.
2009-09-06 10:48:27 +02:00
Andrzej Rybczak
d407bc679b
add N marker for displaying full track info and make n show only a number
...
generated filename was ugly if track tag was in format
xx/xx, so %n should display only current track number.
2009-09-06 10:27:11 +02:00
Andrzej Rybczak
1459b27c0d
tag editor: check if mouse cursor is in range
2009-09-06 06:17:38 +02:00
Andrzej Rybczak
c631add910
tag editor: fix displaying message about finished operation
2009-09-06 06:15:25 +02:00
Andrzej Rybczak
b8c9d149b1
do not allocate mem for s in ToString on heap since it has const size
2009-09-06 05:41:41 +02:00
Andrzej Rybczak
c0fcac9b1d
make guard checks in Menu::Refresh() more readable
2009-09-06 05:28:47 +02:00
Andrzej Rybczak
349ca52b8e
supress warning about uninitialized prev_point_pos
2009-09-05 15:18:42 +02:00
Andrzej Rybczak
16ec63b5aa
visualizer: show fifo path in error message
2009-09-04 15:30:57 +02:00
Andrzej Rybczak
bd300bd577
make NCurses::basic_buffer::Write() const
2009-09-04 15:27:57 +02:00
Andrzej Rybczak
df0d62736e
make tag editor proof against tiny screen size
2009-09-04 15:02:22 +02:00
Andrzej Rybczak
7da142a4c7
display "artist info" instead of "artist's info"
2009-09-04 14:47:09 +02:00
Andrzej Rybczak
d7108caf45
make -v|--version display info about optional screens compiled-in
2009-09-04 14:41:54 +02:00
Andrzej Rybczak
e5fe4addca
rename option to make it fit to window's title
2009-09-04 14:31:58 +02:00
Andrzej Rybczak
330f19acbb
make adding to main playlist inactive if selected items are from there
2009-09-04 14:08:23 +02:00
Andrzej Rybczak
da6536a4df
change version to 0.4_pre
2009-09-04 12:41:31 +02:00
Andrzej Rybczak
e2003aee3e
fix scrolling with fancy_scrolling disabled
...
timeout was too low to keep ncmpcpp in while loop.
2009-09-04 08:35:18 +02:00
Andrzej Rybczak
0d2c769faa
update list of supported libraries that is displayed with -v|--version
2009-09-03 22:05:16 +02:00
Andrzej Rybczak
604de32de6
make sound wave the default visualization and fftw optional dependency
2009-09-03 21:45:57 +02:00
Frank Blendinger
82e1ba5a9d
.gitignore added with auto generated files
2009-09-03 01:38:11 +02:00
Andrzej Rybczak
7401a39a25
improve quality of sound wave by drawing intermediate values between points
2009-09-01 09:28:53 +02:00
Andrzej Rybczak
1456e47a0b
new visualization type: sound wave
2009-09-01 04:33:12 +02:00
Andrzej Rybczak
102e14529b
tag editor: make file parser/generator use main loop
2009-09-01 02:01:00 +02:00
Andrzej Rybczak
6843b98627
throw away all NULLs and replace them by 0s
2009-08-30 17:43:13 +02:00
Andrzej Rybczak
0a22debf0e
block displaying elapsed time while seeking properly (alternative ui)
2009-08-30 06:53:15 +02:00
Andrzej Rybczak
762f233b96
do not destroy screen at exit if pdcurses library is used
2009-08-30 06:48:01 +02:00
Andrzej Rybczak
0959336040
move TinyTagEditor class to separate file / a bit of code cleaning
2009-08-30 06:37:53 +02:00
Andrzej Rybczak
18e611bee2
make sorting window use main ncmpcpp loop
2009-08-30 02:47:46 +02:00
Andrzej Rybczak
62ba4ce343
make SelectedItemsAdder::{Width,Height} vars follow the rest of private members
2009-08-30 00:13:45 +02:00
Andrzej Rybczak
4f3040e0ec
move code responsible for adding selected items to playlists to misc.cpp
2009-08-29 23:53:36 +02:00
Andrzej Rybczak
588a023ba1
update include guard of conv.h
2009-08-29 22:00:31 +02:00
Andrzej Rybczak
7729fde54d
rename misc.{cpp,h} to conv.{cpp,h}
2009-08-29 21:56:14 +02:00
Andrzej Rybczak
ab54ceaf71
do not display '>' char if progressbar's width is equal to screen's width
2009-08-29 21:34:24 +02:00
Andrzej Rybczak
7c593fa90c
make visualizer work after mpd restart
2009-08-29 21:21:20 +02:00
Andrzej Rybczak
f0ebc47785
browser: do nothing if space is pressed and parent dir is highlighted
2009-08-29 20:41:56 +02:00
Andrzej Rybczak
caac726891
fix compilation --without-curl
2009-08-28 01:50:40 +02:00
Andrzej Rybczak
75f9f840f7
new screen: music visualizer
2009-08-28 00:38:29 +02:00
Andrzej Rybczak
bc1a8a2d1a
allow for unicode characters in progressbar_look
2009-08-26 18:13:33 +02:00
Andrzej Rybczak
6f88f9aeb2
rename empty_tag config option to empty_tag_marker
...
it was conflicting with empty_tag_color. since empty_tag_color
contains empty_tag, ncmpcpp was parsing wrong variable if the
first variable was before the second one in configuration file.
2009-08-26 17:00:46 +02:00
Andrzej Rybczak
e322e721f3
set proper height of header window with alternative ui and hidden header
2009-08-26 16:50:58 +02:00