mots wrote: 
> Yes, this is the condition I was thinking of, too.  I will take the
> steps you suggested to verify that is the case, though. If that is the
> case, how would we solve it? This is where I thought a queue might come
> in handy - listen to requests that came in while the notification was
> playing and repeat them once we restore, but maybe theres a better way?
> 
Not sure how a queue could help. AFAIK a plugin can only receive
requests addressed to itself, not all request sent to the server.
A plugin can subscribe to server events (e.g. playback starts), but I
don't see how this would help here. 
How does rhasspy  start playback? 

mots wrote: 
> 
> When you say "it would block the server", would that mean the entirety
> of the server, including playback and all that or just whatever thread
> handles commands?
> 
the former



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI |
Playlist Editor / Generator | Music Classification | Similar Music |
Announce | EventTrigger | DB Optimizer | Image Enhancer | Chiptunes |
LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=109096

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to