Resume play list after an event

proindo

New member
Joined
Aug 13, 2025
Messages
1
Hello everyone

I recently purchased a WiiU Amp Pro set to install at home and integrate it with my home automation system using the API libraries. It worked quite well until a problem arose. When someone ring the doorbell at home, I play an MP3 file through the speaker with the sound of a bell. The problem arises when the audio stops and I can't resume the previous playlist.

Is there a way to send a sound to the speaker (like an mp3 file) and then resume the music from where it left off?

Thank you very much.
 
Yes, through upnp it is possible.To save a snapshot: First you need to save the QueueContext through “BrowseQueue”. Second step is to save the position (track and reltime) through “GetPositionInfo”. To resume, first “CreateQueue” with the saved QueueContext and a name, say queue1. and then “PlayQueueWithIndex” with the same queue name (queue1) and the saved track number. Thirdly “Seek” to the position (reltime) and it continues as if nothing happened:). I implemented this with arduino and actually I love this snapshot function a lot, very handy also if you are listening to a playlist and just want to quickly listening to a radio station before resuming to the playlist 🤓
 
Back
Top