Hi,
Is there a way to tell LMS to finish playing the current track, and then
stop (i.e., not proceed with the next entry in the queue/playlist)?
Results 1 to 6 of 6
Thread: Controlled stop
-
2020-12-03, 14:32 #1jvromans@squirrel.nlGuest
Controlled stop
-
2020-12-03, 14:39 #2
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 3,664
Sleep at end of track perhaps - not quite the same but close.
Paul Webster
http://dabdig.blogspot.com
Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland
-
2020-12-04, 12:21 #3
- Join Date
- Jun 2017
- Posts
- 387
I am certain this is not what you are looking for, but I posted about a convoluted way to to do tasks like this, just a few months ago:
https://forums.slimdevices.com/showt...l=1#post989577
In that post, I mentioned using a named pipe to send commands to the LMS CLI, but it would also be feasible to use the command line utility, Squeezy. The challenge is finding an effective way to monitor what's playing and respond to changes.
At the end of an evening, I frequently add a silent file to my playlist that is tagged with the title "[Command] stop group all". When my LMS monitor sees that title is now playing, it knows to send a stop command to the group player named AllPlayers.
It's not pretty, elegant, or efficient. But it does the job.LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic.
-
2020-12-04, 20:47 #4
- Join Date
- Aug 2012
- Location
- Austria
- Posts
- 1,179
Various SW: Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | DB Optimizer | Chiptunes | LMSlib2go | ...
Various HowTos: build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
-
2020-12-04, 21:10 #5
- Join Date
- Jun 2017
- Posts
- 387
-
2020-12-10, 15:01 #6
- Join Date
- Jul 2020
- Posts
- 255
In my experience the problem here is that the "clear playlist" button also stops playing the current track. That seems counter intuitive (and also not very useful). Usually one wants to clear the current playlist and queue up something new first, and only then stop playing what's playing now.
IMO the "clear playlist" button/command should only remove the upcoming tracks, but let the current track finish playing.