Commit Graph

275 Commits

Author SHA1 Message Date
Andrzej Rybczak
21bf4ff91c do not check in local browser if mpd_music_dir var is set 2009-03-27 17:06:17 +01:00
Andrzej Rybczak
5f41640cd9 handle single command and remove hacks used as substitute for it
mpd-git has single command, which provides functionality
of both "repeat one" and "stop after current track" modes.

repeat one = single && repeat
stop after current track = single && !repeat
2009-03-27 16:40:55 +01:00
Andrzej Rybczak
343f778256 disable detecting currently used encoding as it's extremely ugly 2009-03-26 17:00:00 +01:00
Andrzej Rybczak
65f52da949 make it compile under mingw32 --without-curl --without-taglib
ncmpcpp can be built for windows \o/
pdcurses and regex libraries are needed for this though.
2009-03-25 22:08:18 +01:00
Andrzej Rybczak
1b22f307ea add support for pdcurses 2009-03-25 17:47:10 +01:00
Andrzej Rybczak
3710d3bafd fix blocking playlist update 2009-03-24 17:38:48 +01:00
Andrzej Rybczak
f78e88e6aa do not fetch status after succesful setvol command, set it locally 2009-03-23 16:30:12 +01:00
Andrzej Rybczak
9270a83a78 invoke callback immediately after sending update command succesfully 2009-03-22 20:01:39 +01:00
Andrzej Rybczak
ab265f2fdf do not fetch mpd_Stats from mpd as it's unneded 2009-03-22 17:52:27 +01:00
Andrzej Rybczak
cf3746f301 always poll mpd twice per second 2009-03-22 15:10:04 +01:00
Andrzej Rybczak
23567ed4f1 show notification if given value is out of bounds 2009-03-20 18:19:24 +01:00
Andrzej Rybczak
3d5e62aa65 change default behaviour of 'go to given position' function
before that number without any other signs was treated as time
in seconds to go, now it's threated as %. treating a number as
seconds needs you to type 's' after numeric value.
2009-03-20 17:53:32 +01:00
Andrzej Rybczak
5cfe75a0c2 Revert "limit clear and crop function to playlist/playlist editor"
This was silly idea, I did this so no one could clear the playlist
by accident, but I forgot about the common situation when one can
just clear playlist and add new songs e.g. form browser immediately.

This reverts commit 047dabd41a.
2009-03-19 18:48:58 +01:00
Andrzej Rybczak
047dabd41a limit clear and crop function to playlist/playlist editor
this will minimize the risk of unwanted clearing of playlist e.g. by
pressing 'c' key accidentaly in other screen than playlist/playlist editor.
2009-03-17 18:25:44 +01:00
Andrzej Rybczak
d1d1011eeb make function 'clear' in playlist editor clear selected playlist 2009-03-17 18:24:35 +01:00
Andrzej Rybczak
b382784f6a notify about selected items being removed from playlist 2009-03-17 16:58:55 +01:00
Andrzej Rybczak
aea0540f16 a few improvements for 'add selected' function 2009-03-17 16:43:33 +01:00
Andrzej Rybczak
a1b08c5776 add ('a') items to currently selected playlist in playlist editor 2009-03-16 17:10:43 +01:00
Andrzej Rybczak
8a1223aa18 enable playlist highlighting after saving playlist 2009-03-16 16:36:48 +01:00
Andrzej Rybczak
1e511d1d8d fix now playing update if playlist is filtered 2009-03-15 13:35:18 +01:00
Andrzej Rybczak
3477c1514d put check for playlist filtering in macro 2009-03-13 14:35:35 +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
2bb0aaef18 if selected items are separated, group them while moving 2009-03-12 13:32:24 +01:00
Andrzej Rybczak
c0d227a0c8 move selected items to actual cursor position, not to given one
this is much better as no position couting is needed.
2009-03-11 21:31:41 +01:00
Andrzej Rybczak
fd7ac3b3f5 new feature: move item(s) in playlist to given position 2009-03-11 20:27:55 +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
6be91a8216 improve searching a bit / fix going to previous found position 2009-03-08 17:45:28 +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
3523caa592 some fixes for non-unicode locales 2009-03-07 13:26:36 +01:00
Andrzej Rybczak
e209a86e8e allow for position go to in %, mm:ss format and numer of seconds 2009-03-06 14:12:40 +01:00
Andrzej Rybczak
67b7aaae8a define mDialog as object, not ptr to object 2009-03-04 16:18:48 +01:00
Andrzej Rybczak
73f7980019 make blocking search constraints change after successful searching optional
it's still enabled by default though.
2009-03-03 21:13:02 +01:00
Andrzej Rybczak
b9cbacebff new function: stop playing after current song 2009-03-01 11:26:39 +01:00
Andrzej Rybczak
aed227ab5f new feature: go to currently playing song in browser 2009-02-27 00:20:45 +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
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
3b32d84a76 make Playlist::NowPlayingSong() return pointer, not reference 2009-02-19 00:00:31 +01:00
Andrzej Rybczak
f16fb6f93d if playlist is filtered, clear function should delete only visible items 2009-02-18 22:13:29 +01:00
Andrzej Rybczak
b210d3f270 change var = time(NULL) to time(&var) 2009-02-18 20:12:40 +01:00
Andrzej Rybczak
f162a7b880 new feature: playlist sorting (Ctrl-V by default) 2009-02-18 20:08:50 +01:00
Andrzej Rybczak
70f48dd454 support for opening lyrics in external editor 2009-02-17 20:17:37 +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
32bac776e7 cleaning 2009-02-17 08:29:40 +01:00
Andrzej Rybczak
7c936d8eaf another ugly cast removal 2009-02-17 07:41:09 +01:00
Andrzej Rybczak
2c66178663 get rid of this awful casting to List * 2009-02-17 07:30:26 +01:00
Andrzej Rybczak
ab2c925654 Revert "cast properly", that wasn't proper casting, lol.
This reverts commit 0415fa37fe.
2009-02-16 20:13:34 +01:00
Andrzej Rybczak
2a6e0fd7e8 fix searching in browser
it was taking whole path, take only top dir.
2009-02-16 19:52:11 +01:00