Amazing Disappearing/Reappearing FLAC files... #985
-
Hi, I'm using my mympd with a fairly stripped down mpd (since all my music is in "one file per album" FLAC format and uses cue sheets) and while the track list for a given album shows up exactly as I'd like it to, ie.... 01 Track 1 Name ...and so on, at some point, usually within a few tracks, it starts showing... ⊚ Album Name.flac (where the ⊚ is the little CD image)
...and so on. The only way to go back to the default behavior is to delete the database and sticker files. It might be an MPD issue, rather than a UI thing, since I prefer to keep the album details in .cue files but the .flac files usually have a CUESHEET metadata block, just as a way of getting seek points into the data file. I've experimented with different playlist plugin combinations in the mpd.conf (by default I don't have any listed) but as often as not that causes all the albums in the database. Fortunately, at this point I've only got about 20 albums moved to the machine, so it's not a huge problem, but there's the best part of another 1600 to move, and by that time deleted the database every time won't be an option. Apologies if this turns out to be the case that mympd is doing exactly what it should be, and it's my MPD configuration that's causing the problems. PS Apologies for garbled track listings - they look OK in the composition window, but go odd when I post the comment. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
It’s likely a MPD issue, but we should validate this. We should grab the mpd protocol responses. Enable verbose output of MPD, replicate the issue, figure out the exact command myMPD sends to MPD and issue this command manually to MPD to get the response. Please add the command and his response and provide a screenshot. If this is too complicated for you, please provide the cue and flac files and your mpd version/ settings and I could try to replicate your issue. |
Beta Was this translation helpful? Give feedback.
-
I think I've found the cause, and it's not really a bug, just unexpected behavior. Before this particular problem appeared, I'd been going crazy with mute/unmute clicks on tracks on my headphones - a problem that's related to my Raspberry Pi's audio hat, not MPD or myMPD. What this meant was that I was doing a lot of rebooting of the server and it seems to be that the problem is due to the server rebooting while myMPD/MPD is active. So here's the listing for an album beforehand: Then after that I reboot the server and, once the server is responding again, the same album looks like this: The relevant sections from the logs immediately after the reboot (up to 13:31:22) and then when I opened a browser window and tried to view the album. Feb 24 13:31:10 musicbox mpd: update: updating John Foxx/London Overgrown/London Overgrown.flac So this only seems to happen when there's an unexpected reboot. Reducing the enabled playlist types to just "m3u" (for mympd's own playlists) and "cue" doesn't get rid of the problem, so it doesn't appear to be caused by confusion between the "cue", "embcue" and "flac" playlists. In fact, I established that in the case of this particular file, there wasn't an embedded CUESHEET in the FLAC, and adding one in (even though the EMBCUE and FLAC playlist plugins are disabled) resulted in every track appearing twice, once with the correct name from the .cue file, once as track0001, track0002 etc, Once I finally figure out why the mute/unmute behavior for my Pi's DAC isn't working as it should, reboots should become a very occasional thing, and doing a full rescan of the database after those is just routine maintenance. |
Beta Was this translation helpful? Give feedback.
-
Looks like something in the measures suggested in #942 has done the trick. I stripped all of the FLAC files of all but the unstrippable metadata (i.e. streaminfo), cleaned up the CUE files (not strictly necessary, but stuff bought through Qobuz has rather annoying comments embedded in tracks) than added the stripped down cue files into the CUESHEET tag on the FLAC, and altered the settings so that the only playlist plugins were CUE and M3U (the latter is only there so I can create playlists in myPD). It appears that the tracks are showing the correct info now. |
Beta Was this translation helpful? Give feedback.
#942