* Update dependency org.jellyfin.sdk:jellyfin-core to v1.4.0
* Remove ACCESS_WIFI_STATE permission
* Fix adding server
* Remove server already added error
Add the address if server already exists in database but the address doesn't
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
* 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
* Add multiple addresses per server
* Clean up
* Change icon to globe
* Fix AddServerAddressDialog crashing on tv
* Fix navigation to main activity on tv
* Hide nav bar in UsersFragment and ServerAddressesFragment
* Add hint for server address
* 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
* 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
* Add new network settings with socket timeout option
* Add socketTimeout to AppPreferences
* Format with ktlint
* Add request timeout and connect timeout as options
* New server db schema
Adds support for multiple addresses and users per server
* Fix crash when the only available server is deleted and app is restarted
* Set serverId as foreign key in User and ServerAddress
* Format using ktlint
* Bump ServerDatabase version to 2
* Fix deleted downloads
This commit fixes downloads getting deleted after a few weeks by android's cleanup system. This is fixed by downloading the files under the .download extension and renaming them when the download is completed.
* Add retry download feature
* Add indicator when download is ongoing
* Refactor download code
* Disable button on retry and clean up
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
* Fix MPV subtitles zoom in
Closes#162
Some .ass subtitles will still be broken due to their forced stylings unless stripped.
* Move everything in a single if statement
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
* Merge MainActivity and MainActivityTv
* Merge AddServerFragment and TvAddServerFragment
* Merge LoginFragment and TvLoginFragment
* Add new focus effect
* Add libraries to tv home
* Fix home empty when navigating back on mobile
* Add loading indicator to home fragment
* Add empty LibraryFragment
* Add focus outline to settings button
* Use DiffCallback for updating home fragment
* Visually upgrade MediaDetailFragment
* Make all home items focusable in touch mode
* Add new focus border to person item
* Add LibraryFragment layout for TV
(Whilst also making a clusterfuck of the navigation)
* Add missing try-catch in HomeViewModel
* Don't show CancellationException on AddServerFragment
* Fix a few crashes plus errors
* Allow seeking in players by tapping
* Allow seeking in players by swiping horizontally
* Small cleanup
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
* Use NavigationRail on tablets
Width 600dp+
* Add next up item next to the description on tablets
Width 600dp+
* Add tv banners for debug and staging
* Clean up tv add server fragment
* Clean up tv login fragment