Sleep Timer & UPnP

Issue description:

Sleep timer fails to activate when casting over UPnP. Music just keeps on going past the stop point.

Logs:

Upload description: Scott

Additional information:

 
Android 14
 

Reproduction steps:

 
Samsung Galaxy S22 Ultra
 

Media provider:

Local device

Screenshots:

     

There’s no logs uploaded …

I just shared log with support in advanced settings and debug mode.

Next time do not lie when opening the issue so that everyone gain time thanks.

What did you do in those logs exactly ? All I can suppose would be Samsung pausing the app, check https://dontkillmyapp.com/ and exclude Symfonium from battery optimisations.

Excuse me? I dont appreciate the accusation.

I ran in debug mode and I cast via UPnP to the speaker. I pressed play on the track, set the timer. Then I showed on screen the count down from 3 min until full time elapsed, and how the music still continues to play. After that I uploaded the report.

Not accusation just a fact, when you open the issue it’s said that logs are mandatory, you have to check a box saying I have uploaded logs and give the description you used.

You did not upload the logs, but since you lied opening the issue, I went to the log server to search your logs, since the description found nothing I searched for typos and the most recent uploads, still nothing, then I had to come here and ask for the logs.

That’s a lot lot of time lost for nothing, multiply that by the number of users and try to understand the issue.

Anyway as said :
Probably Samsung pausing the app, check https://dontkillmyapp.com/ and exclude Symfonium from battery optimisations.

Hi Tolriq,

I submitted the debug report after raising the issue, and I believe the explanation was clear.

Despite removing battery optimisations, the problem continues and also occurs on a different phone without any restrictions.

Would you like more logs or additional information? Please advise on the next steps.

Thank you for your understanding.

Best regards, Scott

Where can i find the sleep timer in the options?
@Scott do you mean a third party app that should stop the playback? (like this: https://play.google.com/store/apps/details?id=ch.pboos.android.SleepTimer&hl=en)
@Tolriq my guess is from your answers that symfonium gets closed unexpected which is why i guess it is a third party app that to stop the music simply kills the app. I think the problem is that if you cast your music it gets cached on the device (If your connection is bad it is still a smooth playback compared to a normal bluetooth speaker) and if symfonium gets killed it plays the cached song and doesn’t pause it.
I would say this is intended behavior.

Hi,

I want to bring the focus back to my original question directed at Tolriq. My enquiry concerns the built-in sleep timer feature in Symfonium and the issue I’m experiencing, which is not related to third-party apps or unexpected app closures.

To clarify:

  • The built-in sleep timer in Symfonium appears in the play settings once the music starts, which might be why it wasn’t easily located. Moving this feature to the main settings would make it more accessible.

  • I am discussing this issue here in the forum because it pertains to Symfonium’s built-in sleep timer feature, not a third-party app.

  • I am not referring to a third-party app or issues with the app closing.

  • While music caching can help with smooth playback, the sleep timer should still be able to stop playback. If the app were killed, it would generally stop the casting because the app needs to actively manage the connection.

Regarding the response suggesting that this is intended behavior, I strongly disagree. A built-in sleep timer should effectively stop music playback, even when casting. It seems unreasonable for the music to continue playing past the set stop point.

Thanks for the tipp.
@Tolriq there is no documentation for this option. (Or i can’t find it with a search “sleep” or “sleep timer”)

You are right the intended behavior was meant if it gets killed.
Why?
If i cast my music and after a few seconds disable my wifi connection the song still plays to the end that’s why i thought it is intended behavior.

I tested the sleep function with 1 minute (casted to my speaker) and it stopped for me reliably. (unable to reproduce the error :confused:)

Thank you for the feedback.

To clarify my experience:

  • I’ve tested the built-in sleep timer on Symfonium using multiple different phones and speakers while casting. In all cases, the sleep timer did not reliably stop playback, even with all necessary settings adjusted and battery optimisations removed.

  • Given my thorough testing, it appears this might be a common issue. I am also planning to have my colleagues try it out with their equipment and the app to further validate these findings.

  • I acknowledge there was a delay in sending the debug report, which caused some frustration. I apologize for the inconvenience. The report has since been submitted, and the issue remains unresolved.

Tolriq, any additional guidance on this matter would be greatly appreciated. If you need any further information or details, please let me know.

Thank you for your assistance. :slight_smile:

Obviously wrong, just here we have 2 working for 1 non working :wink:
The sleep timer is independent of where the music is played.

Took you some time, but it’s not frustration this is tons of time lost for no purpose.
Time is one of the only things you can’t purchase or reverse or recover and so it precious.

Not reliably is very very different from never working, so please better describe all your tests and actual results.

Thank you for your response.

Tolriq, let’s focus on resolving the issue constructively. Yes, the report was initially missing, and I forwarded it as soon as I was made aware. Constantly bringing up and berating clients over a mistake is not productive and comes across as confrontational.

Regarding the functionality of the sleep timer:

  • I have now tested the built-in sleep timer on Symfonium using multiple different phones and casting to various speakers. In all cases, the sleep timer did not stop playback, even with all necessary settings adjusted and battery optimisations removed.

  • I used the term “reliably” because one user reported their experience using that term, meaning they got it to work. In contrast, it should be clear from all my communications that I meant the sleep timer did not work at all.

  • My colleagues and I have extensively tested the sleep timer, and we all encountered the same issue: the sleep timer does not activate and goes past the set time, while the music continues to play. This suggests a common issue rather than an isolated incident.

  • You mentioned that the sleep timer is independent of where the music is played. However, this issue persists across different phones and speakers, indicating that the problem likely lies within the app itself.

The testing process and issues have been fully outlined.

Regards.

Just another data point really, but it’s working for me playing to a WiiiM Pro and a Sonos Play 1.
I set the timer to 3 minutes, which included a track transition, and locked the phone (Pixel 6).

Are you saying that even if you set it to 1 minute and watch the timer count down on the now playing screen, it still doesn’t stop the track?

Or a miss usage since as explained the sleep timer is not related to where Symfonium is playing.
Unfortunately the logs do not log every actions so I can’t be sure what you are doing.

Can you make a video of how you start the sleep timer?
And show the 3 dots menu content after a couple of seconds?
Or if you enabled the show additional information, click a couple of time on the line to reach the sleep timer display ?

How can it be a misusage? I set the sleep timer within the Symfonium app (3 dots, crescent moon, slide the scale and hit start) after pressing play on the track (only way it currently is possible)… I hear the music output from a speaker and observe the count down, showing it is running. It still doesn’t stop the track when expired. I can make a video, but I’m doing it right.

For clarification, are you using Symfonium built-in sleep timer or one in the WiiM Home app?

Out of interest, can you confirm if it has one, and is it effective with Sonos?

Also, is there a fade out option, one that can be set to 3 sec?

Cheers

I was testing the Symponium sleep timer with the WiiM and Sonos speakers.

The WiiM Home app does have a timer, which seems to work, but the app only controls WiiM - or more accurately most LinkPlay - devices.

There is a fade in/out option but it’s not configurable. I’ll have a look later to see what the default is. The WHA is VERY basic for local music, supporting only UPnP and Plex.

1 Like