Skip to content

Commit

Permalink
Fix isPlayingAudio behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Jul 5, 2024
1 parent 50fcdb4 commit f6f81c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class RewriteMediaManager(
}

override val isPlayingAudio: Boolean
get() = playbackManager.state.playState.value != PlayState.STOPPED
get() = playbackManager.state.playState.value == PlayState.PLAYING

override fun playNow(context: Context, items: List<BaseItemDto>, position: Int, shuffle: Boolean) {
val filteredItems = items.drop(position)
Expand Down

0 comments on commit f6f81c2

Please sign in to comment.