bug fixes, minor stuff

This commit is contained in:
lone-cloud 2017-02-10 19:07:00 -08:00
parent 712ad552f5
commit e3560af2e9
6 changed files with 11 additions and 16 deletions

View file

@ -2,10 +2,10 @@
Music awesomeness for hue lights. 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 ## Current priorities
- create a hybrid app with Cardova - create a Huegasm Chrome extension
## SIGNING ## SIGNING
/ember-cordova/platforms/android/release-signing.properties: /ember-cordova/platforms/android/release-signing.properties:
@ -15,8 +15,6 @@ keyAlias=huegasm
keyPassword=... keyPassword=...
storePassword=... storePassword=...
keytool -genkey -v -keystore huegasm.keystore -alias huegasm -keyalg RSA -keysize 2048 -validity 10000
## LE MONKEY PATCHES ## LE MONKEY PATCHES
- webView.setVerticalScrollBarEnabled(true); - webView.setVerticalScrollBarEnabled(true);
- @Override - @Override
@ -29,14 +27,8 @@ keytool -genkey -v -keystore huegasm.keystore -alias huegasm -keyalg RSA -keysiz
pluginManager.onStop(); pluginManager.onStop();
} }
- channel.onStop = cordova.addDocumentEventHandler('stop'); - channel.onStop = cordova.addDocumentEventHandler('stop'); from channel.onDeviceReady = cordova.addStickyDocumentEventHandler('deviceready');
- case 'stop': - 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. 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

View file

@ -95,7 +95,7 @@ export default Component.extend({
if(!isNone(activeLightsCache)){ if(!isNone(activeLightsCache)){
activeLightsCache.forEach(function(i){ 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); activeLights.pushObject(i);
} }
}); });

View file

@ -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/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/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/mrsuicidesheep/draper-eyes-open');
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/itspapaya/sunny');
this.get('storage').set('huegasm.firstVisit', false); this.get('storage').set('huegasm.firstVisit', false);

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?> <?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> <name>Huegasm</name>
<content src="index.html" /> <content src="index.html" />
<plugin name="cordova-plugin-inappbrowser" spec="~1.6.1" /> <plugin name="cordova-plugin-inappbrowser" spec="~1.6.1" />
@ -15,6 +15,7 @@
<allow-navigation href="http://*/*" /> <allow-navigation href="http://*/*" />
<allow-navigation href="https://*/*" /> <allow-navigation href="https://*/*" />
<preference name="ShowSplashScreenSpinner" value="false" /> <preference name="ShowSplashScreenSpinner" value="false" />
<engine name="android" spec="~6.1.2" />
<platform name="android"> <platform name="android">
<allow-intent href="market:*" /> <allow-intent href="market:*" />
<splash density="port-ldpi" src="res/screen/android/port-ldpi.png" /> <splash density="port-ldpi" src="res/screen/android/port-ldpi.png" />

View file

@ -98,7 +98,7 @@ export default Component.extend({
if(!isNone(activeLightsCache)){ if(!isNone(activeLightsCache)){
activeLightsCache.forEach(function(i){ 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); activeLights.pushObject(i);
} }
}); });

View file

@ -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/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/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/mrsuicidesheep/draper-eyes-open');
this.send('handleNewSoundCloudURL', 'https://soundcloud.com/itspapaya/sunny');
this.get('storage').set('huegasm.firstVisit', false); this.get('storage').set('huegasm.firstVisit', false);