Merge branch 'master' into develop

This commit is contained in:
Eliot Berriot 2019-07-29 14:22:31 +02:00
commit bb1a895a9b
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
3 changed files with 5 additions and 6 deletions

View File

@ -17,7 +17,7 @@ stages:
review_front: review_front:
stage: review stage: review
image: node:10 image: node:11
when: manual when: manual
allow_failure: true allow_failure: true
variables: variables:
@ -54,7 +54,6 @@ review_front:
name: review/front/$CI_COMMIT_REF_NAME 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 url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/front-review/index.html
review_docs: review_docs:
stage: review stage: review
when: manual when: manual
@ -87,7 +86,6 @@ review_docs:
name: review/docs/$CI_COMMIT_REF_NAME 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 url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/docs-review/index.html
black: black:
image: python:3.6 image: python:3.6
stage: lint stage: lint
@ -142,7 +140,7 @@ test_api:
test_front: test_front:
stage: test stage: test
image: node:10 image: node:11
before_script: before_script:
- cd front - cd front
only: only:
@ -164,7 +162,7 @@ test_front:
build_front: build_front:
stage: build stage: build
image: node:10 image: node:11
before_script: before_script:
- curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 - 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 - chmod +x /usr/local/bin/jq

View File

@ -30,6 +30,7 @@ def compute_status(jobs):
AUDIO_EXTENSIONS_AND_MIMETYPE = [ AUDIO_EXTENSIONS_AND_MIMETYPE = [
("ogg", "video/ogg"),
("ogg", "audio/ogg"), ("ogg", "audio/ogg"),
("opus", "audio/opus"), ("opus", "audio/opus"),
("mp3", "audio/mpeg"), ("mp3", "audio/mpeg"),

View File

@ -393,7 +393,7 @@ export default {
self.ended() self.ended()
}, },
onunlock: function () { onunlock: function () {
if (this.$store.state.player.playing) { if (self.$store.state.player.playing) {
self.soundId = self.sound.play(self.soundId) self.soundId = self.sound.play(self.soundId)
} }
}, },