Commit graph

13 commits

Author SHA1 Message Date
Jarne Demeulemeester
76121925d7
Modularize the codebase (#230)
* Split app into core and app:phone

* Use global versionCode and versionName

* Clean up gradle dependencies

* Use string formatting inside getString function

* Move proguard file to app:phone

* Move app_navigation and BasePlayerActivity to app:phone

* Add buildTypes to core gradle and remove buildFeatures

* Add suffix core to core namespace

* Split code into 4 more modules: data, preferences, player:core and player:video

* Clean up some gradle files

* Clean up data gradle

* Remove duplicate Constants.kt

* Use AppPreferences in more places

* Split off strings

* Remove unused animations

* Make about_libraries strings non-translatable

* Move mpv assets to player:video module

* Make AppPreferences a Singleton
2023-01-13 23:51:20 +01:00
Jarne Demeulemeester
65f4c2f639
Migrate to androidx media3 (#213)
* Migrate to media3

* Update docs

* Move display_extended_title to AppPreferences

* Move display_extended_title to AppPreferences p2

* Add MediaSession support to the player

* Fix mpv player

* Disable animations on tv player controls and rename the tv_control_view file

* New media3 decoder ffmpeg
2022-12-10 11:33:16 +01:00
Jarne Demeulemeester
6e9adca9d6
More mpv options (#205)
* Add mpv options: hwdec, hwdec-codecs, vo, gpu-api

* Add audio output option

* Use AppPreferences in companion object to set the vo

* Remove unused strings

* Use strings for mpv prefs

* Change default ao to audiotrack

* Clean up preferred language settings
2022-11-25 21:50:20 +01:00
Jarne Demeulemeester
aeabb620ee
Multi-user support (#199)
* Add multiple users per server

* Remove unnecessary longClickListener

* Check if user is selected on startup

* Still create JellyfinApi even if no user is selected

* Already fill in the username when needing to re-login
2022-11-19 21:18:50 +01:00
Jarne Demeulemeester
5895b2c8d8
Add network settings (#192)
* Add new network settings with socket timeout option

* Add socketTimeout to AppPreferences

* Format with ktlint

* Add request timeout and connect timeout as options
2022-11-05 23:59:44 +01:00
Jarne Demeulemeester
ad5e722d44
Introduce klint (#186)
* Add ktlint plugin

* Make code ktlint compliant

* Make code ktlint compliant
2022-10-29 21:17:48 +02:00
Jarne Demeulemeester
77de164538
Make headers in search and favorite fragments translatable 2022-10-15 00:22:15 +02:00
Jarne Demeulemeester
5eb101323b
Enable Material You Dynamic colors (#138) 2022-08-03 09:21:01 +02:00
Jarne Demeulemeester
f400571e04
Customize the seeking increments (#128)
* Add the ability to customize the seeking increments

* Fix number keyboard image cache size

* Clean up fragment_settings_player.xml
2022-07-05 09:06:26 +02:00
Jarne Demeulemeester
7cdc74d2e7
Split gesture option into volume & brightness and zoom (#121) 2022-06-11 13:45:26 +02:00
Jarne Demeulemeester
cce2513c7e
Enable image caching by default and set size to 20MB 2022-03-29 13:01:47 +02:00
Jarne Demeulemeester
a7e63eb1bb
Add options to disable player gestures and remember screen brightness 2022-03-28 14:07:31 +02:00
maulik9898
7d9857d3ce
Improve player gestures and add pinch to zoom (#74)
* implemented pan/panStop on a GestureListener to detect the entry location and exclude top status bar area.

* remember last brightness set for players [ Exoplayer , MPV]

* Pinch to zoom and auto rotate feature for Exoplayer

* Only save the brightness when the overlay disappears instead of on every scroll

Also clean up some files

* removed unnecessary configChanges from Manifest

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2022-01-08 18:04:28 +01:00