Commit Graph

46 Commits

Author SHA1 Message Date
Andrzej Rybczak
ecf3d20995 enclose song format in braces in Playlist::SongInColumnsToString 2009-08-15 19:53:25 +02:00
Andrzej Rybczak
abdc042b04 fix possible issues with additinal windows due to too small screen size 2009-08-13 00:31:16 +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
c20d8694ae new feature: allow for fixed size columns 2009-07-10 19:17:12 +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
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
049d0d9b35 play song in playlist by clicking on it with RMB, not LMB 2009-05-25 22:03:45 +02:00
Andrzej Rybczak
d965f4e517 new feature: mouse support 2009-05-25 21:46:36 +02:00
Andrzej Rybczak
7e479de3e0 use C++ style casts in Playlist::Init() 2009-04-26 17:45:22 +02:00
Andrzej Rybczak
e3d731d269 handle height of sorting window properly
before, if terminal was less than 18 lines high, ncmpcpp
would exit at start throwing NCurses::Window::BadSize,
because sort dialog's height was hardcoded. now its size
changes dynamically, depending on actual screen size.
2009-04-26 13:20:01 +02:00
Andrzej Rybczak
7f85a0dcd1 use flag to force status update rather than doing additional update 2009-04-01 16:15:19 +02:00
Andrzej Rybczak
89c06db1f4 refresh playlist immediately after highlighting was enabled 2009-04-01 15:50:44 +02:00
Andrzej Rybczak
310b6c0ecd new feature: cyclic scrolling 2009-03-30 20:03:23 +02:00
Andrzej Rybczak
cf3746f301 always poll mpd twice per second 2009-03-22 15:10:04 +01:00
Andrzej Rybczak
2c1647d57a new feature: reverse playlist 2009-03-13 14:22:43 +01:00
Andrzej Rybczak
0aa36f3fb2 move Global::Timer to Playlist class 2009-03-12 20:20:26 +01: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
8a4ee22b61 swap songs internally while sorting to keep their properties 2009-03-12 13:46:00 +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
93fd687ec1 consider "ignore leading 'the' word" function while sorting playlist 2009-03-06 18:14:01 +01:00
Andrzej Rybczak
339bbb4925 while converting item in columns to string, if title is empty, use filename 2009-03-03 19:44:00 +01:00
Andrzej Rybczak
fe79d1ae94 keep proper songs' positions when playlist is modified 2009-02-22 13:53:41 +01:00
Andrzej Rybczak
2856d5cd78 make playlist's stats scrollable, also display remaining time on demand 2009-02-20 15:30:30 +01:00
Andrzej Rybczak
1d55d4c4a1 make sorting playlist case insensitive 2009-02-19 18:20:43 +01:00
Andrzej Rybczak
3b32d84a76 make Playlist::NowPlayingSong() return pointer, not reference 2009-02-19 00:00:31 +01:00
Andrzej Rybczak
ee809e7580 fix compilation --without-taglib 2009-02-18 21:54:25 +01:00
Andrzej Rybczak
f162a7b880 new feature: playlist sorting (Ctrl-V by default) 2009-02-18 20:08:50 +01:00
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.
2009-02-17 17:57:55 +01:00
Andrzej Rybczak
43a8e2284e provide generic interface for dealing with selected items 2009-02-16 18:20:45 +01:00
Andrzej Rybczak
ef9948cbe2 fix refreshing in clock screen while resizing / remove some unneded code 2009-02-16 01:01:54 +01:00
Andrzej Rybczak
ba6c2db0b1 improve resizing 2009-02-16 00:37:03 +01:00
Andrzej Rybczak
f9cdfa5d2b another externs removed 2009-02-15 23:08:15 +01:00
Andrzej Rybczak
26365d9832 rename status_checker -> status / + some cleaning 2009-02-15 22:56:41 +01:00
Andrzej Rybczak
e6bd98e0a7 general code cleaning 2009-02-15 19:15:52 +01:00
Andrzej Rybczak
4cdafc5639 change wCurrent and wPrev to myScreen 2009-02-15 16:09:11 +01:00
Andrzej Rybczak
11622b7ba5 remove extern int now_playing 2009-02-14 15:18:13 +01:00
Andrzej Rybczak
8653232a2a change namespace Browser into class 2009-02-14 00:43:58 +01:00
Andrzej Rybczak
6e167d67e2 change namespace Playlist into class 2009-02-13 22:27:26 +01:00
Andrzej Rybczak
8ba72bc78a separate some code from ncmpcpp.cpp 2009-02-13 17:24:06 +01:00