From 1c91d410d43f8f70ea14b27919331dcc8adcf869 Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 18 Mar 2017 16:00:42 -0700 Subject: [PATCH] fix local audio playing on mobile --- mobile/app/pods/components/music-tab/component.js | 10 ++++------ mobile/ember-cordova/cordova/config.xml | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/mobile/app/pods/components/music-tab/component.js b/mobile/app/pods/components/music-tab/component.js index 3ce5fcd..d819fe8 100644 --- a/mobile/app/pods/components/music-tab/component.js +++ b/mobile/app/pods/components/music-tab/component.js @@ -639,12 +639,10 @@ export default Component.extend(helperMixin, visualizerMixin, { if (files.hasOwnProperty(key)) { let file = files[key]; - if (file.type.startsWith('audio')) { - ID3.loadTags("local", updatePlayQueue.bind(file), { - dataReader: new FileAPIReader(file), - tags: ['title', 'artist', 'album', 'track', 'picture'] - }); - } + ID3.loadTags("local", updatePlayQueue.bind(file), { + dataReader: new FileAPIReader(file), + tags: ['title', 'artist', 'album', 'track', 'picture'] + }); } } } diff --git a/mobile/ember-cordova/cordova/config.xml b/mobile/ember-cordova/cordova/config.xml index 982d848..9a027e4 100644 --- a/mobile/ember-cordova/cordova/config.xml +++ b/mobile/ember-cordova/cordova/config.xml @@ -1,5 +1,5 @@ - + Huegasm