- 25 Feb, 2009 1 commit
-
-
Max Kellermann authored
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.
-
- 13 Feb, 2009 1 commit
-
-
Romain Bignon authored
This command shuffles a range of songs.
-
- 11 Feb, 2009 1 commit
-
-
Max Kellermann authored
The output_command library provides a command interface to the audio outputs. It assumes the input comes from an untrusted source (i.e. the client) and verifies all parameters.
-
- 10 Feb, 2009 1 commit
-
-
Max Kellermann authored
-
- 09 Feb, 2009 1 commit
-
-
Vladimir S Eremin authored
In random mode, this patch allows clients to see the "next song" in the queue.
-
- 04 Feb, 2009 5 commits
-
-
Max Kellermann authored
spl_save_playlist() is a wrapper for spl_save_queue().
-
Max Kellermann authored
Hide the details of the playlist behind wrapper functions.
-
Max Kellermann authored
Return true on success, instead of 0. Converted the "detail" parameter to bool.
-
Max Kellermann authored
Renamed one function.
-
Max Kellermann authored
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.
-
- 25 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 24 Jan, 2009 7 commits
-
-
Max Kellermann authored
Changed the function prototypes to get locate_item_list objects instead of num_items/items.
-
Max Kellermann authored
Instead of passing two parameters around (number of items, array of items), combine both in a variable size struct.
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
Now playlist.c does not contain any protocol specific code anymore.
-
Max Kellermann authored
No CamelCase and no typedefs.
-
Max Kellermann authored
Replaced several wrapper functions from playlist.c, and make command.c use the queue print functions directly.
-
Laszlo Ashin authored
Argument cmd of function command_available() is not used if mpd was configured without sqlite.
-
- 23 Jan, 2009 2 commits
-
-
Max Kellermann authored
In the return value of the "commands" command, don't list the "sticker" command if no sticker file is configured.
-
Max Kellermann authored
PlaylistInfo() (notice the capital 'P') sends a stored playlist to the client. Move it to a separate library, where all the code which glues the playlist and the MPD protocol together will live.
-
- 22 Jan, 2009 1 commit
-
-
Max Kellermann authored
All callers pass false. Don't bother to collect that parameter.
-
- 21 Jan, 2009 1 commit
-
-
Max Kellermann authored
Don't attempt to restart the player if it was stopped, but there were still songs left on the playlist. This looks like it has been a workaround for a bug which has been fixed long time ago.
-
- 20 Jan, 2009 1 commit
-
-
Qball Cow authored
-
- 19 Jan, 2009 1 commit
-
-
Max Kellermann authored
The "sticker" command allows clients to query or manipulate the sticker database. This patch implements the sub-commands "get" and "set"; more will follow soon (enumeration), as well as extended "lsinfo" / "playlistinfo" versions.
-
- 18 Jan, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Renamed functions and types.
-
- 11 Jan, 2009 1 commit
-
-
Max Kellermann authored
If a range is "-1", display the whole list. This behavior is undocumented, but some clients rely on it.
-
- 10 Jan, 2009 4 commits
-
-
Max Kellermann authored
A song index cannot be negative. Also require the second parameter to be valid.
-
Max Kellermann authored
In a range "start:end", "end" itself should not be included. Use the same semantics as other languages implementing ranges, e.g. Python.
-
Thomas Jansen authored
Loosely based on a patch provided by lesion in bug #1766. The playlistinfo command can now retrieve ranges of the playlist. The new argument indicates which entry is the last one that will be displayed. The number of displayed entries may be smaller than expected if the end of the playlist is reached. Previous usage: playlistinfo [start] New usage: playlistinfo [start[:end]]
-
Thomas Jansen authored
A range argument looks like start[:end] and is used to specify the entries of a list that should be returned (rather than the whole list).
-
- 08 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 04 Jan, 2009 4 commits
-
-
Max Kellermann authored
Don't call command_error() if loading a song from the playlist fails. This may result in assertion failures, since command_error() may be called more than once.
-
Max Kellermann authored
-
Max Kellermann authored
Check if the URI scheme is supported by MPD, and print an error message if not. Optimize the checks in "add" and "playlistadd".
-
Max Kellermann authored
Don't work with argv[1], give it the better name "uri".
-
- 03 Jan, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Due to a typo, adding local files was always denied. Disable the second playlist_append_file() invocation on WIN32.
-
- 31 Dec, 2008 1 commit
-
-
Viliam Mateicka authored
-
- 30 Dec, 2008 1 commit
-
-
Max Kellermann authored
There are no unix sockets on WIN32, and therefore no authentication. WIN32 might have similar capabilities, but until we implement them, disable that MPD feature.
-