MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.3k stars 394 forks source link

Fix PlayerMPD.prev/next() when stopped #2326

Closed hoffie closed 2 months ago

hoffie commented 2 months ago

Fix PlayerMPD.prev/next() when stopped

Fixes #2294 Fixes #2327

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 8661575867

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/jukebox/jukebox/utils.py 1 6 16.67%
<!-- Total: 1 6 16.67% -->
Totals Coverage Status
Change from base Build 8605260930: -0.1%
Covered Lines: 494
Relevant Lines: 1292

💛 - Coveralls
s-martin commented 2 months ago

No action could be a third option, but that could also be added in a later PR.

https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/2327#issuecomment-2050522393

hoffie commented 2 months ago

No action could be a third option, but that could also be added in a later PR.

Added now.

As there have been further changes for #2327, this PR needs another review and new testing (I haven't tested the most recent state yet, maybe @igorwalton can help?).