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

            Bug ID: 476123
           Summary: KDE Connect randomly starting playback of
                    paused/stopped media on PC side
    Classification: Applications
           Product: kdeconnect
           Version: unspecified
          Platform: Android
                OS: Android 13.x
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: k...@sausenthaler.de
                CC: andrew.g.r.hol...@gmail.com
  Target Milestone: ---

Created attachment 162579
  --> https://bugs.kde.org/attachment.cgi?id=162579&action=edit
log file from "adb logcat"

Youtube starts playing againg after a video has finished. It happens
autonomously while away from keyboard and phone.
May apply to generic multimedia playback but I've only picked Youtube for
debugging.

I experienced the bug for some time now and I found a matching reddit report on
it:
https://www.reddit.com/r/kde/comments/nsym2s/kde_connect_randomly_plays_stuff/

Boiled down to Plasma integration plugin for Chromium and having KDE Connect on
my Android connected.
It's not affected by other Browser plugins since I've deactivated all of them
for testing.

Happens randomly, from a few seconds after the video just finished up to 10
minutes or maybe more.

In KDE Connect settings on PC I've deactivated "Pause on call" and
"MprisRemote", which seem to not causing the problem.

Seems to be related to "Multimedia-Receiver control" (guessed the translation)
resulting in Android showing a widget in the top-down menu containing the media
title and a play/pause button.
Doesn't matter if Android is awake or in display off mode.

Systemd-journal sometimes dropped a few repeating lines: 'kdeconnectd[1736]:
discarding unsupported packet "kdeconnect.mpris" for "CPH2145"'
Also when the playback starts automatically again. But seems to be related to
the turned off "MprisRemote" plugin. So probably ignore this information.

Wasn't able to reduce the logs because of massive output. Turned off bluetooth
at least. Kept Wifi active for the KDE connect connection.

I've fetched the PID of KDE-Connect on the Phone for log filtering (if
relevant): 6326
OP4F1BL1:/ $ ps -ef
root          1182     1 0 07:01:34 ?     00:02:20 zygote64
u0_a309       6326  1182 0 07:02:17 ?     00:02:48 org.kde.kdeconnect_tp

I've restarted the log capture a few times to reduce the size while waiting for
the event to occur. The last few seconds should reflect the moment until the
video played again and then I stopped the capture.

The logs fetched by "adb logcat > logfile" seem always to start with a SIGABRT.
Probably not related to the bug.


STEPS TO REPRODUCE
1.  Reload a video
2.  Skip to the last seconds and wait for the endframe containing the
recommendations
3.  Wait up to 10 minutes or repeat the steps until the playback starts from
the end frame.

OBSERVED RESULT
Video starts from the beginning as I would have pushed the play button on the
notification widget.

EXPECTED RESULT
No replay.

SOFTWARE/OS VERSIONS
KDE Connect: 1.29.0
Chromium: 118.0.5993.88
Linux/KDE Plasma:  Arch Linux, 2 days old
KDE Plasma Version: 5.27.9
KDE Frameworks Version:  5.111.0
Qt Version: 5.15.11
Kernel: 6.5.8-arch1-1 (64 bit)

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

Reply via email to