-
Notifications
You must be signed in to change notification settings - Fork 11
Home
Welcome to the sharkzapper wiki!
The external interface is very basic, and not optimised for production use, however it allows users to map global shortcut keys to certain functions within Grooveshark / sharkZapper. It is supported on sharkZapper version 1.3.7 or later.
Basically, to execute any command run
google-chrome --app="chrome-extension://dcaneijaapiiojfmgmdjeapgpapbjohb/html/sharkzapper_externalcommand.html#command"
**Note: ** For versions before 1.3.9, sharkzapper_externalcommand.html was not in the html folder
where command can be:
- togglePlayPause
- prevSong
- nextSong
This command will essentially tell Google Chrome to open a new window of that url, and that page when loaded will check the command after the hash and execute the command, then close the window.
To use the external interface as for keyboard shortcuts for Ubuntu 10.10 either use sharkzapper-Helper or manually:
- Go to System > Keyboard Shortcuts
- Click "add"
- Copy the command into the command textbox, replacing command with each command, and insert a descriptive name
- Assign a keyboard shortcut by clicking "Disabled" in the shortcut column, then pressing the key you want to use (for example your keyboard's Play/Pause Button)