Errata Streaming to Sonos

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

BiffTheUnderstudy
Posts: 10
Joined: Sun Aug 11, 2019 3:00 pm

Errata Streaming to Sonos

Post by BiffTheUnderstudy »

I am using version 2024.2.1.3213 on Windows 11, streaming to a Sonos system.

I have had a couple of instances where I have lost connection from within the OS to the drive on which the music files are stored. After restoring the connection and after a restart, MediaMonkey skips past songs when streaming to Sonos. I have a playlist of ~5000 songs and it might skip hundreds before playing one.

Some other facts:
If I use the internal player the tracks play normally. Switching back to the Sonos stream after this still skips tracks.
I can stream to Sonos from my iPhone with no issues.
I can play the audio files using VLC without problems.

Any ideas?
BiffTheUnderstudy
Posts: 10
Joined: Sun Aug 11, 2019 3:00 pm

Re: Errata Streaming to Sonos

Post by BiffTheUnderstudy »

One more observation: it appears that songs added to the library *after* the drive was restored will play to Sonos. It's as if MediaMonkey has some memory of the drive failure and "gives up" on some files.
Lowlander
Posts: 59433
Joined: Sat Sep 06, 2003 5:53 pm

Re: Errata Streaming to Sonos

Post by Lowlander »

Do the files still have a drive letter in MediaMonkey when this happens?

Related: https://www.mediamonkey.com/support/kno ... s-to-play/
BiffTheUnderstudy
Posts: 10
Joined: Sun Aug 11, 2019 3:00 pm

Re: Errata Streaming to Sonos

Post by BiffTheUnderstudy »

Thank you for the reply!

The files have drive letters and are not greyed out. As mentioned, this is specific to streaming to Sonos and the internal player works normally. I checked the scenarios in the link provided and none of them apply here.
Lowlander
Posts: 59433
Joined: Sat Sep 06, 2003 5:53 pm

Re: Errata Streaming to Sonos

Post by Lowlander »

Please capture the problem in a debug log (step 4b) and attach the log to a Support Ticket: https://www.mediamonkey.com/forum/viewtopic.php?t=86643

This will help a developer analyze why this happens on your setup.
BiffTheUnderstudy
Posts: 10
Joined: Sun Aug 11, 2019 3:00 pm

Re: Errata Streaming to Sonos

Post by BiffTheUnderstudy »

Thanks for sharing the process! The debug file helped me understand what must have been the problem.

I was able to fix the problem by clearing the files in:

%USERPROFILE%\AppData\Local\Temp\MediaMonkey\Transcoded_Media_Files

I suspect what happened is that when MediaMonkey couldn't access the files it created (effectively) "blank" transcoded files so when I encountered them again it sent the "blank" files to Sonos. Not skipping per se but playing empty files.

Does anyone know if it's possible to prevent MediaMonkey from creating transcoded files at all? My source files are FLAC and I'd like to use them instead of MP3s.
Lowlander
Posts: 59433
Joined: Sat Sep 06, 2003 5:53 pm

Re: Errata Streaming to Sonos

Post by Lowlander »

It depends on your Auto-Conversion rules if files are transcoded to a different format.

Would you be able to share the log with Support of MediaMonkey creating blank transcoded files?
BiffTheUnderstudy
Posts: 10
Joined: Sun Aug 11, 2019 3:00 pm

Re: Errata Streaming to Sonos

Post by BiffTheUnderstudy »

When I took the log the files were already there and the drive was healthy, so no new blank transcoded files were created. It's just evidence that it was using them. If you think that would still be helpful then I'd be happy to create a support ticket. Thanks!
Lowlander
Posts: 59433
Joined: Sat Sep 06, 2003 5:53 pm

Re: Errata Streaming to Sonos

Post by Lowlander »

It would, as obviously this shouldn't happen in the first place. Thank you.
Post Reply