Enable users to "Keep Watching" media on their device after pausing
Hi - this is my first merge request here, so I'm happy to change things around. Just let me know :)
Summary
Add a "keep watching" mechanism to the mpris plugin that shows a calm notification on the user's device whenever media is paused that has an associated URL.
- Hook into MPRIS to generate notifications whenever media is paused i. For youtube links, calculate the timestamp to put the user at the correct point in the video
- Add a setting to the MPRIS plugin settings to disable the feature
You can see the feature in action here: keepwatching
Test Plan
- Run the latest source version of kdeconnect-kde on a computer
- Apply this change to a kdeconnect-android repository
- Build and load onto a device
- Start watching a video on the computer
- Pause the video on the computer (with the phone in front of you)
- Observe the notification (and click on it to be taken to the video)