https://bugs.kde.org/show_bug.cgi?id=453924

            Bug ID: 453924
           Summary: Add an option to pause the currently playing
                    song/video on an audio sink that vanishes
           Product: frameworks-kmediaplayer
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alex.me...@kde.org
          Reporter: raphael....@jakse.fr
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY

I'm not sure where this should be reported, sorry if I picked the wrong one.

On Android and probably other platforms, when an headset (bluetooth or jack) or
a speaker is disconnected, the currently playing song is paused. This is a
sensible behavior: if I'm listening to something on my headset and I unplug it,
it's likely I want to pause the thing being played or that I unplugged it
inadvertently and I don't want to annoy people next to me. Other problematic
situation: Bluez gets updated and restarted, or the headset runs out of
battery. This disconnects the  headset, and this can result in my music
suddenly screaming out of my internal speakers.

In addition to annoy people, it's likely that if I'm actually listening to a
podcast or watching a video, I will need to get back to the moment the
disconnection happened because I missed what followed.

The disconnection and sink switching is already a disruption in itself so
pausing whatever can be paused would not add much disruption. IHMO, ideally,
only things playing on this vanishing sink should be paused, not the other
stuff.

Pausing should be done before the sink switch. Otherwise, the sound could be
heard for a brief moment or a bit of the song / video could be missed.

I think this should be an option because likely not everyone want this, but it
should be turned on by default because people are not likely to turn it on
before being burned by the song that keeps playing after a disconnection.

Maybe if the sink is back again without other user interaction / within some
time interval, the song / video that has been paused could be restored
automatically, a bit like when you get a call on a phone connected to the
computer using KDE Connect.

STEPS TO REPRODUCE
1. Play something with software that supports MPRIS
2. disconnect your headset (Bluetooth or jack)

OBSERVED RESULT

The player is automatically switched to another available sink. It still plays
its thing, even if the sink is loud or muted.

EXPECTED RESULT

Whatever the player was playing is pause. Only then, the player is
automatically switched to another available sink. Maybe the song/video is
restored if the sink appears again.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to