Skip to content

Conversation

@philippe44
Copy link
Contributor

When scanning a mp3 stream, we have to wait for bitrate which might be found in body, not in header. So we wan't do scan in background, we have to wait

When scanning a mp3 stream, we have to wait for bitrate which might be found in body, not in header. So we wan't do scan in background, we have to wait
@michaelherger
Copy link
Member

What problem does this change solve? Is there any way I can test this change in behavior?

@philippe44
Copy link
Contributor Author

yes, use a mp3 podcast that is http, not https and have no redirect. Play it for >15s and then play if "from last position". Prior to this PR, it would restart from beginning because the bitrate would not be acquired before getNextTrack is called, i.e. before the bitrate is needed to calculate offset

@mherger mherger merged commit 1c36436 into LMS-Community:public/8.2 Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants