@@ -100,6 +109,7 @@
@@ -165,6 +175,7 @@ export default {
currentSource: this.source,
metadata: {},
isImporting: false,
+ importBatch: null,
importData: {
tracks: []
},
@@ -214,11 +225,22 @@ export default {
updateId (newValue) {
this.currentId = newValue
},
+ updateBatch (batch) {
+ this.importBatch = batch
+ },
fetchRequest (id) {
let self = this
axios.get(`requests/import-requests/${id}`).then((response) => {
self.currentRequest = response.data
})
+ },
+ nextStep () {
+ if (this.currentStep === 0 && this.currentSource === 'upload') {
+ // we skip metadata directly
+ this.currentStep += 2
+ } else {
+ this.currentStep += 1
+ }
}
},
computed: {
diff --git a/front/src/views/admin/Settings.vue b/front/src/views/admin/Settings.vue
index 7174ab516..81eb97aa6 100644
--- a/front/src/views/admin/Settings.vue
+++ b/front/src/views/admin/Settings.vue
@@ -93,8 +93,7 @@ export default {
label: this.$t('Imports'),
id: 'imports',
settings: [
- 'providers_youtube__api_key',
- 'providers_acoustid__api_key'
+ 'providers_youtube__api_key'
]
},
{