Display server error message on server list (#1741)
## Description On the switch server page, display error message at the bottom for the focused server. This includes unsupported server version. ### Related issues Jellyfin 10.11/12.0 support discussion: #1640 ### Testing Emulator ## Screenshots <img width="1280" height="720" alt="server_error Large" src="https://github.com/user-attachments/assets/1227e7e7-a364-48d9-9a77-cb3f78d134a1" /> ## AI or LLM usage None
This commit is contained in:
parent
4171d0b861
commit
e7b0be2660
7 changed files with 200 additions and 34 deletions
|
|
@ -15,6 +15,8 @@ import org.acra.ReportField
|
|||
import org.acra.config.dialog
|
||||
import org.acra.data.StringFormat
|
||||
import org.acra.ktx.initAcra
|
||||
import org.jellyfin.sdk.Jellyfin
|
||||
import org.jellyfin.sdk.model.ServerVersion
|
||||
import timber.log.Timber
|
||||
import javax.inject.Inject
|
||||
|
||||
|
|
@ -120,5 +122,7 @@ class WholphinApplication :
|
|||
companion object {
|
||||
lateinit var instance: WholphinApplication
|
||||
private set
|
||||
|
||||
val minimumServerVersion: ServerVersion = Jellyfin.minimumVersion
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue