diff --git a/web-src/src/components/PlayerButtonPlayPause.vue b/web-src/src/components/PlayerButtonPlayPause.vue index 5b95a5b8..f0937f7d 100644 --- a/web-src/src/components/PlayerButtonPlayPause.vue +++ b/web-src/src/components/PlayerButtonPlayPause.vue @@ -18,10 +18,9 @@ export default { }, is_pause_allowed () { - return this.$store.getters.now_playing && - (this.$store.getters.now_playing.data_kind === 'file' || - ((this.$store.getters.now_playing.data_kind === 'url' && this.$store.state.player.item_length_ms !== 0) && this.$store.getters.now_playing.data_kind !== 'pipe') - ) + return (this.$store.getters.now_playing && + !(this.$store.getters.now_playing.data_kind === 'url' && this.$store.state.player.item_length_ms <= 0) && + this.$store.getters.now_playing.data_kind !== 'pipe') } },