Steve Lhomme
98ac3b0d29
gradle: set the buildToolsVersion globally
We don't need to separate between VLC 3 and VLC 4 as they use the same code except for VlcMigrationHelper.
1 year ago
Steve Lhomme
3d1cbce81b
set the targetSdk/compileSdk globally
We know it's applied globally as the Android Gradle Plugin we use
defaults to compileSdk 35 which our code doesn't compile with.
1 year ago
Steve Lhomme
f5889b14c2
gradle: switch the target SDK version to targetSdk
The difference between targetSdk and targetSdkVersion seems that the former is an integer [^1].
We keep the value in rootProject.ext as it's currenly used by libvlcjni.
[^1]: https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SettingsExtension#setCompileSdk(kotlin.Int)
1 year ago
Steve Lhomme
96355178b4
gradle: switch the minimum SDK version to minSdk
The difference between minSdk and minSdkVersion seems that the former is an integer [^1].
We already use it to set the value to 30 for vlcBundle.
We keep the value in rootProject.ext as it's currenly used by libvlcjni.
[^1]: https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/SettingsExtension#setMinSdk(kotlin.Int)
1 year ago
Nicolas Pomepuy
10ce8d996e
Migrate all the settings keys from Constants to Settings
1 year ago
Nicolas Pomepuy
ff75755687
Prevent multiple crashes when restoring settings
1 year ago
Nicolas Pomepuy
2b326a4fb9
Settings restore: prevent opening the restart dialog too soon
1 year ago
Nicolas Pomepuy
c5f7497984
Refactor the settings to use a constant in Settings
1 year ago
Steve Lhomme
422b88ed7a
gradle: set the compileSdk with =
The old way is marked as deprecated.
> Properties should be assigned using the 'propName = value' syntax. Setting a
> property via the Gradle-generated 'propName value' or 'propName(value)'
> syntax in Groovy DSL has been deprecated.
1 year ago
Steve Lhomme
b2e66af152
gradle: set the namespace with =
The old way is marked as deprecated.
> Properties should be assigned using the 'propName = value' syntax. Setting a
> property via the Gradle-generated 'propName value' or 'propName(value)'
> syntax in Groovy DSL has been deprecated.
1 year ago
Steve Lhomme
295073f5a7
gradle: set the build-tools version to the Docker ones
So we don't have to download them.
1 year ago
Nicolas Pomepuy
aaf5f5c109
Use the PreferenceVisibilityManager to manage the preferences root
1 year ago
Nicolas Pomepuy
8f7cc72b5e
Correctly restore the favorites lane on Android TV main screen
Fixes #3203
1 year ago
Nicolas Pomepuy
c7e6655f12
Add the incognito mode on TV in the settings
1 year ago
Nicolas Pomepuy
eba0ba0bae
Feedback: open the right settings on TV when no email client installed
1 year ago
Nicolas Pomepuy
e114dd67fd
Migrate to ksp
1 year ago
Nicolas Pomepuy
ce7acc9291
Use the new gradle plugin syntax
1 year ago
Nicolas Pomepuy
afad1ba41c
Fix TV now playing item animation
Fixes #3195
1 year ago
Nicolas Pomepuy
4e2e2dd3f1
Fix play as video on TV
Fixes #3196
1 year ago
Nicolas Pomepuy
2d75fa7213
Implement the directional key listeners for the audio players
Fixes #3187
1 year ago
Nicolas Pomepuy
5a9dc43ebd
Migrate the video settings to the visibility manager
1 year ago
Nicolas Pomepuy
1e9eb90f63
Migrate the interface settings to the visibility manager
1 year ago
Nicolas Pomepuy
c3cb21a93c
Migrate the advanced settings to the visibility manager
1 year ago
Nicolas Pomepuy
0e4de91f9b
Create a setting visibility manager and use it for the Audio screen
1 year ago
Nicolas Pomepuy
c7b2b91dd7
Remove useless actions when changing the aout settings
1 year ago
Nicolas Pomepuy
4ac7befee6
Use a dedicated constant for aout
1 year ago
Nicolas Pomepuy
b8c26faf85
Move the aout setting to the advanced settings
1 year ago
Nicolas Pomepuy
192aaeb803
Add the quick play advanced settings
1 year ago
Nicolas Pomepuy
199929eaa8
Prepend the system locales to the locales used for default audio and default subtitles
Fixes #3179
1 year ago
Nicolas Pomepuy
a7f0dadbdc
TV audio player: close the player when the playback finishes
1 year ago
Nicolas Pomepuy
747ce0bb85
Fix the TV audio player item reverting to the default drawable after playing
1 year ago
Nicolas Pomepuy
16a1258bed
TV audio player: update the speed icon for the current playback speed mode
1 year ago
Nicolas Pomepuy
84ec506d7e
Bookmark delegate: show the jump buttons
Comes with the implementation for all the players
1 year ago
Nicolas Pomepuy
765b81dbb9
Move more settings in the video controls
1 year ago
Nicolas Pomepuy
a47d0ec59b
Refactor the preference warning dialog to be generic
1 year ago
Nicolas Pomepuy
5089ee7521
Remove obsolete playback speed settings
2 years ago
Duncan McNamara
32d2f730be
TV: ML: keep root storage after ML reset
Instead of re-adding the default internal storage as an ML root, save
previous roots, reset the db, and re-add these roots.
This is !2080 but for TV as I forgot to also apply the changes to the tv
settings
2 years ago
Nicolas Pomepuy
48990411ed
Rename dialog: split by media type to avoid collisions
2 years ago
Nicolas Pomepuy
30c2feaabe
Fix crash when rotating while RenameDialog is opened
2 years ago
Nicolas Pomepuy
2c74565815
Add a permission changed listener on the dialog and listen it in the ML fragments
2 years ago
Nicolas Pomepuy
d80045e1a1
Fix TV crash when clicking on the audio permission card
2 years ago
Duncan McNamara
d56690df90
PlaylistMode: refactor constant name
Move FORCE_PLAY_ALL_VIDEO/AUDIO to PLAYLIST_MODE_VIDEO/AUDIO
to have a constant name more aligned with the setting name.
Less confusing.
2 years ago
Nicolas Pomepuy
4e2fec9a2f
Ask write permission before deleting files on TV
2 years ago
Nicolas Pomepuy
a9f8e5c2a6
Check write permission before deleting on TV and proper error display
2 years ago
Nicolas Pomepuy
7cf3cec3dc
Allow deleting files in TV
Fixes #2398
2 years ago
Nicolas Pomepuy
ee3b1cb4f7
Listen to permission changes to reload the browse fragment
Fixes #3114
2 years ago
Nicolas Pomepuy
1b5f2fa246
Display the images in the cards and backdrop for images files on TV
2 years ago
Nicolas Pomepuy
a2a5b102d7
Display cover image files in the TV item details
2 years ago
Nicolas Pomepuy
5d07a41be9
Allow browsing the parent folder of an image on TV
2 years ago
Nicolas Pomepuy
361b8cf753
Remove the Android Auto settings from TV
Fixes a crash
2 years ago