music player daemon (fork)
Go to file
BurroCargado 11d1f56062 Fix seeking HLS on-demand streaming not working
This issue occurs when playing HLS streaming delivered
from a server that does not support partial requests.
The issue is reproduced as follows(using Ubuntu 20.04 PC):

1. Prepare HLS example content.

$ mkdir test
$ ffmpeg -i example.flac -vn -c:a aac -b:a 128000 -f hls -hls_list_size 0 test/output.m3u8
(ffmpeg 4.2.4 is used)

2. Prepare web server without partial requests support.
(Docker version 20.10.12 and NGINX official Docker image is used)

$ docker run --name tmp-nginx-container -d nginx
$ docker cp tmp-nginx-container:/etc/nginx/conf.d/default.conf .
$ docker rm -f tmp-nginx-container

Edit default.conf and add "max_ranges 0;" to "location / {...}".
This disables partial requests support,
removes 'Accept-Ranges: bytes' header from the server response.
Then, run the server:

$ docker run --name test-nginx -v $PWD/test:/usr/share/nginx/html:ro -v $PWD/default.conf:/etc/nginx/conf.d/default.conf -d -p 8080:80 nginx

3. Setup MPD to Play the next URL.

http://address-of-the-server:8080/output.m3u8

Seeking this stream results in "exception: Not seekable".
2022-05-07 12:18:56 +09:00
.github .github/workflows/build.yml: rebuild branch v0.23.x 2021-12-03 23:00:42 +01:00
android android: add gdb.sh 2022-04-26 17:47:54 +02:00
build build/pkg-config.sh: add comment 2019-02-22 12:39:59 +01:00
doc increment version number to 0.23.7 2022-03-14 18:55:55 +01:00
python/build python/build/libs.py: update Boost to 1.79.0 2022-04-26 18:27:51 +02:00
src Fix seeking HLS on-demand streaming not working 2022-05-07 12:18:56 +09:00
subprojects update all subprojecs 2022-04-26 18:01:53 +02:00
systemd Revert "systemd: add "RuntimeDirectory" directive" 2021-11-11 10:16:13 +01:00
test meson.build: always enable Wave encoder for Snapcast 2022-04-26 20:13:43 +02:00
win32 python/build/libs.py: update libopenmpt configure flags 2021-11-04 15:23:24 +08:00
.clang-format Add .clang-format 2020-05-27 18:58:55 +08:00
.gitignore .gitignore: add emacs lsp-mode files 2020-05-26 21:07:56 +02:00
.travis.yml meson.build: libfmt integration 2021-05-25 15:48:49 +02:00
AUTHORS copyright year 2021 2021-01-01 19:54:28 +01:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
meson_options.txt Merge branch 'v0.22.x' 2021-08-05 15:17:07 +02:00
meson.build increment version number to 0.23.7 2022-03-14 18:55:55 +01:00
mpd.svg import MPD SVG icon 2014-07-14 19:04:46 +02:00
NEWS upnp: use UpnpInit2 always 2022-04-26 17:57:48 +02:00
README.md doc, README.md: update IRC server name/URL 2021-06-23 15:48:42 +02:00
valgrind.suppressions valgrind.suppressions: add GObject/libgcrypt/libsmbclient suppressions 2019-02-05 22:53:02 +01:00

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.