diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1b11b2a9..bfc4d5fc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ stages: review_front: stage: review - image: node:10 + image: node:11 when: manual allow_failure: true variables: @@ -54,7 +54,6 @@ review_front: name: review/front/$CI_COMMIT_REF_NAME url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/front-review/index.html - review_docs: stage: review when: manual @@ -87,7 +86,6 @@ review_docs: name: review/docs/$CI_COMMIT_REF_NAME url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/docs-review/index.html - black: image: python:3.6 stage: lint @@ -142,7 +140,7 @@ test_api: test_front: stage: test - image: node:10 + image: node:11 before_script: - cd front only: @@ -164,7 +162,7 @@ test_front: build_front: stage: build - image: node:10 + image: node:11 before_script: - curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 - chmod +x /usr/local/bin/jq diff --git a/api/funkwhale_api/music/utils.py b/api/funkwhale_api/music/utils.py index 84f55dda7..bf3a0daf6 100644 --- a/api/funkwhale_api/music/utils.py +++ b/api/funkwhale_api/music/utils.py @@ -30,6 +30,7 @@ def compute_status(jobs): AUDIO_EXTENSIONS_AND_MIMETYPE = [ + ("ogg", "video/ogg"), ("ogg", "audio/ogg"), ("opus", "audio/opus"), ("mp3", "audio/mpeg"), diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue index a7c0950bc..7fda9520f 100644 --- a/front/src/components/audio/Player.vue +++ b/front/src/components/audio/Player.vue @@ -393,7 +393,7 @@ export default { self.ended() }, onunlock: function () { - if (this.$store.state.player.playing) { + if (self.$store.state.player.playing) { self.soundId = self.sound.play(self.soundId) } },