reame updates

This commit is contained in:
Xilin Jia 2024-08-05 22:50:29 +01:00
parent aa585b242e
commit 87af1a18f6
2 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@ An open source podcast instrument, attuned to Puccini ![Puccini](./images/Puccin
F-Droid [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" F-Droid [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid" alt="Get it on F-Droid"
height="60">](https://f-droid.org/packages/ac.mdiq.podcini.R/) height="40">](https://f-droid.org/packages/ac.mdiq.podcini.R/)
Or IzzyOnDroid [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" Or IzzyOnDroid [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on IzzyOnDroid" alt="Get it on IzzyOnDroid"
height="60">](https://apt.izzysoft.de/fdroid/index/apk/ac.mdiq.podcini.R) height="40">](https://apt.izzysoft.de/fdroid/index/apk/ac.mdiq.podcini.R)
Or download the latest APK from the [Releases Section](https://github.com/XilinJia/Podcini/releases/latest). Or download the latest APK from the [Releases Section](https://github.com/XilinJia/Podcini/releases/latest).
## Announcement ## Announcement

View File

@ -226,7 +226,7 @@ class PlaybackService : MediaSessionService() {
private val mediaPlayerCallback: MediaPlayerCallback = object : MediaPlayerCallback { private val mediaPlayerCallback: MediaPlayerCallback = object : MediaPlayerCallback {
override fun statusChanged(newInfo: MediaPlayerInfo?) { override fun statusChanged(newInfo: MediaPlayerInfo?) {
currentMediaType = mPlayer?.mediaType ?: MediaType.UNKNOWN currentMediaType = mPlayer?.mediaType ?: MediaType.UNKNOWN
Logd(TAG, "statusChanged called ${newInfo?.playerStatus}") Log.d(TAG, "statusChanged called ${newInfo?.playerStatus}")
if (newInfo != null) { if (newInfo != null) {
when (newInfo.playerStatus) { when (newInfo.playerStatus) {
PlayerStatus.INITIALIZED -> PlayerStatus.INITIALIZED ->