Commit Graph
110 Commits
Author SHA1 Message Date
Niels van Velzen c877eea35d Use Android TV linter configuration 2026-06-07 16:19:28 +02:00
Niels van Velzen 9f68bf3124 Rewrite download support 2026-06-07 11:21:18 +02:00
Niels van Velzen 0029014c37 Remove LeakCanary 2026-05-12 18:41:43 +02:00
Niels van Velzen b28957ebf3 Migrate to AGP9 2026-05-12 14:43:35 +02:00
Leon Linhart 75480aad0a Enable per-app language preferences 2025-10-23 22:14:36 +02:00
Niels van Velzen d470ba700c Target SDK 36 (Android 16) 2025-08-16 18:01:14 +02:00
Niels van Velzen a6e278a38f Remove direct dependencies ok OkHttp/Okio 2025-08-01 09:16:24 +02:00
Niels van Velzen 1dabd797af Update app build script for Gradle 9 compatibility 2025-07-31 20:46:24 +02:00
cameocoder 7c185bf79e Update coil dependency from 2.7.0 to 3.2.0 (#1669) 2025-06-10 22:55:05 +02:00
Niels van Velzen bb473ce9e3 Fix various linter and compiler warnings 2025-05-27 15:48:23 +02:00
Niels van VelzenandMaxr1998 0d36d61626 Migrate to media3 (#1655)
* Migrate to media3

* Restore old play and pause icon

* Various small cleanups

---------

Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2025-05-27 14:54:47 +02:00
215a97aa39 Add in app download functionality (#1404)
* Add initial code for client internal downloads

* Add download to internal storage

* Extend ExoPlayer to be able to play downloads

* Store Download Information separately

* Working Downloads Fragment

* Add openDownloads to NativeInterface

* Add ability to remove downloads

* Improve Download Method Check

* Add detail to DownloadItem

* Add option in settings to choose between external and internal download

* Update layout dimensions

* Fix order of deletion

* Improve download speed

* Improve exception handling for missing files

* Improve layout and localization

* Move media and subtitle download to ExoPlayer Download Service

* Resolve detekt errors

* Abstract JellyfinMediaSource

* Rename KILOBYTE const to better communicate it's function

* Add support for selecting audio and encoded subtitle stream

* Flatten DownloadItem & DownloadEntity into LocalJellyfinMediaSource

* Resolve detekt issues

* Inline `prepareDownloadStreams` in QueueManager

* Fix build issue

* Fix some more linting

* Switch to view binding

* Remove obsolete files

* Adjust layout

* Finally fix detekt

* Fix discard of some parallel downloads

* Fix source error on HLS content

* Move byte size conversion to separate file

* Improve download notifications

* Fix detekt

* Fix download cache

---------

Co-authored-by: Emily Ehlert <ehlertto@hu-berlin.de>
Co-authored-by: Ben Martin <ben@brmartin.co.uk>
2025-05-07 08:09:57 +02:00
renovate[bot]andMaxr1998 1500565f64 Update detekt to v1.23.7 (#1094)
* Update detekt to v1.23.7

* Fix detekt config deprecation

* Update ForbiddenComment detekt rule configuration

* Fix new detekt warnings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2025-01-27 01:06:17 +01:00
Maxr1998 be9f01cba1 Compile against SDK 35 (Android 15) 2025-01-26 17:22:26 +01:00
Matthew HaughtonandMaxr1998 a0b1bdfe1e Configure Room with Gradle plugin (#1475)
* Migrate to Room Gradle plugin

> The plugin configures the project such that generated schemas (which are
> an output of the compile tasks and are consumed for auto-migrations) are
> correctly configured to have reproducible and cacheable builds.

https://developer.android.com/jetpack/androidx/releases/room#gradle-plugin

* Remove explicit configuration of room.incremental property

Incremental annotation processing is enabled by default:
https://developer.android.com/jetpack/androidx/releases/room#compiler-options

---------

Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2025-01-26 02:18:19 +01:00
Matthew Haughton e46dad2e66 Fix deprecations in build scripts (#1473)
* Fix deprecation of project.buildDir

* Fix deprecation of kotlinOptions
2024-09-01 14:05:36 +02:00
Niels van Velzen 8908d18f58 Migrate Compose compiler 2024-07-06 11:32:42 +02:00
Niels van Velzen e82744ba05 Remove baseline workaround (#1365)
We temporarily added this to fix reproducible builds. We've since upgrades to a newer version of the Android Gradle Plugin that fixes the bug we worked around. As such we can remove it.
2024-04-27 17:33:26 +02:00
Maxr1998 19ea3587b4 Remove RedScreenOfDeath 2023-08-21 22:33:42 +02:00
Maxr1998 ca3513f7a3 Update compile and target SDK to 34 2023-08-19 23:39:22 +02:00
Maxr1998 56b6c05a50 Remove dependency updates plugin
Not necessary anymore after exclusively using renovate.
2023-06-11 19:24:55 +02:00
renovate[bot]andMaxr1998 187290f7a2 Update Kotlin (#882)
* Update Kotlin

* Downgrade Kotlin to be compose-supported and upgrade compose compiler

* Fix build by explicitly specifying Java target

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2023-06-10 23:23:01 +02:00
renovate[bot]andMaxr1998 f5b9562067 Update android.plugin to v8 (major) (#1101)
* Update android.plugin to v8

* Migrate to AGP v8

Handle some behavior changes after the upgrade.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2023-06-10 20:25:15 +00:00
Niels van Velzen e2f358faf1 Add workaround for non reproducible baseline profiles in AGP to libre builds (#1065)
Add workaround for non reproducible baseline profiles in AGP
2023-05-17 14:35:11 +02:00
Maxr1998 661b484121 Don't ignore detekt failures anymore 2022-12-24 14:04:10 +01:00
Susan ThapaandMaxr1998 5cc2483b08 Adds splash screen (#915)
* added splash screen

* Tweak splash screen

Always use dark background and use vector drawable without border as icon. On Android versions below N, the icon gradient is replaced with a solid white color since gradients in vector drawables aren't supported there.

* Reorder dependencies

Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2022-12-04 21:08:50 +00:00
Maxr1998 d0e28ef49a Set namespace in build.gradle.kts instead of Manifest 2022-10-26 21:32:17 +02:00
Maxr1998 6a8858fe9d Raise compileSdk to 33 2022-09-22 12:32:28 +02:00
Maxr1998 6b9bb09f7c Rewrite connection screen in Jetpack Compose 2022-09-21 22:10:27 +02:00
Maxr1998 892a61fe2f Switch to embedded cronet provider 2022-09-20 13:40:43 +02:00
knackebrot 061343981b ExoPlayer: Use cronet where available 2022-09-20 13:40:43 +02:00
Niels van Velzen 8e430e9552 Bump Android compile and target SDK to 32 (Android 12L) (#761) 2022-08-15 21:28:52 +02:00
Maxr1998 d2241bde57 Enable autocorrect for detekt issues 2022-04-30 12:32:27 +02:00
Maxr1998 6c5a90218d Add detekt formatting plugin 2022-04-06 14:35:07 +02:00
Maxr1998 4f0e651a83 Fix or suppress various lint warnings 2022-03-28 22:23:01 +02:00
Maxr1998 c64a68d016 Update Gradle plugins 2022-03-28 22:23:01 +02:00
Maxr1998 b3abf83972 Update detekt plugin 2022-01-24 08:59:36 +01:00
Niels van Velzen 29407a3bab Move annotationProcessorOptions to ksp block 2021-11-06 22:05:23 +01:00
Niels van Velzen 46504fd484 Compile with Android 12 (API 31) 2021-11-06 22:05:23 +01:00
Niels van Velzen b863c556fa Move all Gradle plugins to version catalog, replace KAPT with KSP 2021-11-06 22:05:23 +01:00
Maxr1998 4123523739 Move plugins to version catalog 2021-09-04 14:19:32 +02:00
Max Rumpf a9f07e197b Add ffmpeg extension (#520) 2021-09-04 09:44:23 +02:00
Max Rumpf cc1fa33d7e Migrate to Gradle version catalogs (#482)
* Migrate to Gradle version catalogs

* Address review feedback
2021-08-06 19:44:58 +02:00
Maxr1998 94d9fbc3b1 Upgrade to AGP 7.0.0 2021-07-31 22:38:53 +02:00
Niels van VelzenandMaxr1998 88bf27afe4 Add option to switch between versions of the SDK (#428)
Add build option to switch between releases, snapshots, unstable snapshots and local versions of the SDK

Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2021-06-14 15:39:07 +02:00
Maxr1998 5d94d61734 Update and migrate Koin to 3.0.2 2021-05-30 21:02:20 +02:00
57be96f1a4 ci(publish): add initial publish app GH workflow (#330)
* remove azure pipeline in favor of GH workflow

* add GH workflow for publishing

Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>

* apply changes from code review

Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>

* remove environment from publish workflow

Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2021-05-21 19:56:45 +02:00
Max Rumpf bc8aa354b8 Add snapshot repository for Jellyfin SDK (#374)
* Add snapshot repository for Jellyfin SDK

* Use maven repo shorthand
2021-05-10 20:22:01 +00:00
Niels van Velzen f94f0804d8 Add desugaring to support java.time (#377) 2021-05-10 18:08:38 +00:00
Maxr1998 ca94892624 Update Kotlin to 1.5.0
- Remove now unnecessary jvmTarget from buildscript
- Update Room to 2.3.0 since earlier versions cause build errors with the new Kotlin release
2021-05-06 16:58:51 +02:00