hovancik / stretchly

The break time reminder app
https://hovancik.net/stretchly
BSD 2-Clause "Simplified" License
4.51k stars 436 forks source link

[Feature request]: Pause videos automatically #1434

Open yarons opened 7 months ago

yarons commented 7 months ago

Version

Existing requests

Advanced Preferences

What operating system are you using?

macOS

Operating System Version

Sonoma 14.3

Problem description

I was watching a video when a short break emerged. I wanted to take this break, but when I postponed it, it was gone.

I want to pause the video and return to the break.

Possible solution

One option would be to allow the app to control MPRIS and pause the video for you (requires user settings and consent) or add a button to pause videos from inside the break screen.

Alternative solutions

Dismiss the break and continue watching the video.

Additional information

No response

Code of Conduct

hovancik commented 7 months ago

Hi and thanks for feedback.

I never found a way how to interact with apps outside of Stretchly and am I not sure whether I want to (it would open whole new world that I am probably not able to support). Is MPRIS in macOS? Not familiar but it seems to be Linux thing?

Not what you asked for, but you can edit after what time "Postpone" disappears.

mabequinho commented 5 months ago

Hi and thanks for feedback.

I never found a way how to interact with apps outside of Stretchly and am I not sure whether I want to (it would open whole new world that I am probably not able to support). Is MPRIS in macOS? Not familiar but it seems to be Linux thing?

Not what you asked for, but you can edit after what time "Postpone" disappears.

Gnome Pomodoro can manage this allowing execution of custom shell commands, e.g. "playerctl pause" at the beginning of each long or short interval.