Comments (17)
Seems currently the only way to pause all media is to enable 'checkidle' and lock the device
Line 534 in 7ef5370
I should be able to add a hotkey to pause all without resuming other media without clearing the queue. (fix togglePlayback) would that work for you?
from autopause.
Using the latest build https://github.com/NDevTK/AutoPause/actions/ does the "togglePlayback" fix your issue?
Currently the design works assuming all media gets tracked not just the top x however what limit would be good?
from autopause.
I have now setup a basic system to stop autoresume after 5 tabs :)
from autopause.
Seems currently the only way to pause all media is to enable 'checkidle' and lock the device
Line 534 in 7ef5370
I should be able to add a hotkey to pause all without resuming other media without clearing the queue. (fix togglePlayback) would that work for you?
If I understand correctly, then yes, this solution would be wonderful!
from autopause.
Using the latest build https://github.com/NDevTK/AutoPause/actions/ does the "togglePlayback" fix your issue?
Currently the design works assuming all media gets tracked not just the top x however what limit would be good?
I have now setup a basic system to stop autoresume after 5 tabs :)
I installed the extension for Firefox from here: https://github.com/NDevTK/AutoPause/actions/runs/7735249011. I noticed a new option "Dont resume old media" and enabled it. But I checked on 15 YouTube Music tabs: I turned on one by one from tab 1 to tab 15, then stopped from 15 to 2. Only tab 1 did not start playing automatically. Turning off "Dont resume old media" doesn't seem to change anything 🤔
Maybe I did something wrong or misunderstood?
from autopause.
It should now be fixed in the latest build both togglePlayback and "Dont resume old media" (before it would only track one old tab)
from autopause.
Oh, sorry. It seems the Toggle Playback feature was present in the old version. I missed it. In the last build (1304) it works too.
About "Dont resume old media": in the last build (1304) it doesn't work, but it works in build 1299 (as expected 5 tabs continued to play)
from autopause.
Oh nice so do you think this issue is now resolved?
from autopause.
I will now start the process of testing + publishing the build https://github.com/NDevTK/AutoPause/actions/runs/7746163299
from autopause.
Oh nice so do you think this issue is now resolved?
I think yes. I would suggest adding field for custom amount of "not old tabs" if "Dont resume old media" will work, but it's up to you
from autopause.
I will now start the process of testing + publishing the build https://github.com/NDevTK/AutoPause/actions/runs/7746163299
It seems that "Dont resume old media" also don't work in this build.
from autopause.
Yeah should be fixed in https://github.com/NDevTK/AutoPause/actions/runs/7746380808
Lost code from the merge
from autopause.
If I was not the only one coding it maybe there would be tests to catch stuff like this but nope :(
from autopause.
If I was not the only one coding it maybe there would be tests to catch stuff like this but nope :(
I'd like to help, but I'm afraid I only know Python 😢
from autopause.
Good news this issue should now be fixed in 2.8.4 currently released on chrome and firefox. :)
Regarding only knowing Python... you can look at the code and guess.
from autopause.
Please confirm the issue is fixed in the latest extension version 2.8.4 so this can be closed.
from autopause.
Good news this issue should now be fixed in 2.8.4 currently released on chrome and firefox. :)
Thanks, is works!
Regarding only knowing Python... you can look at the code and guess.
Maybe I'll check your repository from time to time)
from autopause.
Related Issues (17)
- How will it work in case of inherited HTML tags (custom elements) and Shadow DOM (including closed DOM)? HOT 6
- Go to Active Tab Hotkey HOT 7
- [Feature Request] Options to disable auto-resume feature HOT 3
- doesn't work on many sites .. HOT 7
- Potentially not wanted third tab behavior HOT 40
- Fix silent media detection HOT 1
- Fix issue with multiple windows HOT 3
- Pausing picture in picture does not use automatic resume HOT 2
- checkVisibility cant check for PiP on firefox. HOT 1
- Media from Pandora is no longer paused when switching tabs HOT 22
- Prevent websites with notification sounds (or any website) from pausing other websites playing media? HOT 9
- Clarify multi-window usage HOT 6
- Can't change settings when extensions.webextensions.remote = false HOT 11
- Can't customize keyboard shortcuts HOT 3
- Netflix Video Not Working: Blackscreen HOT 12
- PiP detection is not universal. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autopause.