diff --git a/README.md b/README.md
index a5a10b8..413c21f 100644
--- a/README.md
+++ b/README.md
@@ -6,12 +6,13 @@ Music awesomeness for hue lights.
## FEATURES
- app intro with intro.js
- music visualizations with three.js
+- microphone mode
+- about, help page, youtube video
## BUGS
- BUGS BUGS BUGS
## POSSIBLE FEATURES
-- help, contact, about, youtube video ???
- beat settings by interval
- auto beat detection mode
- display player time when hovering over seek bar
diff --git a/app/pods/components/huegasm-app/component.js b/app/pods/components/huegasm-app/component.js
index 6995ea4..1282ccf 100644
--- a/app/pods/components/huegasm-app/component.js
+++ b/app/pods/components/huegasm-app/component.js
@@ -18,7 +18,7 @@ export default Em.Component.extend({
className = null;
if(dimmerOn){
- className = 'active';
+ className = 'dimmerBulbOn';
Em.$('body').addClass('dimmerOn');
Em.$('html').addClass('dimmerOn');
Em.$('md-icon').addClass('dimmerOn');
diff --git a/app/pods/components/huegasm-app/template.hbs b/app/pods/components/huegasm-app/template.hbs
index 6f94d5d..832af1d 100644
--- a/app/pods/components/huegasm-app/template.hbs
+++ b/app/pods/components/huegasm-app/template.hbs
@@ -5,5 +5,57 @@
{{/if}}
\ No newline at end of file
diff --git a/app/pods/components/music-tab/component.js b/app/pods/components/music-tab/component.js
index 1deca8c..df2a5d1 100644
--- a/app/pods/components/music-tab/component.js
+++ b/app/pods/components/music-tab/component.js
@@ -60,7 +60,7 @@ export default Em.Component.extend(musicControlMixin, visualizerMixin, {
processResult(resultObj);
}
- if(this.get('playQueuePointer') === -1){
+ if(this.get('playQueuePointer') === -1 && !this.get('firstVisit')){
this.send('next');
}
}, () => {
@@ -665,7 +665,7 @@ export default Em.Component.extend(musicControlMixin, visualizerMixin, {
this.set('usingMicSupported', false);
}
- ['volume', 'shuffle', 'repeat', 'volumeMuted', 'threshold', 'interval', 'frequency', 'speakerViewed', 'transitionTime', 'randomTransition', 'playerBottomDisplayed', 'onBeatBriAndColor', 'audioMode', 'songBeatPreferences', 'debugFiltered'].forEach(function (item) {
+ ['volume', 'shuffle', 'repeat', 'volumeMuted', 'threshold', 'interval', 'frequency', 'speakerViewed', 'transitionTime', 'randomTransition', 'playerBottomDisplayed', 'onBeatBriAndColor', 'audioMode', 'songBeatPreferences', 'debugFiltered', 'firstVisit'].forEach(function (item) {
if (!Em.isNone(storage.get('huegasm.' + item))) {
var itemVal = storage.get('huegasm.' + item);
@@ -711,6 +711,15 @@ export default Em.Component.extend(musicControlMixin, visualizerMixin, {
}
});
+ // demo tracks
+ if(this.get('firstVisit')){
+ this.send('handleNewSoundCloudURL', 'https://soundcloud.com/jacobanthony43/jacobychillcatalystbarstommisch');
+ this.send('handleNewSoundCloudURL', 'https://soundcloud.com/odesza/light-feat-little-dragon');
+ this.send('handleNewSoundCloudURL', 'https://soundcloud.com/sinusic-prod/lisboa');
+ // TODO: uncomment and test
+ //this.get('storage').set('huegasm.firstVisit', false);
+ }
+
if(!this.get('playerBottomDisplayed')) {
Em.$('#playerBottom').hide();
}
diff --git a/app/pods/components/music-tab/mixins/music-tab.js b/app/pods/components/music-tab/mixins/music-tab.js
index 3c2688a..5ac18fe 100644
--- a/app/pods/components/music-tab/mixins/music-tab.js
+++ b/app/pods/components/music-tab/mixins/music-tab.js
@@ -148,6 +148,7 @@ export default Em.Mixin.create({
usingBeatPreferences: false,
oldBeatPrefCache: null,
storage: null,
+ firstVisit: true,
// used to insure that we don't replay the same thing multiple times in shuffle mode
shufflePlayed: [],
@@ -241,6 +242,10 @@ export default Em.Mixin.create({
return classes;
}.property('dragging', 'draggingOverPlayListArea', 'dimmerOn'),
+ dimmerOnClass: function(){
+ return this.get('dimmerOn') ? 'dimmerOn' : null;
+ }.property('dimmerOn'),
+
volumeMutedClass: function(){
var classes = 'playerControllIcon volumeButton';
diff --git a/app/pods/components/music-tab/template.hbs b/app/pods/components/music-tab/template.hbs
index 8597b6c..d90a368 100644
--- a/app/pods/components/music-tab/template.hbs
+++ b/app/pods/components/music-tab/template.hbs
@@ -1,5 +1,6 @@
-