Server Version#: 1.24.5.5173
Player Version#: Sonos
I have a bunch of .flac files that I’ve ripped from CD. When I try to play some of them through the Sonos app I receive an error saying connection to Plex was lost. Looking at the PMS logs [Transcode] Streaming Resource: Bandwidth exceeded: 2147483647 kbps > 32000 kbps
The 32000 kbps comes from my setting of 40mbps upload speed, but I can’t figure out why these new .flac files are showing such a weirdly high bandwidth. The same files play fine with PlexAmp and even play fine on the Sonos when I map my network drive directly as a Music Library.
I also see these errors if I turn on debug:
Cannot direct play this item. Required bandwidth is not known and only kbps is available
I may have narrowed down the problem, but not sure why or how to fix. I tested with a file that works and a file that does not work. It seems the error for a file that does work says “Cannot direct play this item. Required bandwidth is not known and only kbps is available”
If I get info on the 2 files, I can see this XML tag in the file that works: requiredBandwidths=“691,691,691,691,691,691,691,691”
However that tag is missing in the file which does not work. I have no idea how or why that tag is missing on some of my flac files but I believe that is the cause of my problem. Any ideas where that metadata tag comes from?
I found a post which described the deep analysis, I wasn’t sure how to kick that off manually, however noticed that my scheduled tasks were set to run at 2AM. I checked this morning and the files now have requiredBandwidths metadata.
I think you can force it to run when a track is added by changing the “ Analyze audio tracks for loudness” and “Analyze audio tracks for sonic features” to “as a scheduled task and when media is added” under “settings, library”.
Thanks, I have since set those. Looks to be a solution.
As a side note I had upgraded PMS to latest version = 1.25.3.5409 and the problem still exists. Reading the patch notes back from my previous version I saw a lot of fixes related to scanning Music so was hopeful it was fixed, but was not.