Max Kellermann
|
510c4a3ef1
|
command: move remaining handlers to OtherCommands.cxx
|
2012-09-25 11:44:49 +02:00 |
|
Max Kellermann
|
684a3d30a6
|
command: move code to *Commands.cxx
|
2012-08-29 17:42:06 +02:00 |
|
Max Kellermann
|
25740d27bf
|
Stats: stats_print() returns void
|
2012-08-29 17:41:26 +02:00 |
|
Max Kellermann
|
def21cc87e
|
Merge branch 'v0.17.x'
Conflicts:
src/queue_save.c
|
2012-08-25 10:28:33 +02:00 |
|
Max Kellermann
|
66ecf39efe
|
command: make "single" a bool
|
2012-08-21 19:38:08 +02:00 |
|
Max Kellermann
|
3b8532f3fb
|
DatabasePlugin: add method ReturnSong()
Allow the plugin to allocate the GetSong() return value.
|
2012-08-16 00:04:14 +02:00 |
|
Max Kellermann
|
5cc3338267
|
Merge branch 'v0.17.x'
Conflicts:
src/mapper.h
|
2012-08-14 02:39:03 +02:00 |
|
Max Kellermann
|
1ae8972859
|
mapper: fix non-UTF8 music directory name
Duplicate the music_dir variable: one encoded in UTF-8, and another
one using the configured filesystem character set. This fixes an
ancient MPD bug.
|
2012-08-14 02:28:04 +02:00 |
|
Max Kellermann
|
b4b1728b6f
|
DatabasePrint: don't print Last-Modified if unknown
|
2012-08-08 09:27:42 +02:00 |
|
Max Kellermann
|
21792386d8
|
time_print: new library, function time_print()
Implements error checking for the gmtime_r() call, which was missing
in two code locations.
|
2012-08-08 09:27:12 +02:00 |
|
Max Kellermann
|
8d2725234e
|
DatabaseCommands: merge duplicate search/find code
|
2012-08-08 00:49:07 +02:00 |
|
Max Kellermann
|
0823711106
|
locate: add a per-item "fold_case" flag
Merge locate_song_search() and locate_song_match().
|
2012-08-08 00:47:45 +02:00 |
|
Max Kellermann
|
8855efebc0
|
locate: don't allow empty list
|
2012-08-07 23:45:00 +02:00 |
|
Max Kellermann
|
6b39a5621d
|
locate: add "casefold" flag to parser
Fold the case during construction, without having to create another
copy.
|
2012-08-07 23:27:23 +02:00 |
|
Max Kellermann
|
f35ceaee0a
|
command: move code to DatabaseCommands.cxx
Prepare to use the DatabasePlugin C++ API directly.
|
2012-08-07 22:36:18 +02:00 |
|
Max Kellermann
|
a64a2a65a9
|
command: move print_error() to CommandError.cxx
Prepare for splitting command.c.
|
2012-08-07 22:26:14 +02:00 |
|
Jonathan Neuschäfer
|
c1f196dbec
|
command: require appropriate permissions for searchadd{,pl}
|
2012-07-10 00:23:19 +02:00 |
|
geneticdrift
|
799843cc97
|
New command searchaddpl
Search and add search result to a stored playlist.
|
2012-06-27 09:49:17 +02:00 |
|
geneticdrift
|
16e91baa79
|
New command searchadd similar to command findadd.
|
2012-06-27 09:41:15 +02:00 |
|
Max Kellermann
|
351ac4a2c0
|
command: read arbitrary local files with "lsinfo"
Requires UNIX domain socket connection.
|
2012-03-06 22:23:10 +01:00 |
|
Max Kellermann
|
1e60a4386a
|
playlist_edit: move UID check to client_allow_file()
|
2012-03-06 22:10:54 +01:00 |
|
Max Kellermann
|
e9f1b53ae6
|
command, ack: add ack_quark()
To pass ack values around.
|
2012-03-06 22:08:54 +01:00 |
|
Max Kellermann
|
5016839b90
|
use g_strerror() instead of strerror()
Make sure we get a UTF-8 encoded string.
|
2012-03-06 22:06:08 +01:00 |
|
Max Kellermann
|
faf35e6082
|
command: fix the "DENIED" ACK code
Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
|
2012-03-06 21:37:10 +01:00 |
|
Max Kellermann
|
ae28ba84d2
|
command: move code to protocol/argparser.c
|
2012-02-14 19:13:04 +01:00 |
|
Max Kellermann
|
b3f3b01958
|
command: use standard error messages in check_int()
|
2012-02-14 19:02:11 +01:00 |
|
Max Kellermann
|
52e9cab1c1
|
command: check for empty string after strtol()
An empty string is obviously not a valid integer.
|
2012-02-14 18:59:41 +01:00 |
|
Max Kellermann
|
1baaaa40cc
|
command: parse unsigned integers and booleans where applicable
|
2012-02-14 18:57:43 +01:00 |
|
Max Kellermann
|
b8ed420058
|
command: move functions to protocol/result.c
|
2012-02-14 18:57:29 +01:00 |
|
Max Kellermann
|
ed16ee3029
|
command: eliminate local buffer "unknown"
|
2012-02-14 18:57:12 +01:00 |
|
Max Kellermann
|
5540fbaec2
|
command: new command "config"
|
2012-02-13 20:30:27 +01:00 |
|
Max Kellermann
|
1d66e714e6
|
client: add function client_is_local()
|
2012-02-13 20:05:31 +01:00 |
|
Max Kellermann
|
3b6790c7dc
|
command: never print "bad name" in response to "load"
Work around a confusing error message.
|
2012-02-13 19:51:27 +01:00 |
|
Max Kellermann
|
b9673fc521
|
command: add optional range parameter to "load"
|
2012-02-09 23:55:34 +01:00 |
|
Max Kellermann
|
b0ea3f4261
|
playlist_save: add start/end_index parameters
|
2012-02-09 23:54:31 +01:00 |
|
Max Kellermann
|
0103219f00
|
playlist_queue: add start/end_index parameters
|
2012-02-09 23:44:33 +01:00 |
|
Max Kellermann
|
ef5cf40fa6
|
directory: require the caller to lock the db_mutex
Reduce the number of lock/unlock cycles, and make database handling
safer.
|
2012-02-02 18:06:33 +01:00 |
|
Max Kellermann
|
99949c8f6f
|
command: new command "seekcur"
For simpler seeking within current song.
|
2011-12-24 11:20:02 +01:00 |
|
Max Kellermann
|
a236a439cc
|
db_print: move code to function db_selection_print()
Use it in handle_lsinfo(), and eliminate some duplicate code.
|
2011-09-13 22:09:37 +02:00 |
|
Max Kellermann
|
b7d2d4cfe8
|
database: don't allow uri==NULL
Add nonnull attributes and fix all callers.
|
2011-09-13 21:39:07 +02:00 |
|
Max Kellermann
|
b4430839a3
|
database: generate GError when database is disabled
|
2011-09-13 20:54:27 +02:00 |
|
Max Kellermann
|
169db88c20
|
database: add struct db_visitor
Use this struct for db_walk().
|
2011-09-13 19:37:28 +02:00 |
|
Max Kellermann
|
ca419c84b8
|
stored_playlist: return GError, code is playlist_result
Improve error reporting and handling. command.c gets the new function
print_error(), which sends a GError to the client.
|
2011-09-11 07:57:50 +02:00 |
|
Max Kellermann
|
6a6f28668f
|
dbUtils: move code to db_print.c
|
2011-09-06 00:03:51 +02:00 |
|
Max Kellermann
|
dadf1339b5
|
dbUtils: pass player_control to findAddIn()
Allow calling findAddIn() without a client object.
|
2011-09-05 23:14:39 +02:00 |
|
Max Kellermann
|
b159bc0c5f
|
queue: implement song "priorities"
Sorts remaining songs by priority. This can be used for the
much-demanded "queue feature".
|
2011-07-19 00:34:33 +02:00 |
|
Max Kellermann
|
c2ada39fd3
|
Merge branch 'v0.16.x'
Conflicts:
NEWS
configure.ac
|
2011-04-12 08:11:33 +02:00 |
|
Max Kellermann
|
def2fe8805
|
Merge branch 'v0.15.x' into v0.16.x
Conflicts:
NEWS
configure.ac
src/listen.c
|
2011-04-12 07:39:01 +02:00 |
|
Max Kellermann
|
87ad2f8542
|
command: fix return value of handle_currentsong()
Thanks to clang for complaining.
|
2011-03-23 22:16:46 +01:00 |
|
Max Kellermann
|
0c9fc2f809
|
Merge commit 'release-0.16.2'
Conflicts:
Makefile.am
NEWS
configure.ac
|
2011-03-19 09:58:07 +01:00 |
|