diff --git a/chrome/.gitignore b/chrome/.gitignore index 8756776..5d5c656 100644 --- a/chrome/.gitignore +++ b/chrome/.gitignore @@ -16,3 +16,4 @@ npm-debug.log testem.log /.idea/ +*.zip diff --git a/chrome/app/pods/components/music-tab/component.js b/chrome/app/pods/components/music-tab/component.js index 16da7ad..b1ceadd 100644 --- a/chrome/app/pods/components/music-tab/component.js +++ b/chrome/app/pods/components/music-tab/component.js @@ -138,7 +138,13 @@ export default Component.extend({ if (!currentlyListenining) { chrome.runtime.sendMessage({ action: 'start-listening' }, (response) => { if (response && response.error) { - this.get('notify').warning({ html: '' }); + let message = response.error; + + if (message === 'Extension has not been invoked for the current page (see activeTab permission). Chrome pages cannot be captured.') { + message = 'Please click inside the tab you want to listen to.' + } + + this.get('notify').warning({ html: '' }); this.set('isListenining', false); chrome.storage.local.set({ isListenining: false }); diff --git a/chrome/public/manifest.json b/chrome/public/manifest.json index b92ed5a..86cbee2 100644 --- a/chrome/public/manifest.json +++ b/chrome/public/manifest.json @@ -3,7 +3,7 @@ "name": "Huegasm for Philips Hue Lights", "short_name": "Huegasm", "description": "Manage and synchronize your Philips Hue lights with the beat of your music.", - "version": "1.0.6", + "version": "1.0.7", "icons": { "16": "16x16.png", "48": "48x48.png",