Code Monkey home page Code Monkey logo

Comments (13)

ZornTaov avatar ZornTaov commented on July 17, 2024 9

After a bit of digging, it looks like tabStates[tab.id].state.isPlaying at https://github.com/berrberr/streamkeys/blob/master/code/js/background.js#L91 always returns true for youtube videos. Digging DEEPER it's because of https://github.com/berrberr/streamkeys/blob/master/code/js/controllers/YoutubeController.js#L14 as area-label never changes when you play/pause a video. In my testing changing it to check title seems to have fixed this issue, as it updates with the change of player state. #851 is my proposed fix.

from streamkeys.

BaliBalo avatar BaliBalo commented on July 17, 2024 7

@Staindk I'm a bit late but it's not too too hard if you have git and node installed, by running these in a terminal:

git clone [email protected]:berrberr/streamkeys.git
cd streamkeys
git fetch origin pull/851/head:youtube-fix
git checkout youtube-fix
npm install
npm run grunt:dev

then on the chrome extensions page (chrome://extensions/) you can use "Load unpacked" with the folder streamkeys/build/unpacked-dev (don't forget to also disable the other streamkeys extension while you have this temporary one active)

I would love to see it merged and published to the actual extension though

from streamkeys.

Staindk avatar Staindk commented on July 17, 2024 1

Bump - AFAIK this is still a problem and should not be closed.

from streamkeys.

Timums avatar Timums commented on July 17, 2024

I have the exact same problem. I'm on Opera 83.0.4254.19 (64bit) and it stopped working the same day as ConorJS. Likewise, I also updated my version before the problem occurred. I can also replicate the problem in Chrome 97.0.4692.99 (Offizieller Build) (64-Bit).
Any help would be appreciated.

from streamkeys.

Staindk avatar Staindk commented on July 17, 2024

This issue has been annoying the hell out of me. I depend on Streamkeys to help me handle my debilitating tab hoarding problem and it's been failing since this problem cropped up 😄

Hopefully a maintainer merges this in and they push out a new version to the Chrome store - until then, does anyone know if there is an easy way we could fix this ourselves? Not sure how simple it is to build your own altered version of the extension and install it to Chrome etc 🙈

from streamkeys.

lollilol avatar lollilol commented on July 17, 2024

when will this be merged/fixed lol

from streamkeys.

Staindk avatar Staindk commented on July 17, 2024

@BaliBalo And I'm even later - but just wanted to mention your instructions worked perfectly and I'm back to play/pausing youtube properly ^_^

Thanks!

from streamkeys.

stale avatar stale commented on July 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from streamkeys.

NimmLor avatar NimmLor commented on July 17, 2024

@berrberr

from streamkeys.

stale avatar stale commented on July 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from streamkeys.

runer112 avatar runer112 commented on July 17, 2024

It looks like the fix for this may have been merged in #851? If so, I would be grateful if a release with this fix could be pushed to the Chrome Web Store.

from streamkeys.

MonzterDev avatar MonzterDev commented on July 17, 2024

Would be great if this was pushed :D

from streamkeys.

jdnixx avatar jdnixx commented on July 17, 2024

This is really annoying as I can't even build the project as @BaliBalo detailed anymore, due to some npm dependency being broken or something. Really unfortunate cuz this extension has been essential for me

Btw the error, after running npm run grunt:dev is:

>> Error: Can't walk dependency graph: Cannot find module 'URIjs' from '/home/jdnixx/Downloads/streamkeys/node_modules/urlutils/index.js'
>>     required by /home/jdnixx/Downloads/streamkeys/node_modules/urlutils/index.js
Warning: Error running grunt-browserify. Use --force to continue.

from streamkeys.

Related Issues (20)

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.