Skip to content

cue files not playable when in remote DB mode #2478

@vale-max

Description

@vale-max

Bug report

Describe the bug

If MPD is configured to use a remote DB via proxy plugin, playing a track from single flac file using a cue sheet fails with:
ERROR: Failed to decode "/media/Music/Flac_rips/Erykah Badu/Baduizm/Erykah Badu-Baduizm.cue/track0001"; Failed to open "/media/Music/Flac_rips/Erykah Badu/Baduizm/Erykah Badu-Baduizm.cue/track0001": Not a directory

The error is the same if the files are local, nfs or smb

The directory contains:

ls -l /media/Music/Flac_rips/Erykah\ Badu/Baduizm/
total 336912
-rwxr-xr-x 1 root root      1466 12 nov  2008 'Erykah Badu-Baduizm.cue'
-rwxr-xr-x 1 root root 344991752 12 nov  2008 'Erykah Badu-Baduizm.flac'

If the database is local, the same track is played correctly

Expected Behavior

Play the track from the cue file even if DB is remote

Actual Behavior

play fails with error above

Version

Server:mpd --version
Music Player Daemon 0.24.6 (0.24.6)

Client:mpd --version
Music Player Daemon 0.24.4 (0.24.4)

Configuration

music_directory		"/media/Music"
playlist_directory		"/var/lib/mpd/playlists"
state_file			"/var/lib/mpd/state"
sticker_file                   "/var/lib/mpd/sticker.sql"
user				"mpd"
bind_to_address			"any"
database {
       plugin "proxy"
       host "nas.lan"
       port "6600"
}
input {
        plugin "curl"
}
decoder {
        plugin                  "hybrid_dsd"
        enabled                 "no"
}
decoder {
        plugin        "wildmidi"
        enabled       "no"
        #config_file "/etc/timidity/timidity.cfg"
}
audio_output {
        type            "alsa"
        name            "Bluetooth Out"
        device          "bluealsa"      # optional
        mixer_type      "software"      # optional
}
audio_output {
        type            "alsa"
        name            "HiFiBerry"
        device          "hw:CARD=sndrpihifiberry,DEV=0"      # optional
        mixer_type      "software"      # optional
}
filesystem_charset		"UTF-8"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions