New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skiping titles needs exeption handling #1791
Comments
I did further analysis about this issue and the following happens, when skipping goes wrong:
This causes also trouble to mpd:
The Upnp client error comes about 5min40s later and sometimes the mpd restart with new connections to local.host.
When the mpd restarts, the volumio log shows
I also monitored the OS with top and the mpd process somewhat disappears from the list but service mpd status states a running mpd. In this state the mpd service is not reachable:
Restarting the mpd service in this state takes about 2 min! |
Using Volumio 2.599 on RPi 3B+ Volumio stop working after skipping a title goes wrong.
I patched the statemachine about the issue with negative play back timer (a different github PR). and now i describe the second trouble:
When a webradio channel is streaming for about >10min then the skipping of titles become a jeopardy: When the volumio.log state "info: Received update from a service different from the one supposed to be playing music. ..." then the following happens:
info: sending command...
2019-08-11T14:28:09.746Z - info: ------------------------------ 88ms
2019-08-11T14:28:09.752Z - info:
2019-08-11T14:28:09.753Z - info: ------------------------------ 57ms
2019-08-11T14:28:09.812Z - info:
---------------------------- MPD announces system playlist update
2019-08-11T14:28:09.814Z - info: Ignoring MPD Status Update
2019-08-11T14:28:09.815Z - info: parsing response...
2019-08-11T14:28:09.816Z - info: CoreStateMachine::setConsumeUpdateService mpd
2019-08-11T14:28:09.817Z - info: ControllerMpd::sendMpdCommand play
2019-08-11T14:28:09.819Z - info: sending command...
2019-08-11T14:28:09.822Z - info: ------------------------------ 10ms
2019-08-11T14:28:09.827Z - info: parsing response...
2019-08-11T14:28:10.965Z - info:
--- no Audio and the MPD get stuck. On tailing volumio.log you can see that the system is reacting on play, pause, prev, next... but MPD does nothing. ---Not Always---
Recovering from this state: service mpd restart (stopping takes very long 2-3min), Setting/playback some different buffer size e.g. 4MB --> 8MB (timeout upnp 1 min 20 s), reboot (1min).
Running this section without exception handling is careless.
A funny thing is in this case: When a webradio channel is after a tidal title in the playlist, then i always get negative playback timer and in 2-3 out of 4 cases, the player can recover. If not the player stops again (on the end the player does prefetching the next title regardless the source).
I uploaded the volumio.log on http://logs.volumio.org/volumio/Id6Jldy.html . With no skipping possible and negative play back timer issues.
The text was updated successfully, but these errors were encountered: