- 29 Oct, 2018 6 commits
-
-
Max Kellermann authored
The compile-time calculation for `factor` overflows because `1<<31` cannot be represented by `int`. By casting to `uintmax_t` first, we can avoid this overflow. Closes #380
-
Max Kellermann authored
-
Max Kellermann authored
This assertion currently fails for S32 due to integer overflow (#380).
-
Max Kellermann authored
This emits the event even if PlayerControl::Play() is used to replay the current song, which emits the missing "player" idle event. Closes #381
-
Max Kellermann authored
-
Max Kellermann authored
Replaces the workaround from commit 751fff07 which fixed only one of many crash locations. See: https://github.com/MusicPlayerDaemon/MPD/issues/373 https://github.com/android-ndk/ndk/issues/831 https://bugs.llvm.org/show_bug.cgi?id=32611
-
- 23 Oct, 2018 2 commits
-
-
Max Kellermann authored
Closes #373
-
Max Kellermann authored
Closes #360
-
- 22 Oct, 2018 11 commits
-
-
Max Kellermann authored
In this new order, a filter 'AlbumArtist ""' matches only on songs which neither have `AlbumArtist` nor `Artist`.
-
Max Kellermann authored
Grouping in the "list" command was completely broken from the start, unlike "count group". I have no idea what I have been thinking when I wrote commit ae178c77, but it didn't make any sense. This commit is a rewrite of the feature. For clients to be able to detect this feature, this commit also increments the protocol version.
-
Max Kellermann authored
Be consistent with "list" responses.
-
Max Kellermann authored
-
Max Kellermann authored
Just like AlbumArtist falls back to Artist, AlbumArtistSort should fall back tom AlbumArtist, ArtistSort and finally Artist. Closes #355
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This improves the workaround from commit b5ba94f1 and actually gives a useful result for "list" with a disabled tag.
-
Max Kellermann authored
-
- 28 Aug, 2018 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Sometimes, the JVM returns a non-nullptr value with an exception pending (seen on Android 1.6, maybe a Dalvik bug?). Let's catch all such cases.
-
- 20 Aug, 2018 1 commit
-
-
Thomas Guillem authored
Since nfs_stat_async is deprecated.
-
- 19 Aug, 2018 1 commit
-
-
Thomas Guillem authored
A Java object to send logs on the android side.
-
- 17 Aug, 2018 3 commits
-
-
Joshua Wise authored
When using a database that was not created with a WebDAV music_directory (i.e., if using a remote database, on which updates happen locally) and using the Curl storage plugin, MPD would previously send GET requests that had unescaped spaces in them. This change uses Curl's URL-encode API to solve this.
-
Max Kellermann authored
-
Max Kellermann authored
The number of MPD installs on Android < 5.0 is negligible, and that API version introduces lots of useful features for MPD.
-
- 13 Aug, 2018 1 commit
-
-
Max Kellermann authored
According to http://wiki.hydrogenaud.io/index.php?title=Cue_sheet FLAC files should use the "WAVE" file type, but I recently encountered CUE files declared as "FLAC" which could not be read by MPD.
-
- 02 Aug, 2018 2 commits
-
-
Max Kellermann authored
Required according to RFC 3986: > An implementation should accept uppercase letters as equivalent to > lowercase in scheme names Closes #330
-
Max Kellermann authored
-
- 06 Jul, 2018 10 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This way, IsFileNotFound() can detect status 404.
-
Max Kellermann authored
Supports .mpdignore on NFS/SMB and others (closes #290).
-
Max Kellermann authored
Allows callers to extract the NFS error code.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
See commit be137a19
-
Max Kellermann authored
Since 7d353bbe, _GNU_SOURCE is always defined, which implies __USE_MINGW_ANSI_STDIO and thus switches to the mingw implementations of the printf() family. That's standards-compliant, unlike Microsoft's CRT implementations.
-