From 17fd90f44062dc8ef321b145dfee013143f018e6 Mon Sep 17 00:00:00 2001 From: Alex Gabriel Date: Sat, 26 Sep 2015 02:03:10 -0700 Subject: [PATCH] Bump to 1.5.2. --- README.md | 2 +- code/js/background.js | 4 ++-- code/js/controllers/SpotifyController.js | 2 ++ package.json | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 09495965..d0d35c2b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Streamkeys v1.5.0 [![Build Status](https://travis-ci.org/berrberr/streamkeys.svg?branch=master)](https://travis-ci.org/berrberr/streamkeys) +# Streamkeys v1.5.2 [![Build Status](https://travis-ci.org/berrberr/streamkeys.svg?branch=master)](https://travis-ci.org/berrberr/streamkeys) Chrome extension to send "global" (ie. across the browser) hotkeys to various online media players. diff --git a/code/js/background.js b/code/js/background.js index ceb8d0cd..1e6ae4b6 100644 --- a/code/js/background.js +++ b/code/js/background.js @@ -88,9 +88,9 @@ chrome.storage.local.get(function(obj) { if(obj["hotkey-open_on_update"] || typeof obj["hotkey-open_on_update"] === "undefined") { if(details.reason == "install") { - //chrome.tabs.create({url: "http://www.streamkeys.com/guide.html?installed=true"}); + chrome.tabs.create({url: "http://www.streamkeys.com/guide.html?installed=true"}); } else if(details.reason == "update") { - //chrome.tabs.create({url: "http://www.streamkeys.com/guide.html?updated=true"}); + chrome.tabs.create({url: "http://www.streamkeys.com/guide.html?updated=true"}); } } }); diff --git a/code/js/controllers/SpotifyController.js b/code/js/controllers/SpotifyController.js index a4f746d7..e8a03ea5 100644 --- a/code/js/controllers/SpotifyController.js +++ b/code/js/controllers/SpotifyController.js @@ -10,6 +10,8 @@ playPrev: ["#previous", "#previous"], playState: ["#play-pause.playing", "#play.playing"], iframe: ["#app-player", "#main"], + like: [".thumb.up", ".thumb.up"], + dislike: [".thumb.down", ".thumb.down"], song: ["#track-name", ".caption .track"], artist: ["#track-artist", ".caption .artist"] }; diff --git a/package.json b/package.json index 9cab995d..9c9dc9bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Streamkeys", - "version": "1.5.1", + "version": "1.5.2", "description": "Global hotkeys for online music players including support for media keys.", "browser": { "jquery": "./code/js/lib/jquery-1.11.1.min.js",