Cider icon indicating copy to clipboard operation
Cider copied to clipboard

[Bug]: Having Cider idling interrupts Music playing on other devices

Open 0xricksanchez opened this issue 2 years ago • 5 comments

Describe the Bug

The following scenario: I have my laptop idling to e.g. hit the gym or similar, where I still have Cider open (or in the background) with the emphasis on the music being paused. Now when playing music from a genuine Apple Music client on e.g. a phone/watch or whatever it happens every so often that the music stops playing.

image

I assume that Cider is making some requests to the Apple Music API that causes this. What's frustrating is that I did not yet figure out when this happens as it seems to happen "randomly". Not every time, sometimes once in like 2 hours, sometimes every couple of minutes..

Steps to Reproduce

  1. Have a device with cider open but music paused
  2. Take another device and play music from the Apple Music client
  3. Pray to RNGesus to have the above described scenario happen

Environment Information

  • OS: Arch Linux
  • Desktop Environment: i3
  • App Version: 1.5.9
  • Commit ID:

How did you download the software?

AUR

Anything else?

No response

Code of Conduct

Disclaimer

0xricksanchez avatar Nov 17 '22 13:11 0xricksanchez

We don't make idle requests, it must just be that the app is still using MusicKit. An idle deauth feature could be added in the future, however this would make the user have to log in again.

coredev-uk avatar Nov 17 '22 13:11 coredev-uk

I can see how that would decrease usability by a lot when having to log in every X minutes not playing music in Cider. I don't know the API you're using here at all, so I have no idea what a solution could look like from the technical side. I am uncertain if there's something like a is_playing_on_device() functionality that could prevent Cider from further usage of MusicKit (if that's the culprit)

0xricksanchez avatar Nov 17 '22 13:11 0xricksanchez

Yeah the API docs aren't the most helpful, especially when it comes to things like this. I'll take a look to see if we can fix this.

coredev-uk avatar Nov 17 '22 13:11 coredev-uk

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jan 07 '23 01:01 github-actions[bot]

Just confirming that I also see this behavior on Linux.

rschmukler avatar Apr 09 '23 22:04 rschmukler