Commit graph

701 commits

Author SHA1 Message Date
jarnedemeulemeester
5b49abfbc8
fix: add CollectionType to proguard-rules.pro 2023-06-20 19:42:16 +02:00
jarnedemeulemeester
b9253badf8
chore: remove some unused files and dependencies 2023-06-20 13:02:48 +02:00
Jarne Demeulemeester
b426a920c3
lint: run ktlintFormat 2023-06-19 23:44:42 +02:00
renovate[bot]
07efae6f4c
chore(deps): update dependency org.jlleitschuh.gradle.ktlint to v11.4.0 (#293)
* chore(deps): update dependency org.jlleitschuh.gradle.ktlint to v11.4.0

* fix: use .editorconfig

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jarnedemeulemeester <jarnedemeulemeester@gmail.com>
2023-06-19 23:16:02 +02:00
Jarne Demeulemeester
c1819406cf
refactor: use CollectionType in LibraryFragment 2023-06-18 12:10:58 +02:00
Jarne Demeulemeester
ebf125c064
fix: only show version dialog when there are more than 2 remote sources 2023-05-29 16:55:26 +02:00
Jarne Demeulemeester
1399c77b5d
refactor: switch to coil for image loading (#388) 2023-05-29 16:44:03 +02:00
thofx
68525a0283
feat: add volume and brightness change animation (#377)
* volume and brightness change animation

* lint: remove redundant curly braces

---------

Co-authored-by: usnail <fuyouyuan@cloudwalk.com>
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-05-27 12:37:43 +02:00
Yash Garg
5ff964b9bf
fix: video profile chip using wrong color (#383) 2023-05-27 12:06:34 +02:00
004matteos
a886baf907
feat: lock player controls (#372)
* feat: lock player controls

Add Lock Player feature.

This feature is similar to the feature found in the stock Jellyfin Android app and in the VLC app.

When enabled, it disables the gestures (seek, volume and brightness control), disables the default player controls and leaves only two buttons: a back button and an "unlock" button.
Pressing the unlock button reverts the player back to the initial state, e.g. gestures enabled and default buttons shown.

Works with ExoPlayer and MPV Player.

Let me know of any issues.

* Update PlayerGestureHelper.kt

* Fixed spacing issues

* fixed bug + formatting

* Simplified code

* Fixed spacing

* fixed trailing line?

* refactor: set locked layout initial visibility in xml

---------

Co-authored-by: jarnedemeulemeester <jarnedemeulemeester@gmail.com>
2023-05-25 09:20:30 +02:00
Jarne Demeulemeester
36f07ad1c7
refactor: make item actions material buttons
Also fixes the buttons being clickable when the content has not loaded yet
2023-05-20 20:32:03 +02:00
Jarne Demeulemeester
fd33d52bba
feat: add product flavors libre and huawei
Huawei requires a different app icon. They don't like the Android Robot :(
2023-05-14 18:32:46 +02:00
Jarne Demeulemeester
24faa1d9e3
fix: update fragment_add_server with policy text 2023-05-14 18:14:51 +02:00
Jarne Demeulemeester
b37532268c
chore: add privacy policy notice on AddServerFragment
This is required by Huawei... But I see no reason to not show it on any version.
2023-05-14 18:00:32 +02:00
Yash Garg
7d86f46fa3
feat: show movie size in extra info and improve size formatting (#367) 2023-05-14 16:29:40 +02:00
Yash Garg
69e3afc426
feat: add per app language for devices running Android 13+ (#353) 2023-05-14 11:19:31 +02:00
jarnedemeulemeester
765a31838e
fix: info text overlapping in movie and show fragments
Closes: #358
2023-05-13 11:27:24 +02:00
jarnedemeulemeester
82bbfee0a4
fix: text overflowing into "View all"
Closes #354
2023-05-11 17:22:15 +02:00
Jarne Demeulemeester
fa43b42b0d
fix: library fragment not navigating to collection (box set) 2023-05-11 00:46:01 +02:00
jarnedemeulemeester
986c120806
lint: fix indent 2023-05-09 08:25:45 +02:00
jarnedemeulemeester
8a96588a88
fix: show indexNumberEnd 2023-05-08 23:51:31 +02:00
Jarne Demeulemeester
22ac4bed49
fix: add okhttp proguard rules 2023-05-07 16:36:31 +02:00
Jarne Demeulemeester
00c84fa9d5
Items and downloads rework (#329)
* refactor WIP: stop using `BaseItemDto` but use custom items specific to Findroid

This will make it easier to support downloaded items

* refactor: split `MediaInfoFragment` into `MovieFragment` and `ShowFragment`

* feat: add download icons to items

* feat WIP: download movies

* feat: download movie and play local file

* fix: remove `VideoVersionDialogFragment` from `ShowFragment`

* feat: select which version you want to download

* feat: delete downloaded movie

* feat: download progress indicator

* refactor: rename JellyfinItems to FindroidItems

* feat: offline mode (movies only)

* feat: offline mode card

* feat: download external files

* feat: toggle played on downloads

* feat: convert intros to `FindroidIntro`

* refactor: add itemId and sourceId to external downloaded subtitle filenames

* refactor: simplify `onMediaItemTransition`

* refactor: clean up some player item logic

* feat: download trickPlay data

* refactor: downloading of item to only require the item and a source id

* fix: external subtitle title

* feat: add `DownloadsFragment`

* feat: download episodes

* fix: cascade deletion if last item

* feat: download intro timestamps

* feat WIP: add storage activity

* feat: user data in separate table

* feat: add buttons to season fragment

* fix: improve responsiveness of the watched and favorite buttons

* fix: move `ic_database.xml` to main

* perf: optimize home fragment by limiting the number of items

* fix: database improvements

- use compound primary key for FindroidUserDataDto instead of id
- set played to false when playback percentage is below 90%
- capitalize SQL keywords
- update favorite in userdata
- set primary key of TrickPlayManifestDto to itemId
- prepare to sync data back to server

* feat: sync playback progress

This includes playback position, played and favorite

* fix: use non-transitive r classes

* lint: ktlint fix

* refactor: centralize item buttons in `item_actions.xml`

* feat: show intermediate progress when progress is less than 5

Also remove delete button from item_actions.xml

* feat: remove intros

* feat: check available storage space before downloading

* fix: trailer button

* refactor: make indexNumberEnd nullable

* feat: add offline mode toggle in settings

* fix: download over mobile data and roaming

* feat: immediately show spinner when tapping download

* revert: season fragment buttons

* feat: snackbar in downloads fragment

This snackbar is displayed when there is no connection to the server but the app is not in Offline Mode (Offline Mode is required to play content when the server is unavailable)

* refactor: make onReceive arguments non nullable

* fix: handle download finished / failed when BroadcastReceiver does not work

* fix: download multiple episodes

* feat: download to external storage (SD card)

* fix: reset download button when dialog is dismissed

* feat(offline): show "continue watching" episodes on home

* fix: watch progress bar on episode item in season

* feat(offline): next up items

* lint: fix some linting issues

* lint: fix some linting issues

* lint: fix some linting issues

* feat: remove StorageActivity

StorageActivity is not ready yet and out of scope for this PR

* fix: collection types that are not known crash the media fragment

* fix: downloading trick play data

* fix: sort downloaded items

* fix: navigate back if item is deleted instead of showing error

Navigate back based on NullPointerException in loadData method of viewmodels. This may not be the best approach but it works well enough.

Navigating back from BottomSheetFragment does not trigger onResume of previous fragment which in turn does not refresh its contents.

* fix: play from local storage instead of server when downloaded

* fix: missing items

* fix: `SyncWorker` using the app JellyfinApi instance instead of it's own

* fix: only show downloaded items when navigating from `DownloadsFragment`

* fix: make chips horizontal scrollable

* feat: migrate database (retain) and downloads (wipe)

Also add indexes on seriesId and seasonId

* fix: remove temp testing in downloadsMigrated

* lint: fix some linting issues

* fix: add error handling to downloading item

* feat: add "Preparing download" dialog to make sure the user waits for the download to start

* refactor: first show dialog then start downloading

* fix: add error handling to user configuration in `PlayerViewModel`

* feat: allow downloads to be cancelled

* fix: "View details" is cut off when text is too long

* lint: fix indent
2023-05-07 16:05:40 +02:00
renovate[bot]
2e6d069136
chore(deps): update dependency gradle to v8.1 (#332)
* Update dependency gradle to v8.1

* fix: remove @Suppress("DSL_SCOPE_VIOLATION") from build.gradle files

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-04-15 01:01:41 +02:00
renovate[bot]
22542614cd
chore(deps): update android-plugin to v8 (major) (#333)
* Update android-plugin to v8

* ci: upgrade to java 17

* fix: transitive R classes and buildconfig

* lint: fix ktlint issues

* lint: fix ktlint issues

* lint: fix ktlint issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jarnedemeulemeester <jarnedemeulemeester@gmail.com>
2023-04-15 00:43:42 +02:00
Anil Kumar Beesetti
56c6c72617
fix: volume gesture tracker value does not stay within bounds (#301) 2023-02-22 22:09:54 +01:00
Faywyrr
01d8c11a2c
feat: scrubbing preview (#295)
* Scrubbing Preview

Add Jellyscrub plugin support

* Fix syntax

* Some adjustments

Rounded corners
Fix switch

* refactor: switch to `StateFlow`

* refactor: remove `FrameLayout`

* refactor: move trick play retrieval to `onMediaItemTransition`

Only load trick play data for current item
Make it async

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-02-21 19:46:00 +01:00
renovate[bot]
86abe204f9
Update dependency gradle to v8 (#289)
* Update dependency gradle to v8

* fix: add compatibility with AGP 7.4 and remove some kotlin jvmTarget

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-02-13 21:58:05 +01:00
Anil Kumar Beesetti
e32a390d1a
fix: Implementation of Mandatory System Gesture Insets to Avoid Conflicts with System Gestures (#286)
* fix: gesture conflict in seek gesture

* fix: gesture conflict in volume and brightness gestures

* refactor: move to separate method and add implementation for previous Android versions

* lint: run ktlintFormat

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-02-13 21:23:12 +01:00
Xavier Xiong
2049a857a3
feat: AMOLED dark theme (#282)
* Add AMOLED dark theme

* Minor Fix

* Add compatibility with dynamic colors

* remove onused switch logic

Co-authored-by: Yash Garg <ben10.yashgarg@gmail.com>

* Remove unnecessary statements

* refactor: rename unused variable to `_`

---------

Co-authored-by: Yash Garg <ben10.yashgarg@gmail.com>
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-02-11 15:03:48 +01:00
Jarne Demeulemeester
3c2b751df2
lint: fix errors 2023-02-11 12:09:51 +01:00
js6pak
5f7b7eaf63
Add CI (#236)
* Create main.yml

* Run ktlintFormat

* Don't error on translation lint issues

* Fix lint error about POST_NOTIFICATIONS permission

* Increase memory limit to speedup the build

* Only build debug

* refactor: rename `main.yml` to `build.yaml`

* lint: error on `ExtraTranslation`

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-02-11 12:01:02 +01:00
Jarne Demeulemeester
a2e581bc91
fix: remember scroll position in LibraryFragment (#285) 2023-02-11 10:41:28 +01:00
Jarne Demeulemeester
31a3627cf1
Update build tools to 33.0.2
33.0.1 -> 33.0.2
2023-02-10 23:37:16 +01:00
Yash Garg
a6570d8a02
feat(media): add detailed metadata for file on MediaInfoFragment (#246)
* feat: add video file metadata on `MediaInfoFragment`

* feat(metadata): add chips within a chipgroup to showcase major parameters

Set a "temp" text as default for chips since without it, the style resets when text is changed through code
(kind of a hacky fix)

* feat(parser): implement data model for VideoMetadata and parse function

* feat(metadata): show dolby/dts audio codecs and hide SDR display profile

* feat(dolby): add a dolby logo after the rating and per-theme color

* feat(settings): add a preference switch for showing detailed A/V & Subs info

* feat: add dolby logo for video and audio profile inside chip

* feat: handle different audio profiles and change raw names

* feat(audio): add atmos text with the audio codec itself

* feat: only parse metadata when item is a movie

Also correct spacing when there are no chips

* fix(metadata): check for DoVi title since codec shows as HDR10

* fixup!: parsing of audio codecs and display name

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-02-07 22:24:16 +01:00
Jarne Demeulemeester
2bb6cb9b14
feat(settings): add option to toggle seek gesture (#269)
* feat(settings): add option to toggle seek gesture

* Simplify the seek setting summary

* Fix typo in summary
2023-02-04 01:13:58 +01:00
Jarne Demeulemeester
e12d58facf
Set scaleType to centerCrop of next up episode
Fix #41
2023-02-03 18:15:50 +01:00
Jarne Demeulemeester
2356bf5d6b
Implement collections (#252)
* Implement collections

* Set collection name in top app bar
2023-01-28 21:07:45 +01:00
Jarne Demeulemeester
07d0c695f4
Fix Quick Connect code color in light mode
Fix #239
2023-01-23 22:37:49 +01:00
Jarne Demeulemeester
879f41b7b7
Add lib-decoder-ffmpeg to app:phone
I cannot get the androidx.media3 ffmpeg decoder to compile nicely to upload it to maven central. So for now the prebuilt aar stays in this repo.
2023-01-21 17:05:36 +01:00
Jarne Demeulemeester
85e1175a30
Switch to android defined black and white 2023-01-19 00:37:27 +01:00
Jarne Demeulemeester
872457f3de
Respect "Allow media playback"
Fix #228
2023-01-15 18:07:01 +01:00
js6pak
31fd1e3fdc
Add intro skipper support (#219)
* Add intro skipper support

* Fix checking for 404

* Add back missing Intro class and dependencies due to rebase

* Add preference

* Clean up visibility logic

* Update skip intro button design

* Add proguard file to keep Serializable classes

* Move introCheck to a separate Runnable and fix Runnables are never cleaned up

* Simplify check before starting runnable

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-01-15 15:20:56 +01:00
renovate[bot]
e0f07a3a96
Update android-plugin to v7.4.0 (#233)
* Update android-plugin to v7.4.0

* Set Java version to 11

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-01-14 20:21:37 +01:00
Jarne Demeulemeester
f107e79b72
Log in with Quick Connect (#234)
* Log in with Quick Connect

* Clean up LoginViewModel

* Cancel Quick Connect by tapping the button again

* Make quickConnectJob private
2023-01-14 18:21:42 +01:00
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
25efbb6eab
Temporary remove all TV code (#229)
* Remove all tv code

* Remove banner
2023-01-07 00:52:39 +01:00
Jarne Demeulemeester
4a611e160d
Use libmpv from maven repository (#227)
* Use libmpv from repository

* Use mavenCentral instead of custom repo
2023-01-06 15:53:17 +01:00
kimpig
f195b92523 Translated using Weblate (Korean)
Currently translated at 100.0% (153 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2023-01-05 23:44:15 +01:00
cd16b
3659a341b8 Translated using Weblate (Italian)
Currently translated at 100.0% (153 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/it/
2023-01-05 23:44:15 +01:00
Ulysse
f0edab1c79 Translated using Weblate (French)
Currently translated at 91.5% (140 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/fr/
2023-01-05 23:44:15 +01:00
Pierrick Guillaume
b0d82193c7 Translated using Weblate (French)
Currently translated at 91.5% (140 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/fr/
2023-01-05 23:44:15 +01:00
Rogério Mendes
fb6db0de3d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (153 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/pt_BR/
2023-01-05 23:44:15 +01:00
Jarne Demeulemeester
939a144465
Translation cleanup 2023-01-03 00:24:07 +01:00
Simon Scholz
c041f60886 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (153 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hans/
2023-01-02 12:44:15 +01:00
Rogério Mendes
2e8b3d8efd Translated using Weblate (Portuguese (Brazil))
Currently translated at 94.7% (145 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/pt_BR/
2022-12-30 20:44:15 +01:00
Jarne Demeulemeester
54f0b457f5
Convert TrackType to kotlin enum 2022-12-29 14:08:30 +01:00
Larvitar
f996783a82 Translated using Weblate (Polish)
Currently translated at 100.0% (153 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/pl/
2022-12-29 00:44:15 +01:00
Jarne Demeulemeester
705151de71
Change all app preferences to getters
This should improve performance in situations where the AppPreferences class is created
2022-12-28 00:23:49 +01:00
mau671
507791e4f1 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (153 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_419/
2022-12-22 17:44:15 +01:00
SuperTiem
450a843dc6 Translated using Weblate (Dutch)
Currently translated at 100.0% (153 of 153 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/nl/
2022-12-20 11:01:19 +01:00
NeroPcStation
f440791765 Translated using Weblate (Polish)
Currently translated at 100.0% (150 of 150 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/pl/
2022-12-17 16:01:34 +01:00
msycn
25a0fb9eea Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (150 of 150 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hans/
2022-12-17 16:01:34 +01:00
Rogério Mendes
505f4b2f1b Translated using Weblate (Portuguese (Brazil))
Currently translated at 94.6% (142 of 150 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/pt_BR/
2022-12-17 16:01:34 +01:00
SuperTiem
d57745042e Translated using Weblate (Dutch)
Currently translated at 100.0% (150 of 150 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/nl/
2022-12-17 16:01:34 +01:00
newton181
08698a81a4 Translated using Weblate (Spanish)
Currently translated at 100.0% (150 of 150 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es/
2022-12-17 16:01:34 +01:00
Jarne Demeulemeester
d6650eb994
Run ktlint 2022-12-11 21:05:53 +01:00
Jarne Demeulemeester
a58665cbe6
Bump versionCode to 14 and versionName to 0.8.0 2022-12-11 15:30:21 +01:00
Jarne Demeulemeester
c41387487b
Revert "Change default mpv hwdec to mediacodec"
This reverts commit 794e1368fb.
2022-12-11 14:59:05 +01:00
Jarne Demeulemeester
794e1368fb
Change default mpv hwdec to mediacodec
mediacodec-copy -> mediacodec
2022-12-11 01:20:18 +01:00
Jarne Demeulemeester
c712f05dda
Add search button to home fragment (#218) 2022-12-11 00:53:33 +01:00
renovate[bot]
fa5d73faa3
Update dependency org.jellyfin.sdk:jellyfin-core to v1.4.0 (#215)
* 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>
2022-12-10 21:24:11 +01:00
Jarne Demeulemeester
54091bb04a
Up the minimum sdk to 27 2022-12-10 17:50:20 +01:00
Jarne Demeulemeester
067a128c13
Upgrade build tools to 33.0.1 2022-12-10 17:35:03 +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
6ed7e12035
Fix tv player showing subtitle tracks instead of audio tracks 2022-12-04 00:12:42 +01:00
Jarne Demeulemeester
bd2bf79bc8
Replace deprecated onBackPressed 2022-12-04 00:12:14 +01:00
Jarne Demeulemeester
48e5b99cf8
Remove unused strings 2022-12-04 00:10:22 +01:00
Jarne Demeulemeester
d8cb7156fd
Fix layout-w600dp-television/activity_main broken symlink 2022-12-04 00:08:22 +01:00
Jarne Demeulemeester
6572d7e85b
Multiple server addresses (#208)
* 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
2022-12-03 20:53:14 +01:00
solankimihir
ebea13777f
[fix] Convert activity_main symlink to xml file (#207) 2022-11-28 13:12:28 +01:00
Cypral
de2c8350b6 Translated using Weblate (French)
Currently translated at 92.6% (139 of 150 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/fr/
2022-11-26 14:56:45 +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
renovate[bot]
530cb009e9
Update exoplayer to v2.18.2 (#202)
* Update exoplayer to v2.18.2

* Implement getSurfaceSize in mpv

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2022-11-24 00:34:27 +01:00
jhih_yu
d3991a3be7 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (147 of 147 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hant/
2022-11-22 16:03:46 +01:00
jhih_yu
c10127bdfb Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (147 of 147 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hant/
2022-11-21 08:09:57 +01:00
msycn
8f2ef641fe Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (147 of 147 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hans/
2022-11-21 08:09:56 +01:00
kimpig
0d84fd443e Translated using Weblate (Korean)
Currently translated at 100.0% (147 of 147 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-11-21 08:09:56 +01:00
jhih_yu
47b554225e Added translation using Weblate (Chinese (Traditional)) 2022-11-21 05:53:44 +01:00
Jarne Demeulemeester
3ef9ab1f3e
Bump versionCode to 13 and versionName to 0.7.0 2022-11-20 00:01:50 +01:00
Paul Woitaschek
e7299febd1
Handle audio focus (#198) 2022-11-19 22:52:37 +01:00
Jarne Demeulemeester
e914ee61f1
Set correct preference when switching server 2022-11-19 22:30:52 +01:00
Jarne Demeulemeester
471697b4ae
Fix user detection query 2022-11-19 22:30:22 +01:00
Jarne Demeulemeester
ebcd2a898d
Fix tv server_select_fragment and users_fragment 2022-11-19 22:29:39 +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
Logilype
c8ff6fdda3 Added translation using Weblate (Croatian) 2022-11-10 10:39:24 +01:00
Jarne Demeulemeester
5931ae540b
Use version catalog (#193) 2022-11-09 15:17:28 +01:00
fpapoila
8a74fcd5bd Translated using Weblate (Portuguese)
Currently translated at 97.2% (139 of 143 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/pt/
2022-11-07 19:01:28 +01:00
fpapoila
9737ff1db9 Translated using Weblate (Portuguese)
Currently translated at 20.2% (29 of 143 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/pt/
2022-11-06 15:14:21 +01:00
fpapoila
3933d517e5 Added translation using Weblate (Portuguese) 2022-11-06 15:02:26 +01:00
Jarne Demeulemeester
5403dd3d5a
proguard: keep SettingsNetworkFragment 2022-11-06 00:06:55 +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
2c4fb8d7fe
Upgrade libmpv
Fix #160, #176
2022-11-04 23:55:57 +01:00
Jarne Demeulemeester
0bd1bb30c8
Fix app crash on ErrorDialogFragment.kt configuration change 2022-11-02 11:25:33 +01:00
Jarne Demeulemeester
d3b4fe6ea3
Servers database v2 (#177)
* 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
2022-11-01 21:15:42 +01:00
CommanderRedYT
4ab0a96740 Translated using Weblate (German)
Currently translated at 97.8% (136 of 139 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/de/
2022-10-30 12:55:27 +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
Jcuhfehl
45ccea57af
Improve downloads management (#179)
* 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>
2022-10-29 15:08:43 +02:00
Jarne Demeulemeester
aa0aee4947
Upgrade dependencies
activity 1.6.0 -> 1.6.1
material 1.6.1 -> 1.7.0
navigation 2.5.2 -> 2.5.3
jellyfin 1.3.6 -> 1.3.7
aboutLibraries 10.5.0 -> 10.5.1

Includes some additional changes to the material shape appearance to keep the current look
2022-10-24 23:57:48 +02:00
CodeName393
265d52d566 Translated using Weblate (Korean)
Currently translated at 100.0% (139 of 139 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-10-23 07:19:38 +02:00
kimpig
d100f9f567 Translated using Weblate (Korean)
Currently translated at 100.0% (139 of 139 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-10-21 12:08:21 +02:00
mau671
99e5c82eb8 Translated using Weblate (Spanish)
Currently translated at 100.0% (139 of 139 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es/
2022-10-18 21:08:21 +02:00
mau671
cec3db3b6a Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (139 of 139 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_MX/
2022-10-18 21:08:20 +02:00
mau671
4fd665c29a Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (139 of 139 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_419/
2022-10-18 21:08:20 +02:00
msycn
12bfc48262 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (139 of 139 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hans/
2022-10-17 07:08:20 +02:00
Jarne Demeulemeester
77de164538
Make headers in search and favorite fragments translatable 2022-10-15 00:22:15 +02:00
Jarne Demeulemeester
aecd6dfeed
Upgrade glide to 4.14.2
glide 4.14.1 -> 4.14.2
2022-10-08 15:53:17 +02:00
kimpig
c4aecf20d7 Translated using Weblate (Korean)
Currently translated at 100.0% (138 of 138 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-10-07 15:14:26 +02:00
newton181
555a727221 Translated using Weblate (Spanish)
Currently translated at 100.0% (138 of 138 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es/
2022-10-05 02:14:25 +02:00
Jarne Demeulemeester
6bf3efed77
Make theme settings translatable 2022-10-03 23:51:07 +02:00
Jarne Demeulemeester
9e4c160265
Fix zoom gesture accidentally triggering swipe to seek 2022-10-01 23:13:43 +02:00
Jarne Demeulemeester
46f5277571
Add androidx.activity as a dependency and enable onBackInvokedCallback 2022-10-01 17:37:51 +02:00
Jarne Demeulemeester
50a0ca8a3c
Upgrade dependencies
kotlin 1.7.10 -> 1.7.20
aboutlibraries 10.4.0 -> 10.5.0
glide 4.13.2 -> 4.14.1
2022-10-01 15:44:55 +02:00
kimpig
490f4debcb Translated using Weblate (Korean)
Currently translated at 100.0% (135 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-09-26 07:10:22 +02:00
Jarne Demeulemeester
e40543c0f7
Add series name to episode sheet with navigation (#173)
Also limit the episode name to 3 lines
2022-09-25 23:58:50 +02:00
Yusuf
86ea79b0b4
Fix mpv subtitles cut off when zoomed in (#166)
* 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>
2022-09-25 15:40:01 +02:00
Jarne Demeulemeester
1216322b4a
Upgrade jellyfin to 1.3.6
jellyfin 1.3.5 -> 1.3.6
2022-09-25 12:32:47 +02:00
Jarne Demeulemeester
2c3e78bb4b
Upgrade hilt to 2.44
hilt 2.43.3 -> 2.44
2022-09-24 15:22:20 +02:00
kimpig
0b3564401e Translated using Weblate (Korean)
Currently translated at 100.0% (135 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-09-21 18:10:21 +02:00
newton181
1ab45cdaae Translated using Weblate (Spanish)
Currently translated at 100.0% (135 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es/
2022-09-16 02:01:22 +02:00
newton181
81c7aa0687 Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (135 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_MX/
2022-09-16 02:01:21 +02:00
newton181
b3acbf8c8b Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (135 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_419/
2022-09-16 02:01:21 +02:00
Jarne Demeulemeester
39f3bd2656
Clean up 2022-09-11 16:42:52 +02:00
Jarne Demeulemeester
7c995f14bb
Target API level 33 (#123)
* Target API level 33

compileSdk 32 -> 33
buildToolsVersion 32.0.0 -> 33.0.0
targetSdk 32 -> 33

* Add monochrome icon

* Upgrade agp to 7.3.0-rc01

agp 7.2.2 -> 7.3.0-rc01

* Move namespace to build.gradle
2022-09-11 12:49:46 +02:00
Jarne Demeulemeester
0e3b42d8d1
[TV] Set correct navigation start destination (#161)
* [TV] Fix not loading to the addServerFragment on first launch

* Don't query the database when startDestination has already changed
2022-09-10 17:56:43 +02:00
Jarne Demeulemeester
7d1ee07963
Upgrade core and appcompat
core 1.8.0 -> 1.9.0
appcompat 1.5.0 -> 1.5.1
2022-09-10 00:09:40 +02:00
Jarne Demeulemeester
385f097beb
Fix crash when setting empty image cache size or seek increments 2022-09-08 13:29:26 +02:00
Jarne Demeulemeester
1f56408c14
Upgrade navigation to 2.5.2
navigation 2.5.1 -> 2.5.2
2022-09-08 10:44:07 +02:00
Robert Bridda
5d92751fed Translated using Weblate (Italian)
Currently translated at 99.2% (134 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/it/
2022-09-06 16:34:44 +02:00
CodeName393
1f94995826 Translated using Weblate (Korean)
Currently translated at 100.0% (135 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-09-02 08:34:43 +02:00
Zhang
61ccaf21ef Translated using Weblate (Chinese (Simplified))
Currently translated at 99.2% (134 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hans/
2022-09-02 08:34:43 +02:00
ling
e7186300a5 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.2% (134 of 135 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hans/
2022-09-02 08:34:43 +02:00
Jarne Demeulemeester
efde19586c
Bump versionCode to 12 and versionName to 0.6.1 2022-08-30 23:51:28 +02:00
newton181
9b9f5dd440 Translated using Weblate (Spanish)
Currently translated at 100.0% (134 of 134 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es/
2022-08-30 23:42:03 +02:00
newton181
36d9750bd6 Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (134 of 134 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_MX/
2022-08-30 23:42:03 +02:00
newton181
bec99b4353 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (134 of 134 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_419/
2022-08-30 23:42:03 +02:00
Jarne Demeulemeester
b9874db1e1
Fix mpv external subtitles (#155)
* Fix external subtitles + new libmpv build

* Fix unable to go back to 1x speed
2022-08-30 23:41:55 +02:00
Jarne Demeulemeester
6ed2f2ff7b
Fix player crashing when no PlayerItems are passed 2022-08-30 10:13:02 +02:00
Jarne Demeulemeester
0399ac0bdb
Fix crash using swiping gesture if video is not loaded yet 2022-08-30 09:38:01 +02:00
Jarne Demeulemeester
09189e4f85
Add subtitles settings button to player settings (#153) 2022-08-28 11:48:41 +02:00
Jarne Demeulemeester
08ca3ef860
Fix only showing 1 discovered server 2022-08-27 19:31:04 +02:00
CodeName393
9225d069ae Translated using Weblate (Korean)
Currently translated at 100.0% (132 of 132 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-08-24 09:01:24 +02:00
NeroPcStation
af77f51c9f Translated using Weblate (Polish)
Currently translated at 96.9% (128 of 132 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/pl/
2022-08-24 09:01:24 +02:00
Jarne Demeulemeester
9ce2950ea1
Fix mpv subfont.ttf not loading (#147) 2022-08-23 20:16:45 +02:00
Jarne Demeulemeester
c19350fa36
Small layout improvements (#145)
* Remove unused code

* Ellipsize primary and secondary name in home_episode_item

* Fix play icon color
2022-08-22 23:56:03 +02:00
Yusuf
a5189eb4fa
Fix "pinch to zoom" for MPV (#144)
Closes #22
2022-08-22 19:08:35 +02:00
mau671
17676c0a60 Translated using Weblate (Spanish (Mexico))
Currently translated at 98.4% (130 of 132 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_MX/
2022-08-22 16:49:53 +02:00
mau671
6e4f80123c Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (132 of 132 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/es_419/
2022-08-22 16:49:53 +02:00
Jarne Demeulemeester
1d38e56aa8
Bump versionCode to 11 and versionName to 0.6.0 2022-08-21 22:35:04 +02:00
Jarne Demeulemeester
9813ff3ed7
Fix navigation reset on configuration change
For example when rotating
2022-08-21 22:01:38 +02:00
Jarne Demeulemeester
ae6c5321e8
Specify that WiFi is not required
This way it can run on TVs without WiFi (only ethernet)
2022-08-21 17:09:54 +02:00
Jarne Demeulemeester
8f117ccacb
Disable input elements in LoginFragment and AddServerFragment when loading
Fix a bug when adding a server keeps loading
Fix "Invalid username or password" error message
2022-08-21 16:59:33 +02:00
Jarne Demeulemeester
7b85df6e69
Display discovered servers on AddServerFragment (#143) 2022-08-21 16:45:57 +02:00
Jarne Demeulemeester
5d2409c93e
Display public users on login fragment (#142)
* Add public users to login fragment

* Display user image and hide recyclerview if no public users
2022-08-21 14:22:07 +02:00
Jarne Demeulemeester
37c8247231
Upgrade dependencies
gradle 7.5 -> 7.5.1
appcompat 1.4.2 -> 1.5.0
jellyfin 1.3.4 -> 1.3.5
aboutLibraries 10.3.1 -> 10.4.0
2022-08-20 15:15:08 +02:00
Jarne Demeulemeester
3b7473b7a5
Bring Android TV back (#141)
* 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
2022-08-20 14:41:38 +02:00
CodeName393
bde1e44174 Translated using Weblate (Korean)
Currently translated at 100.0% (131 of 131 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ko/
2022-08-06 17:49:47 +02:00
CodeName393
8882a3836f Added translation using Weblate (Korean) 2022-08-05 16:53:11 +02:00
Jarne Demeulemeester
9fe014f09f
Upgrade hilt to 2.43.2
hilt 2.43.1 -> 2.43.2
2022-08-05 11:03:06 +02:00
Jarne Demeulemeester
5bdcd0c56a
Upgrade jellyfin sdk to 1.3.4
jellyfin 1.3.3 -> 1.3.4
2022-08-04 15:54:50 +02:00
Jarne Demeulemeester
5eb101323b
Enable Material You Dynamic colors (#138) 2022-08-03 09:21:01 +02:00
Jarne Demeulemeester
3c9d1dda73
Upgrade dependencies
core-splashscreen 1.0.0-rc01 -> 1.0.0
lifecycle 2.5.0 -> 2.5.1
navigation 2.5.0 -> 2.5.1
room 2.4.2 -> 2.4.3
jellyfin -> 1.3.2 -> 1.3.3
hilt 2.43 -> 2.43.1
2022-07-29 23:41:35 +02:00
Yusuf
53d1720ad0
Allow seeking video by swiping or tapping (#132)
* Allow seeking in players by tapping

* Allow seeking in players by swiping horizontally

* Small cleanup

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2022-07-29 18:48:47 +02:00
WaspEma
4a7f039664 Translated using Weblate (Italian)
Currently translated at 99.2% (128 of 129 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/it/
2022-07-27 08:49:43 +02:00
Jarne Demeulemeester
2866532e28
Upgrade ExoPlayer to 2.18.1
exoplayer 2.18.0 -> 2.18.1
2022-07-25 23:50:38 +02:00
Jarne Demeulemeester
cc0ab920fd
Move servers check to Activity (#136)
Remove MainViewModel
Change startDestination when no servers are found
2022-07-25 13:44:15 +02:00
Jarne Demeulemeester
ba584473dd
Upgrade jellyfin sdk to 1.3.2
jellyfin 1.3.1 -> 1.3.2
2022-07-25 12:57:58 +02:00
Jarne Demeulemeester
8552f0c469
Refactor the lifecycle state (#135) 2022-07-25 12:57:09 +02:00
creepen123
932ea56335 Translated using Weblate (Russian)
Currently translated at 94.5% (122 of 129 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ru/
2022-07-22 17:49:41 +02:00
Jarne Demeulemeester
a01c92d89c
Upgrade hilt to 2.43
hilt 2.42 -> 2.43
2022-07-22 17:06:52 +02:00
Jarne Demeulemeester
ec6366508b
Layout improvements for larger screens (#134)
* 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
2022-07-22 16:29:25 +02:00
creepen123
08582e7680 Translated using Weblate (Russian)
Currently translated at 58.1% (75 of 129 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/ru/
2022-07-21 17:18:34 +02:00
creepen123
3639e161bf Added translation using Weblate (Russian) 2022-07-21 16:44:26 +02:00
Jiahao Lu
e2212e9554 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (129 of 129 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hans/
2022-07-14 18:01:26 +02:00
hikaps
4696eb0d68
Add Network security config to trust user added CA (#130)
Co-authored-by: hikaps <n>
2022-07-13 19:14:16 +02:00
DaFray31
45b3e26a07 Translated using Weblate (French)
Currently translated at 96.8% (125 of 129 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/fr/
2022-07-11 23:01:25 +02:00
wangsleepingstar
6dee40a516 Translated using Weblate (Chinese (Simplified))
Currently translated at 96.8% (125 of 129 strings)

Translation: Findroid/Android
Translate-URL: https://weblate.jdtech.dev/projects/findroid/android/zh_Hans/
2022-07-11 23:01:25 +02:00
Jarne Demeulemeester
001f377570
Bump versionCode to 10 and versionName to 0.5.0 2022-07-10 17:01:22 +02:00
Jarne Demeulemeester
6c852c938f
Update some strings 2022-07-10 16:58:54 +02:00
Jarne Demeulemeester
fded5aa4b3
Remove some unused files 2022-07-09 16:21:11 +02:00
Jarne Demeulemeester
6bb784b2fe
Add error handling to device name updating
This fixes a crash
2022-07-09 13:57:25 +02:00
Jarne Demeulemeester
f46010eba2
Upgrade jellyfin-sdk to 1.3.1
jellyfin 1.3.0 -> 1.3.1

Minimum Jellyfin server 10.8.0 -> 10.8.1
2022-07-06 10:20:20 +02:00
Jarne Demeulemeester
e6add5d47c
Fix mpv crash 2022-07-05 09:08:30 +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
22012873a0
Switch to new MenuProvider api 2022-07-03 15:21:29 +02:00
Jarne Demeulemeester
8e4c8d1f13
Use repeatOnLifecycle api in MainActivity 2022-07-03 14:57:46 +02:00
Jarne Demeulemeester
2b2041c569
Disable the connect and login buttons when the app is connecting / logging in 2022-07-03 14:29:23 +02:00
Jarne Demeulemeester
78458d661a
Upgrade dependencies
lifecycle 2.4.1 -> 2.5.0
navigation 2.4.2 -> 2.5.0
aboutlibraries 10.3.0 -> 10.3.1
2022-07-03 14:12:29 +02:00
Jarne Demeulemeester
bcdada538d
Upgrade ExoPlayer to 2.18 (#126)
* Upgrade ExoPlayer to 2.18

* Change the position polling from every 2 to every 5 sec

* Make internalMediaItems non-nullable

* Clean up mpv track names

* Reduce explayer ffmpeg extension size by not including all decoders

Removed decoders vorbis, opus, flac, pcm_mulaw, pcm_alaw, mp3, aac because these are already supported by Android.

* Clean up preferredLanguage preferences
2022-07-03 14:02:32 +02:00
Jarne Demeulemeester
6f0d5a13a8
Add support for external subtitles (#118)
* Add support for external subtitles in exoplayer

* Enable ASS/SSA external subtitles

* Enable VTT external subtitles

* Clean up

* Fix srt and vtt

Jellyfin currently converts vtt to srt without changing the codec tag. This makes the player unable to decode the subs because it thinks the file is vtt while in fact it is srt.

* Fix for vtt subs

Jellyfin return a srt stream when it should return a vtt stream
2022-07-02 17:00:00 +02:00