WiiM Mini can't resume queue?

kataleen

Member
Joined
Dec 11, 2024
Messages
8
Just noticed now that the device is not able to resume if I pause an mp3 song when it's part of the queue/list. I am using the uPnP API to create a queue and start playing. I can use the regular API call to pause, which works, but once I hit resume, the song starts from the beginning. Same behavior with the play/pause API call and also similar behavior in the WiiM app on the iPhone.

Is there a plan to fix this or a workaround?

Thanks.

EDIT: And a second bug/inconsistency that may be related: if the current song is paused while part of the queue, calling the Seek API endpoint will skip to the next song, even if the position is valid within the currently paused song.
 
Was just about to delete the thread, realizing I'm an idiot, but I will leave it here for anyone in the same situation. Problem was that the queue had the Radio flag set to 1. Switched to 0 and problem is fixed.

XML:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:CreateQueue xmlns:u="urn:schemas-wiimu-com:service:PlayQueue:1">
            <QueueContext>
                &lt;?xml version=&quot;1.0&quot;?&gt;
                &lt;PlayList&gt;
                    &lt;ListName&gt;AudioStack&lt;/ListName&gt;
                    &lt;ListInfo&gt;
                        &lt;Radio&gt;0&lt;/Radio&gt;
                        &lt;SourceName&gt;Local&lt;/SourceName&gt;
                        &lt;PicUrl&gt;&lt;/PicUrl&gt;
                        &lt;TrackNumber&gt;1&lt;/TrackNumber&gt;
                        &lt;SearchUrl&gt;&lt;/SearchUrl&gt;
                        &lt;Quality&gt;0&lt;/Quality&gt;
                    &lt;/ListInfo&gt;
                    &lt;Tracks&gt;
                    &lt;Track1&gt;
                        &lt;URL&gt;http://streamserver/02 Chronologie 2.mp3&lt;/URL&gt;
                        &lt;Source&gt;OnlineMusic&lt;/Source&gt;
                        &lt;Key&gt;&lt;/Key&gt;
                        &lt;Id&gt;&lt;/Id&gt;
                        &lt;Metadata&gt;
                        &lt;/Metadata&gt;
                    &lt;/Track1&gt;
                    &lt;/Tracks&gt;
                &lt;/PlayList&gt;
            </QueueContext>
        </u:CreateQueue>
    </s:Body>
</s:Envelope>
 
Back
Top