berrberr / streamkeys Goto Github PK
View Code? Open in Web Editor NEWGlobal media player hotkeys for chrome
License: MIT License
Global media player hotkeys for chrome
License: MIT License
They do not use www. anymore.
Update [code/js/modules/Sitelist.js]
www.grooveshark.com -> grooveshark.com
player.fm
Might be nice tagging releases for a clearer indication of what commits are in what release on the app store.
First off, I've been waiting a while for an extension that works as flawlessly as this one! Thanks a ton for all your work :)
More often than not I'm listening to Spotify and this extension works perfectly. However, if I'm listening to music in a local music player app (ex. media player, winamp, itunes) and I have Chrome open my media key command never seem to make it to the app.
The situation I have:
I've got vk.com open for all of the time, also I've got google music open. I don't use vk for music, but I obviously do use gmusic =) So the problem's that when I press the hotkey both of them start playing simultaneously.
What I suggest is to add the possibility to disable controls for certain sites or maybe to assign them priorities like if several supported sites found open - use the one with the highest priority unless some tab with supported site is focused (use the focused tab then)
Hope I could explain it =)
UPD: well I've found a way to access options.html but it seems to be outdated and unused
Multiple tabs might be an issue since having more than one youtube tab open is a more than likely occurrence.
Jango pause selector should be #btn-playpause instead of #btn-playPause
The button is located inside an iframe document.querySelector('[name=content]').contentDocument.querySelector(query_selector);
Since the last major update (1.4? not sure) the extension has a bug that often makes it use 100% CPU. Probably an endless loop.
I often have a plex tab open, not sure if it's specific to that.
I will try to debug and find a way to reproduce, but I thought I would first open a ticket so others people can contribute.
I understand that streamkeys thinks it is music.yandex.ru, but yandex.ru is a huge portal which has mail, news, weather, etc. The icon is active on all of it's subdomains.
Maybe they changed their website, because it is in the supported list, but media controls do not work.
Controls works fine but name of current track irrelevant and doesn't changed after switching track.
Fix bop.fm selectors for new layout.
I load up my plex web client and it is not working. Verified it is not my chrome version or macbook as it works in Last.fm and google music. Any ideas?
Hello,
I installed Streamkeys today and tried to play a youtube playlist, for instance:
https://www.youtube.com/watch?v=N7ys8qVZwAk&list=PLzyYbaYKbahmvcGjNg1Ak9vvmrhr_0Ogo
I tried using my Mac keyboard to go to next or previous song (ie f5 and f7 keys), but nothing happened.. I opened my console and got this error:
STREAMKEYS-ERROR: Element not found for click.
My UA-string is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36
Perhaps there is a bug in the controller to handle Youtube?
Shall we hook up the controllers to jshint (within Gruntfile.js)? the main problem that I can see is the exposing of objects for example BaseController as a dependency. This could be achieved through AMD.
An extension I used to use had the feature that when one media source was playing and another one started, the new one would pause the old one. I would really like this feature, and I may even do a PR for it.
I'm not able to get the 'Next Song' to work with Slacker. I have it bound to a custom hotkey (tried several different keys with no luck). But the 'Play/Pause' is working with Slacker, and with Pandora both work.
I pefer the dedicated desktop app for Spotify, but Soundcloud doesn't have one for Windows, so I have to use that in the browser.
I'd like to use the same keys for both.
If I disable sreamkeys, I can control spotify from the keyboard.
If I enable streamkeys, it seems to gobble up the events even if I have no players open in chrome, so Spotify doensn't respond.
Oddly, it seemed to work the way I want when I first installed the plugin, but not after rebooting.
I don't use the default hotkey settings, and it reverts do default every time the extension is updated. Is there any way to prevent this?
Hi, could you add Music Unlimited?
https://music.sonyentertainmentnetwork.com/
thank you.
Hi!
I like your work, but have few issues:)
I am using Google music as music service and it allow to use the "google music app" (chrome app). Correct me if I wrong, but there is two music tabs when "music app" lunched, and when I trying to pause the song with hotkey I can hear small pause(interruption), but music continues.
Sound like I quickly pressed "pause" button for two times.
Sometimes I had reproduce this but on vk.com but I have not strict flow to describe it better. It could be related to what I described above.
Anyway, I think, that simple debounce between action will be enough to prevent this.
Tnx!
Could I interest you in adding a minimalistic ui similar to Grooveshark Control? Mostly I'm just interested in a clickable pause & skip buttons rather than just keyboard shortcuts. Like & dislike buttons for the radio would be nice also.
Some bandcamp player pages are hosted on other domains (ie: http://shop.silentseason.com/album/aeterna). Since we inject contentscript into pages based on domain the bandcamp controller is not injected into these pages.
Slacker has a new site with different selectors.
Selectors were changed.
new.di.fm
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.