MusicPlayerDaemon / MPD

Music Player Daemon
https://www.musicpd.org/
GNU General Public License v2.0
2.17k stars 352 forks source link

image+.cue in satellite mpd setup #1752

Closed Lodger-test closed 1 year ago

Lodger-test commented 1 year ago

Bug report

Cue playlist for flac image on client side of the satellite setup does not work properly. The album starts playing from the beginning on each track in playlist. Seems like it doesn't respect .cue and treats one big FLAC album file like one track. The log is empty. The same image+.cue works fine on the server side mpd.

Expected Behavior

Each track of the album plays to the end and the next track starts. I can start any other album track.

Actual Behavior

Each next track of the album playlist from cue sounds like the first track of the album -> the whole flac image starts playing from the beginning. I can't start any different album track, the whole album starts again.

Version

mpd in termux on android

Music Player Daemon 0.23.12 (0.23.12)
Copyright 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2021 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
 simple proxy

Storage plugins:
 local udisks nfs curl

Neighbor plugins:
 udisks

Decoders plugins:
 [mad] mp3 mp2
 [vorbis] ogg oga
 [oggflac] ogg oga
 [flac] flac
 [opus] opus ogg oga
 [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
 [dsdiff] dff
 [dsf] dsf
 [hybrid_dsd] m4a
 [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve rtp:// rtsp:// rtsps://
 [gme] ay gbs gym hes kss nsf nsfe rsn sap spc vgm vgz
 [pcm]

Filters:
 soxr

Tag plugins:
 id3tag

Output plugins:
 null sles fifo pipe ao openal pulse httpd snapcast recorder

Encoder plugins:
 null vorbis opus lame wave flac

Archive plugins:
 [bz2] bz2

Input plugins:
 file archive curl ffmpeg nfs

Playlist plugins:
 extm3u m3u pls xspf asx rss flac cue embcue

Protocols:
 file:// ftp:// ftps:// gopher:// hls+http:// hls+https:// http:// https:// mmsh:// mmst:// nfs:// rtmp:// rtmps:// rtmpt:// rtmpts:// rtp:// rtsp:// rtsps:// scp:// sftp:// smb:// srtp://

Other features:
 dbus udisks icu ipv6 tcp un

Configuration


playlist_directory      "~/.mpd/playlists"

log_file            "~/.mpd/log"

pid_file            "~/.mpd/pid"

state_file          "~/.mpd/state"

sticker_file            "~/.mpd/sticker.sql"

bind_to_address     "/data/data/com.termux/files/usr/var/run/mpd.socket"

restore_paused "yes"

follow_outside_symlinks "yes"

follow_inside_symlinks      "yes"

music_directory "http://192.168.0.6:8000"
database {
       plugin "proxy"
       host "192.168.0.6"
       port "6600"
}

input {
        plugin "curl"
#       proxy "proxy.isp.com:8080"
#       proxy_user "user"
#       proxy_password "password"
}

audio_output {
        type            "sles"
        name            "OpenSLES output"
        mixer_type      "software"
}

Log

Lodger-test commented 1 year ago

Sorry, that was not a bug. That was python http.server, which supports only http/1.0 without AcceptRanges. Rclone webdav works perfect.

The case is closed.