From 1b2635f6c4581584bd5476f66dc9ffb04096a4c4 Mon Sep 17 00:00:00 2001
From: Egor! Huegasm encountered a critical error while trying to connect to your bridge.
- This likely happened because you're using an outdated browser and/or because your browser does not support CORS. Feel free to contact me through the link at the bottom of the page if you feel like this is not the case.
- For the best browsing experience on this site ( and every other one known to man ) please switch to Google Chrome or Firefox
+ For the best browsing experience on this site ( and every other one known to man ) please switch to Google Chrome or Firefox
{{paper-progress-linear warn=true value=bridgeUserNamePingIntervalProgress}}
diff --git a/web/app/pods/components/add-group-modal/component.js b/web/app/pods/components/groups-list/add-group-modal/component.js
similarity index 100%
rename from web/app/pods/components/add-group-modal/component.js
rename to web/app/pods/components/groups-list/add-group-modal/component.js
diff --git a/web/app/pods/components/add-group-modal/template.hbs b/web/app/pods/components/groups-list/add-group-modal/template.hbs
similarity index 100%
rename from web/app/pods/components/add-group-modal/template.hbs
rename to web/app/pods/components/groups-list/add-group-modal/template.hbs
diff --git a/web/app/pods/components/delete-group-modal/component.js b/web/app/pods/components/groups-list/delete-group-modal/component.js
similarity index 100%
rename from web/app/pods/components/delete-group-modal/component.js
rename to web/app/pods/components/groups-list/delete-group-modal/component.js
diff --git a/web/app/pods/components/delete-group-modal/template.hbs b/web/app/pods/components/groups-list/delete-group-modal/template.hbs
similarity index 100%
rename from web/app/pods/components/delete-group-modal/template.hbs
rename to web/app/pods/components/groups-list/delete-group-modal/template.hbs
diff --git a/web/app/pods/components/groups-list/template.hbs b/web/app/pods/components/groups-list/template.hbs
index 2181ab4..1bf0f09 100644
--- a/web/app/pods/components/groups-list/template.hbs
+++ b/web/app/pods/components/groups-list/template.hbs
@@ -10,6 +10,6 @@
{{/each}}
{{/paper-list}}
-{{add-group-modal lightsData=lightsData groupsData=groupsData isShowingModal=isShowingAddGroupsModal apiURL=apiURL updateGroupsData=updateGroupsData action="toggleAddGroupsModal"}}
+{{groups-list/add-group-modal lightsData=lightsData groupsData=groupsData isShowingModal=isShowingAddGroupsModal apiURL=apiURL updateGroupsData=updateGroupsData action="toggleAddGroupsModal"}}
-{{delete-group-modal groupName=deleteGroupName groupId=deleteGroupId groupsData=groupsData isShowingModal=isShowingConfirmDeleteModal apiURL=apiURL updateGroupsData=updateGroupsData groupIdSelection=groupIdSelection action="toggleConfirmDeleteGroupsModal"}}
\ No newline at end of file
+{{groups-list/delete-group-modal groupName=deleteGroupName groupId=deleteGroupId groupsData=groupsData isShowingModal=isShowingConfirmDeleteModal apiURL=apiURL updateGroupsData=updateGroupsData groupIdSelection=groupIdSelection action="toggleConfirmDeleteGroupsModal"}}
\ No newline at end of file
diff --git a/web/app/pods/components/hue-controls/template.hbs b/web/app/pods/components/hue-controls/template.hbs
index df7711b..75d225f 100644
--- a/web/app/pods/components/hue-controls/template.hbs
+++ b/web/app/pods/components/hue-controls/template.hbs
@@ -28,7 +28,7 @@
- {{lights-tab apiURL=apiURL lightsData=lightsData activeLights=activeLights trial=trial active=lights-tabSelected colorLoopOn=colorLoopOn dimmerOn=dimmerOn}}
+ {{lights-tab apiURL=apiURL lightsData=lightsData activeLights=activeLights trial=trial active=lightsTabSelected colorLoopOn=colorLoopOn dimmerOn=dimmerOn}}
{{music-tab apiURL=apiURL lightsData=lightsData activeLights=activeLights active=musicTabSelected pauseLightUpdates=pauseLightUpdates dimmerOn=dimmerOn storage=storage colorLoopOn=colorLoopOn action="startIntro"}}
{{/if}}
\ No newline at end of file
diff --git a/web/app/pods/components/huegasm-app/template.hbs b/web/app/pods/components/huegasm-app/template.hbs
index 0ce5de8..67898ad 100644
--- a/web/app/pods/components/huegasm-app/template.hbs
+++ b/web/app/pods/components/huegasm-app/template.hbs
@@ -31,7 +31,7 @@
© {{year}}
-
+
Egor Philippov
diff --git a/web/app/pods/components/color-picker/component.js b/web/app/pods/components/lights-tab/color-picker/component.js
similarity index 100%
rename from web/app/pods/components/color-picker/component.js
rename to web/app/pods/components/lights-tab/color-picker/component.js
diff --git a/web/app/pods/components/color-picker/template.hbs b/web/app/pods/components/lights-tab/color-picker/template.hbs
similarity index 100%
rename from web/app/pods/components/color-picker/template.hbs
rename to web/app/pods/components/lights-tab/color-picker/template.hbs
diff --git a/web/app/pods/components/lights-tab/template.hbs b/web/app/pods/components/lights-tab/template.hbs
index d04f58e..1899123 100644
--- a/web/app/pods/components/lights-tab/template.hbs
+++ b/web/app/pods/components/lights-tab/template.hbs
@@ -24,7 +24,7 @@
{{#paper-button raised=true class="color" action="toggleColorPicker" disabled=trial}}{{/paper-button}}
{{#if colorPickerDisplayed}}
- {{color-picker lightsData=lightsData activeLights=activeLights rgb=rgb}}
+ {{lights-tab/color-picker lightsData=lightsData activeLights=activeLights rgb=rgb}}
{{/if}}
diff --git a/web/app/pods/components/add-soundcloud-sound-modal/component.js b/web/app/pods/components/music-tab/add-soundcloud-sound-modal/component.js
similarity index 100%
rename from web/app/pods/components/add-soundcloud-sound-modal/component.js
rename to web/app/pods/components/music-tab/add-soundcloud-sound-modal/component.js
diff --git a/web/app/pods/components/add-soundcloud-sound-modal/template.hbs b/web/app/pods/components/music-tab/add-soundcloud-sound-modal/template.hbs
similarity index 78%
rename from web/app/pods/components/add-soundcloud-sound-modal/template.hbs
rename to web/app/pods/components/music-tab/add-soundcloud-sound-modal/template.hbs
index 74f38df..426fd42 100644
--- a/web/app/pods/components/add-soundcloud-sound-modal/template.hbs
+++ b/web/app/pods/components/music-tab/add-soundcloud-sound-modal/template.hbs
@@ -1,7 +1,7 @@
{{#if isShowingModal}}
{{#modal-dialog close="close" alignment="center" translucentOverlay=true attachment="center" targetAttachment="center"}}
- Enter a SoundCloud track or playlist/set URL
+Enter a SoundCloud track or playlist/set URL
( ex. https://soundcloud.com/mrsuicidesheep/tracks )
{{paper-input label="SoundCloud URL" icon="search" value=url}} diff --git a/web/app/pods/components/music-tab/component.js b/web/app/pods/components/music-tab/component.js index e72c996..d18cb60 100644 --- a/web/app/pods/components/music-tab/component.js +++ b/web/app/pods/components/music-tab/component.js @@ -466,7 +466,12 @@ export default Component.extend(helperMixin, visualizerMixin, { picture = result.user.avatar_url; } - this.get('playQueue').pushObject({url: result.stream_url + '?client_id=' + this.get('SC_CLIENT_ID'), fileName: result.title + ' - ' + result.user.username, artist: result.user.username, scUrl: result.permalink_url, title: result.title, artworkUrl: result.artwork_url, picture: picture }); + $.get(picture) + .done(()=>{ + this.get('playQueue').pushObject({url: result.stream_url + '?client_id=' + this.get('SC_CLIENT_ID'), fileName: result.title + ' - ' + result.user.username, artist: result.user.username, scUrl: result.permalink_url, title: result.title, picture: picture }); + }).fail(()=>{ // no picture + this.get('playQueue').pushObject({url: result.stream_url + '?client_id=' + this.get('SC_CLIENT_ID'), fileName: result.title + ' - ' + result.user.username, artist: result.user.username, scUrl: result.permalink_url, title: result.title }); + }); } else { failedSongs.push(result.title); } @@ -617,7 +622,7 @@ export default Component.extend(helperMixin, visualizerMixin, { let track = $('.track'+index); if(!isNone(track) && !isNone(track.offset())) { - track.velocity('scroll'); + track.velocity('scroll', { container: $('#play-list-area') }); } }, 1000); } diff --git a/web/app/pods/components/music-tab/mixins/helpers.js b/web/app/pods/components/music-tab/mixins/helpers.js index 6915607..50c9a53 100644 --- a/web/app/pods/components/music-tab/mixins/helpers.js +++ b/web/app/pods/components/music-tab/mixins/helpers.js @@ -138,10 +138,14 @@ export default Mixin.create({ // used to insure that we don't replay the same thing multiple times in shuffle mode shufflePlayed: [], + // noUiSlider connection specification + filledConnect: [true, false], + hueRangeConnect: [false, true, false], + SC_CLIENT_ID: 'aeec0034f58ecd85c2bd1deaecc41594', notFoundHtml: '