You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it seems that some Subsonic doesn't parse ID3 tags properly for some media formats. Prime examples in my personal library are ogg files. Examples for an ogg file here and flachere. These are fully tagged in my beets library, and this is what Subsonic returns to me (for reference, the ogg is 132Kbps and 221 seconds).
The duration tag is parsed as a None, and thus the playback loop fails spectacularly because I have to guess how long the song is, and status crashes the server because it panics unwrapping the duration (or would error if I did it properly).
Simple math does work here, but luckily for me (/s) Subsonic also doesn't return bit rate with info on these media formats, so I can't guess at their duration by (file size / bit rate).
Forcing a fixed streaming bit rate works to a point, as you can't upsample a song; this works if the source is above whatever limit is set, but fails anyway if it's lower. I could make this a run-time variable and leave it to people to pick something lower than the lowest bit rate in their collection, but that sounds bad.
Looking for opinions on how to solve this (if it's even possible).
The text was updated successfully, but these errors were encountered:
So it seems that some Subsonic doesn't parse ID3 tags properly for some media formats. Prime examples in my personal library are
ogg
files. Examples for anogg
file here andflac
here. These are fully tagged in mybeets
library, and this is what Subsonic returns to me (for reference, theogg
is 132Kbps and 221 seconds).The duration tag is parsed as a
None
, and thus the playback loop fails spectacularly because I have to guess how long the song is, andstatus
crashes the server because it panicsunwrap
ping the duration (or would error if I did it properly).Simple math does work here, but luckily for me (/s) Subsonic also doesn't return bit rate with info on these media formats, so I can't guess at their duration by (file size / bit rate).
Forcing a fixed streaming bit rate works to a point, as you can't upsample a song; this works if the source is above whatever limit is set, but fails anyway if it's lower. I could make this a run-time variable and leave it to people to pick something lower than the lowest bit rate in their collection, but that sounds bad.
Looking for opinions on how to solve this (if it's even possible).
The text was updated successfully, but these errors were encountered: