Giter Site home page Giter Site logo

Comments (17)

NDevTK avatar NDevTK commented on May 27, 2024

Seems currently the only way to pause all media is to enable 'checkidle' and lock the device

pauseOther(false, false);

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.

NDevTK avatar NDevTK commented on May 27, 2024

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.

NDevTK avatar NDevTK commented on May 27, 2024

I have now setup a basic system to stop autoresume after 5 tabs :)

from autopause.

ilapro53 avatar ilapro53 commented on May 27, 2024

Seems currently the only way to pause all media is to enable 'checkidle' and lock the device

pauseOther(false, false);

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.

ilapro53 avatar ilapro53 commented on May 27, 2024

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.

NDevTK avatar NDevTK commented on May 27, 2024

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.

ilapro53 avatar ilapro53 commented on May 27, 2024

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.

NDevTK avatar NDevTK commented on May 27, 2024

Oh nice so do you think this issue is now resolved?

from autopause.

NDevTK avatar NDevTK commented on May 27, 2024

I will now start the process of testing + publishing the build https://github.com/NDevTK/AutoPause/actions/runs/7746163299

from autopause.

ilapro53 avatar ilapro53 commented on May 27, 2024

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.

ilapro53 avatar ilapro53 commented on May 27, 2024

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.

NDevTK avatar NDevTK commented on May 27, 2024

Yeah should be fixed in https://github.com/NDevTK/AutoPause/actions/runs/7746380808

Lost code from the merge

from autopause.

NDevTK avatar NDevTK commented on May 27, 2024

If I was not the only one coding it maybe there would be tests to catch stuff like this but nope :(

from autopause.

ilapro53 avatar ilapro53 commented on May 27, 2024

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.

NDevTK avatar NDevTK commented on May 27, 2024

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.

NDevTK avatar NDevTK commented on May 27, 2024

Please confirm the issue is fixed in the latest extension version 2.8.4 so this can be closed.

from autopause.

ilapro53 avatar ilapro53 commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.