diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index a6337247..9f022e42 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -9,8 +9,8 @@ android { applicationId = "tv.orbit.classic" minSdk = 26 targetSdk = 36 - versionCode = 260 - versionName = "0.108.100-rooms-sound" + versionCode = 261 + versionName = "0.108.101-tots-jingle" } buildFeatures { compose = true } // The finished build for the TVs (Paul, 6 November 2026: the test build stuttered on the box). Not debuggable, so diff --git a/android/app/src/main/java/tv/orbit/classic/EmbyClient.kt b/android/app/src/main/java/tv/orbit/classic/EmbyClient.kt index dec5ed75..01521046 100644 --- a/android/app/src/main/java/tv/orbit/classic/EmbyClient.kt +++ b/android/app/src/main/java/tv/orbit/classic/EmbyClient.kt @@ -62,9 +62,9 @@ internal class HttpsEmbyTransport(internal val deviceId: String = UUID.randomUUI } /** The sign-in headers for this kind of server. */ internal fun authHeaders(token: String?): Map = when (kind) { - ServerKind.Emby -> mapOf("X-Emby-Authorization" to "Emby Client=\"Orbit TV\", Device=\"Orbit TV\", DeviceId=\"$deviceId\", Version=\"0.108.100\"") + + ServerKind.Emby -> mapOf("X-Emby-Authorization" to "Emby Client=\"Orbit TV\", Device=\"Orbit TV\", DeviceId=\"$deviceId\", Version=\"0.108.101\"") + (token?.let { mapOf("X-Emby-Token" to it) } ?: emptyMap()) - ServerKind.Jellyfin -> mapOf("Authorization" to "MediaBrowser Client=\"Orbit TV\", Device=\"Orbit TV\", DeviceId=\"$deviceId\", Version=\"0.108.100\"" + + ServerKind.Jellyfin -> mapOf("Authorization" to "MediaBrowser Client=\"Orbit TV\", Device=\"Orbit TV\", DeviceId=\"$deviceId\", Version=\"0.108.101\"" + (token?.let { ", Token=\"$it\"" } ?: "")) } /** One picture from the provider, or nothing. Same fixed origin and no redirects, and failures are never shown or logged. */ diff --git a/android/app/src/main/java/tv/orbit/classic/SecureMediaDataSource.kt b/android/app/src/main/java/tv/orbit/classic/SecureMediaDataSource.kt index 54905c54..484b29e4 100644 --- a/android/app/src/main/java/tv/orbit/classic/SecureMediaDataSource.kt +++ b/android/app/src/main/java/tv/orbit/classic/SecureMediaDataSource.kt @@ -39,7 +39,7 @@ internal class SecureMediaDataSource(private val session: EmbySampleSession) : B next.instanceFollowRedirects = false next.connectTimeout = 10_000 next.readTimeout = 20_000 - next.setRequestProperty("User-Agent", "OrbitTV/0.108.100") + next.setRequestProperty("User-Agent", "OrbitTV/0.108.101") next.setRequestProperty("Accept-Encoding", "identity") session.mediaHeaders(address).forEach { (key, value) -> next.setRequestProperty(key, value) } if (dataSpec.position != 0L || dataSpec.length != C.LENGTH_UNSET.toLong()) { diff --git a/android/app/src/main/res/raw/ident_614_evening.mp4 b/android/app/src/main/res/raw/ident_614_evening.mp4 index d1e50279..1ae503cc 100644 Binary files a/android/app/src/main/res/raw/ident_614_evening.mp4 and b/android/app/src/main/res/raw/ident_614_evening.mp4 differ diff --git a/android/app/src/main/res/raw/ident_614_morning.mp4 b/android/app/src/main/res/raw/ident_614_morning.mp4 index e71f98a9..8d1f9045 100644 Binary files a/android/app/src/main/res/raw/ident_614_morning.mp4 and b/android/app/src/main/res/raw/ident_614_morning.mp4 differ diff --git a/android/app/src/main/res/raw/ident_614_morning_roll.mp4 b/android/app/src/main/res/raw/ident_614_morning_roll.mp4 index fc576258..a3642539 100644 Binary files a/android/app/src/main/res/raw/ident_614_morning_roll.mp4 and b/android/app/src/main/res/raw/ident_614_morning_roll.mp4 differ