Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Georg Abenthung
funkwhale
Commits
f1f6a77d
Commit
f1f6a77d
authored
Jun 24, 2021
by
JuniorJPDJ
Committed by
Georg Krause
Aug 04, 2021
Browse files
Don't allow track playing start if it's not current track
partially fixes #1213
parent
63a6fdce
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/changelog.d/1213.bugfix
0 → 100644
View file @
f1f6a77d
Partially fixed playing two tracks at same time (#1213)
front/src/components/audio/Player.vue
View file @
f1f6a77d
...
...
@@ -384,6 +384,10 @@ export default {
})
},
onplay
:
function
()
{
if
(
this
!=
self
.
currentSound
)
{
this
.
stop
()
return
}
self
.
$store
.
commit
(
'
player/isLoadingAudio
'
,
false
)
self
.
$store
.
commit
(
'
player/resetErrorCount
'
)
self
.
$store
.
commit
(
'
player/errored
'
,
false
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment