bug fixes, minor stuff
This commit is contained in:
parent
712ad552f5
commit
e3560af2e9
6 changed files with 11 additions and 16 deletions
18
README.md
18
README.md
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
Music awesomeness for hue lights.
|
||||
|
||||
It lives at http://www.huegasm.com
|
||||
It lives at http://www.huegasm.com and on https://play.google.com/store/apps/details?id=com.hoboman313.huegasm
|
||||
|
||||
## Current priorities
|
||||
- create a hybrid app with Cardova
|
||||
- create a Huegasm Chrome extension
|
||||
|
||||
## SIGNING
|
||||
/ember-cordova/platforms/android/release-signing.properties:
|
||||
|
|
@ -15,8 +15,6 @@ keyAlias=huegasm
|
|||
keyPassword=...
|
||||
storePassword=...
|
||||
|
||||
keytool -genkey -v -keystore huegasm.keystore -alias huegasm -keyalg RSA -keysize 2048 -validity 10000
|
||||
|
||||
## LE MONKEY PATCHES
|
||||
- webView.setVerticalScrollBarEnabled(true);
|
||||
- @Override
|
||||
|
|
@ -29,14 +27,8 @@ keytool -genkey -v -keystore huegasm.keystore -alias huegasm -keyalg RSA -keysiz
|
|||
|
||||
pluginManager.onStop();
|
||||
}
|
||||
- channel.onStop = cordova.addDocumentEventHandler('stop');
|
||||
- case 'stop':
|
||||
- channel.onStop = cordova.addDocumentEventHandler('stop'); from channel.onDeviceReady = cordova.addStickyDocumentEventHandler('deviceready');
|
||||
- case 'stop': after case 'pause':
|
||||
- add <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> to Android manifest
|
||||
|
||||
Just search for 'pause' and add the same type of event stuff for 'stop'. This is needed for properly split screening Huegasm with other apps.
|
||||
|
||||
## POSSIBLE FUTURE FEATURES
|
||||
- decode the hue color better
|
||||
- better visualizations
|
||||
- beat settings by interval
|
||||
- auto beat detection mode
|
||||
- display player time when hovering over seek bar
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ export default Component.extend({
|
|||
|
||||
if(!isNone(activeLightsCache)){
|
||||
activeLightsCache.forEach(function(i){
|
||||
if (lightsData.hasOwnProperty(i) && lightsData[i].state.reachable) {
|
||||
if (!isNone(lightsData) && lightsData.hasOwnProperty(i) && lightsData[i].state.reachable) {
|
||||
activeLights.pushObject(i);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -267,6 +267,7 @@ export default Component.extend(helperMixin, visualizerMixin, {
|
|||
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/mrsuicidesheep/elo-method-subranger-solace');
|
||||
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/mrsuicidesheep/90-pounds-of-pete-waited-too-long-feat-devon-baldwin');
|
||||
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/mrsuicidesheep/draper-eyes-open');
|
||||
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/itspapaya/sunny');
|
||||
|
||||
this.get('storage').set('huegasm.firstVisit', false);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<widget id="com.hoboman313.huegasm" version="1.1.3" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<widget id="com.hoboman313.huegasm" version="1.1.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<name>Huegasm</name>
|
||||
<content src="index.html" />
|
||||
<plugin name="cordova-plugin-inappbrowser" spec="~1.6.1" />
|
||||
|
|
@ -15,6 +15,7 @@
|
|||
<allow-navigation href="http://*/*" />
|
||||
<allow-navigation href="https://*/*" />
|
||||
<preference name="ShowSplashScreenSpinner" value="false" />
|
||||
<engine name="android" spec="~6.1.2" />
|
||||
<platform name="android">
|
||||
<allow-intent href="market:*" />
|
||||
<splash density="port-ldpi" src="res/screen/android/port-ldpi.png" />
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ export default Component.extend({
|
|||
|
||||
if(!isNone(activeLightsCache)){
|
||||
activeLightsCache.forEach(function(i){
|
||||
if (lightsData.hasOwnProperty(i) && lightsData[i].state.reachable) {
|
||||
if (!isNone(lightsData) && lightsData.hasOwnProperty(i) && lightsData[i].state.reachable) {
|
||||
activeLights.pushObject(i);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -289,6 +289,7 @@ export default Component.extend(helperMixin, visualizerMixin, {
|
|||
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/mrsuicidesheep/elo-method-subranger-solace');
|
||||
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/mrsuicidesheep/90-pounds-of-pete-waited-too-long-feat-devon-baldwin');
|
||||
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/mrsuicidesheep/draper-eyes-open');
|
||||
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/itspapaya/sunny');
|
||||
|
||||
this.get('storage').set('huegasm.firstVisit', false);
|
||||
|
||||
|
|
|
|||
Reference in a new issue