Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -5/+5 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-10-02 | Playlist*: use nullptr instead of NULL | Max Kellermann | 1 | -3/+3 | |
2013-09-27 | PlayerControl: use strictly typed enums | Max Kellermann | 1 | -6/+6 | |
2013-07-28 | song: convert header to C++ | Max Kellermann | 1 | -11/+10 | |
2013-01-20 | PlayerControl: move functions into the class | Max Kellermann | 1 | -14/+12 | |
2013-01-09 | Playlist: move playlist_increment_version_all() into the class | Max Kellermann | 1 | -2/+2 | |
2013-01-09 | idle: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-01-07 | Playlist: convert functions to methods | Max Kellermann | 1 | -170/+94 | |
2013-01-06 | queue: convert all functions to methods | Max Kellermann | 1 | -36/+27 | |
2013-01-06 | Playlist: add constructor and destructor | Max Kellermann | 1 | -15/+0 | |
2013-01-04 | Playlist: pass max_length to playlist_init() | Max Kellermann | 1 | -5/+2 | |
Move the configuration lookup to Main.cxx. | |||||
2013-01-04 | player_control.h: convert header to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-04 | playlist: convert to C++ | Max Kellermann | 1 | -3/+6 | |
2012-09-25 | playlist: include cleanup | Max Kellermann | 1 | -4/+0 | |
2012-08-25 | player_thread: disable cross-fading in "single" mode | Max Kellermann | 1 | -7/+10 | |
This commit reimplements the core of the "single" mode. Instead of doing the detection in the playlist code from the outside, it is moved to the player thread, which gets a new option called "border_pause". It will now pause playback exactly at the beginning of the new song, making the feature more reliable. Now that the player thread knows what will happen, it can suppress cross-fading. Fixes mantis tickets 0003055 and 0003166. | |||||
2012-08-15 | player_control: duplicate the song object | Max Kellermann | 1 | -4/+5 | |
Make sure the player "owns" the next_song object, so nobody else can free it. | |||||
2012-08-15 | playlist: fix unprotected player_control access | Max Kellermann | 1 | -1/+5 | |
2012-08-08 | player_control: rename attribute "error" to "error_type" | Max Kellermann | 1 | -1/+1 | |
2012-08-08 | player_control: rename player_error enum values | Max Kellermann | 1 | -3/+3 | |
2012-08-08 | player_control: remove unused enum player_error values | Max Kellermann | 1 | -1/+1 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | player_control: removed the global variable "pc" | Max Kellermann | 1 | -32/+41 | |
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support. | |||||
2010-09-28 | playlist: make single mode 'sticky' | Andrew Morgan | 1 | -4/+1 | |
2010-09-23 | playlist: fix "queued" check in playlist_sync() | Max Kellermann | 1 | -1/+1 | |
The check was meant to fix an assertion failure, but it was the wrong way around. This broke cross-fading most of the time. | |||||
2010-06-19 | playlist: check "queued" before calling playlist_update_queued_song() | Max Kellermann | 1 | -1/+1 | |
Workaround for an assertion failure. | |||||
2010-06-19 | playlist: protect acess to player state in playlist_sync() | Max Kellermann | 1 | -2/+7 | |
2010-06-19 | playlist: move checks out of playlist_sync_with_queue() | Max Kellermann | 1 | -20/+21 | |
Rename the function to playlist_song_started(), which gets only called if the song has actually started. | |||||
2010-06-01 | playlist: emit IDLE_OPTIONS when resetting single mode | Max Kellermann | 1 | -0/+2 | |
2010-05-31 | single mode: at the end of the song, pause on the next song instead of stop | Romain Bignon | 1 | -9/+10 | |
2010-03-07 | playlist: fix single+repeat in random mode | Max Kellermann | 1 | -1/+2 | |
With single+repeat enabled, it is expected that MPD repeats the current song over andd over. With random mode also enabled, this didn't work, because the song order was shuffled internally. This patch adds a special check for this case. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -0/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-10-08 | player_control: no CamelCase | Max Kellermann | 1 | -5/+5 | |
2009-10-08 | playlist_control: "previous" really plays the previous song | Max Kellermann | 1 | -4/+0 | |
No more CD player emulation. The current behaviour of "previous" is difficult for a client to predict, because it does not definitely know the current position within the song. If a client wants to restart the current song, it can always send "playid". | |||||
2009-07-28 | playlist: CamelCaseIsBad | Courtney Cavin | 1 | -25/+35 | |
Renamed all playlist functions to non-CamelCase. | |||||
2009-07-14 | playlist: no CamelCase | Max Kellermann | 1 | -1/+1 | |
2009-04-25 | playlist_control: use GTimer in previousSongInPlaylist() | Max Kellermann | 1 | -0/+4 | |
To determine whether to rewind the current song or to go to the previous song, use a GTimer instead of manually diffing time(NULL). | |||||
2009-03-30 | implemented the 'consume' mode | Romain Bignon | 1 | -0/+19 | |
Consume mode removes each song played | |||||
2009-03-27 | renamed smartstop to single and changed behavior | Romain Bignon | 1 | -7/+16 | |
When single mode is enabled, after current song it stops playback, or it replay same song if repeat mode is activated. | |||||
2009-03-27 | implements the smartstop feature | Romain Bignon | 1 | -0/+20 | |
The smartstop feature is a way to tell mpd to stop playing after current song. This patche provides: - 'state' command returns 'smartstop' state (1 or 0) - 'smartstop' can activate or not the smartstop state - when song is terminated, mpd stops playing and smartstop is set to 0 | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy. | |||||
2009-02-11 | playlist: don't preserve "current" song after "random" toggle | Max Kellermann | 1 | -2/+4 | |
When MPD is not playing, it may still remember which is the "current" song. When you switch to "random" mode, MPD will always start playing exactly this song. This defies the goal of "random" mode a little. Clear the "current" song when MPD is not playing during the "random" mode switch. | |||||
2009-02-09 | playlist: fixed "next song" check | Vladimir S Eremin | 1 | -3/+2 | |
Check if the "current+1" position is actually valid. | |||||
2009-02-09 | playlist: provide information about "next song" | Vladimir S Eremin | 1 | -0/+15 | |
In random mode, this patch allows clients to see the "next song" in the queue. | |||||
2009-02-04 | playlist: added G_LOG_DOMAIN | Max Kellermann | 1 | -3/+5 | |
Removed the explicit "playlist:" prefix from all log messages. | |||||
2009-02-04 | playlist: pass const playlist pointers | Max Kellermann | 1 | -6/+6 | |
Pass constant playlist objects to functions which do not modify it. | |||||
2009-02-04 | playlist: moved code to playlist_edit.c | Max Kellermann | 1 | -369/+0 | |
Moved functions for playlist editing (append, delete, shuffle, move) to playlist_edit.c. | |||||
2009-02-04 | playlist: moved code to playlist_control.c | Max Kellermann | 1 | -241/+4 | |
Moved handlers for control commands (play, stop, next, prev) to playlist_control.c. | |||||
2009-02-04 | playlist: call syncPlaylistWithQueue() only in the event handler | Max Kellermann | 1 | -4/+0 | |
Don't call syncPlaylistWithQueue() in nextSongInPlaylist() and previousSongInPlaylist(). This is a relic from the time when there was no event, and was a workaround to the timing problem. | |||||
2009-02-04 | playlist: renamed global "playlist" variable to "g_playlist" | Max Kellermann | 1 | -306/+310 | |
Export the "g_playlist" variable, and pass it to all playlist functions. This way, we can split playlist.c easier into separate parts. The code which initializes the singleton variable is moved to playlist_global.c. |