Commit graph

348 commits

Author SHA1 Message Date
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
CakesTwix
7c5cc8c7c4 chore(translate): add (Ukrainian) 2023-06-19 14:58:06 +02:00
Bryce Wilson
08d04f437d
fix: spelling error in remove address dialog (#413) 2023-06-19 08:44:59 +02:00
Jarne Demeulemeester
1cc780d3c9
lint: newline at end of CoreExtensions.kt 2023-06-18 12:17:28 +02:00
Jarne Demeulemeester
c1819406cf
refactor: use CollectionType in LibraryFragment 2023-06-18 12:10:58 +02:00
newton181
0238aaebc3 chore(translate): (Spanish (Mexico))
Currently translated at 100.0% (187 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_MX/
2023-06-16 23:27:51 +02:00
newton181
b7ac3075ed chore(translate): (Spanish (Mexico))
Currently translated at 91.9% (172 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_MX/
2023-06-15 22:27:51 +02:00
newton181
e1db40ddf5 chore(translate): (Spanish (Latin America))
Currently translated at 100.0% (187 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_419/
2023-06-15 22:27:51 +02:00
Jens De Leersnyder
3e6f2a9d12 chore(translate): (Dutch)
Currently translated at 98.9% (185 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/nl/
2023-06-09 17:27:51 +02:00
lzyhenniu
b4c7dbbc95 chore(translate): (Chinese (Traditional))
Currently translated at 97.8% (183 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hant/
2023-06-05 20:27:51 +02:00
Nicolas Boyer
e93edf12cc chore(translate): (French)
Currently translated at 100.0% (187 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/fr/
2023-06-05 20:27:51 +02:00
Jarne Demeulemeester
1399c77b5d
refactor: switch to coil for image loading (#388) 2023-05-29 16:44:03 +02:00
Jarne Demeulemeester
3fc72bf8b3
fix: move ic_unlock and rounded_corner to main 2023-05-27 12:46:15 +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
WrobotGames
5aad378132 chore(translate): (Dutch)
Currently translated at 94.1% (176 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/nl/
2023-05-26 00:27:51 +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
NickSkier
12b819bc7a chore(translate): (Russian)
Currently translated at 100.0% (187 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ru/
2023-05-23 22:27:51 +02:00
NickSkier
7f232a1a94 chore(translate): (German)
Currently translated at 99.4% (186 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/de/
2023-05-23 22:27:51 +02:00
Max Heilmann
18382a2aa2 chore(translate): (German)
Currently translated at 99.4% (186 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/de/
2023-05-23 22:27:51 +02:00
cd16b
37c9908564 chore(translate): (Italian)
Currently translated at 100.0% (189 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/it/
2023-05-22 00:14:45 +02:00
Jarne Demeulemeester
3f8f657573
feat: always show extended episode title
Remove the option to display extended title
2023-05-22 00:14:33 +02:00
cd16b
3ad08899e0 chore(translate): (Italian)
Currently translated at 100.0% (189 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/it/
2023-05-21 21:27:50 +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
Pysta
d6810c0f42 chore(translate): (Slovak)
Currently translated at 100.0% (189 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/sk/
2023-05-20 15:27:50 +02:00
lzyhenniu
276548294e chore(translate): (Yue (yue))
Currently translated at 10.5% (20 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/yue/
2023-05-19 08:27:51 +02:00
cd16b
233e0dfa1e chore(translate): (Italian)
Currently translated at 100.0% (189 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/it/
2023-05-19 08:27:51 +02:00
lzyhenniu
e95ab8c4bf chore(translate): (Chinese (Simplified))
Currently translated at 100.0% (189 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-05-19 08:27:50 +02:00
Ido
bde25f0826 chore(translate): (Hebrew)
Currently translated at 94.7% (179 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/he/
2023-05-16 21:27:51 +02:00
Rogério Mendes
f49665e28f chore(translate): (Portuguese (Brazil))
Currently translated at 100.0% (189 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-05-16 21:27:50 +02:00
Mario
7d5dca2b4c chore(translate): (Spanish)
Currently translated at 100.0% (189 of 189 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-05-16 21:27:50 +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
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
Jarne Demeulemeester
8000601cab
fix: string format issue 2023-05-14 17:15:42 +02:00
Adorján
2e59d45cff chore(translate): (Hungarian)
Currently translated at 98.3% (184 of 187 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/hu/
2023-05-14 16:29:43 +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
Pysta
815e338ddc chore(translate): (Slovak)
Currently translated at 100.0% (186 of 186 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/sk/
2023-05-14 11:19:34 +02:00
NeroPcStation
ef41247864 chore(translate): (Polish)
Currently translated at 100.0% (186 of 186 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pl/
2023-05-14 11:19:34 +02:00
Yash Garg
69e3afc426
feat: add per app language for devices running Android 13+ (#353) 2023-05-14 11:19:31 +02:00
Yash Garg
1ac65ae817
fix: amoled theme not taking M3 colors (#362)
* fix: amoled theme not taking M3 colors

* fix: ktlint issue in `JellyfinRepositoryOfflineImpl`
2023-05-13 21:56:46 +02:00
Jarne Demeulemeester
219d0c033a
refactor: remove unused StorageViewModel and StorageItem 2023-05-13 21:49:48 +02:00
Jarne Demeulemeester
b816a2d460
perf: only request stream url when preparing player items 2023-05-13 21:34:05 +02:00
jarnedemeulemeester
765a31838e
fix: info text overlapping in movie and show fragments
Closes: #358
2023-05-13 11:27:24 +02:00
NickSkier
bc6c1d4db2 chore(translate): (Russian)
Currently translated at 100.0% (186 of 186 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ru/
2023-05-12 02:27:51 +02:00
newton181
6b83c6352d chore(translate): (Spanish)
Currently translated at 100.0% (186 of 186 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-05-12 02:27:50 +02:00
newton181
82f368a6cc chore(translate): (Spanish (Mexico))
Currently translated at 82.2% (153 of 186 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_MX/
2023-05-12 02:27:50 +02:00
newton181
1d1a45fcd5 chore(translate): (Spanish (Latin America))
Currently translated at 100.0% (186 of 186 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_419/
2023-05-12 02:27:50 +02:00
Weblate
1de8f4ffba Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/
2023-05-11 00:27:50 +02:00
Rogério Mendes
e5a0cbefc9 chore(translate): (Portuguese (Brazil))
Currently translated at 100.0% (186 of 186 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-05-11 00:27:50 +02:00
Mario
00b34e38a7 chore(translate): (Spanish)
Currently translated at 97.3% (181 of 186 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-05-11 00:27:50 +02:00
jarnedemeulemeester
8a96588a88
fix: show indexNumberEnd 2023-05-08 23:51:31 +02:00
Rogério Mendes
f074bb6e3c chore(translate): (Portuguese (Brazil))
Currently translated at 100.0% (184 of 184 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-05-08 17:27:50 +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
ax4
ca28c5a7ec chore(translate): (Chinese (Simplified))
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-04-16 20:27:49 +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
Pysta
0e2a000b8c chore(translate): (Slovak)
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/sk/
2023-04-10 09:27:49 +02:00
Ido
645c1c5518 chore(translate): (Hebrew)
Currently translated at 89.1% (148 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/he/
2023-03-29 18:27:49 +02:00
Ido
137a860d6c chore(translate): add (Hebrew) 2023-03-28 14:59:34 +02:00
NickSkier
bb65b60b34 chore(translate): (Russian)
Currently translated at 99.3% (165 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ru/
2023-03-18 03:27:49 +01:00
Bradford Zhang
09cc9b3759
chore(translate): (Chinese (Simplified)) (#316)
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-03-13 07:54:20 +01:00
DualScorch
dacf44f9b9 chore(translate): (Swedish)
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/sv/
2023-03-12 15:27:49 +01:00
MazeWave
ce201b3ffd chore(translate): (French)
Currently translated at 93.3% (155 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/fr/
2023-03-12 15:27:49 +01:00
Bradford Zhang
8b326af6b2 chore(translate): (Chinese (Simplified))
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-03-12 15:27:49 +01:00
DualScorch
6c2640961f chore(translate): add (Swedish) 2023-03-11 13:55:47 +01:00
cd16b
de5fe13c11 chore(translate): (Italian)
Currently translated at 99.3% (165 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/it/
2023-03-02 23:01:28 +01:00
Rogério Mendes
6f60ec3629 chore(translate): (Portuguese (Brazil))
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-02-28 19:01:23 +01:00
NeroPcStation
be7d130f95 chore(translate): (Polish)
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pl/
2023-02-26 23:01:23 +01:00
Simon Scholz
0fc5a5c0b9 chore(translate): (Chinese (Simplified))
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-02-25 12:01:23 +01:00
Mario
c66b10067f chore(translate): (Spanish)
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-02-25 12:01:23 +01:00
Rogério Mendes
c3aea1331d chore(translate): (Portuguese (Brazil))
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-02-23 11:32:49 +01:00
W113565456
f3ec002faf chore(translate): (German)
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/de/
2023-02-23 11:32:49 +01:00
Mario
81a97ae8e9 chore(translate): (Spanish)
Currently translated at 100.0% (166 of 166 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-02-23 11:32:49 +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
WrobotGames
c5df381a80 chore(translate): (Dutch)
Currently translated at 93.9% (154 of 164 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/nl/
2023-02-20 22:01:23 +01:00
cd16b
45220f4108 Translated using Weblate (Italian)
Currently translated at 99.3% (163 of 164 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/it/
2023-02-18 23:01:23 +01:00
NeroPcStation
eb18f006e3 Translated using Weblate (Polish)
Currently translated at 100.0% (164 of 164 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pl/
2023-02-18 23:01:23 +01:00
newton181
b8cf1da39c Translated using Weblate (Spanish)
Currently translated at 100.0% (164 of 164 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-02-18 23:01:23 +01:00
Rogério Mendes
d6bada4fcc Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (164 of 164 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-02-17 09:44:06 +01:00
newton181
9fe3337af8 Translated using Weblate (Spanish)
Currently translated at 96.9% (159 of 164 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-02-17 09:44:06 +01:00
Pysta
f261b6d6e1 Translated using Weblate (Slovak)
Currently translated at 100.0% (164 of 164 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/sk/
2023-02-15 16:01:23 +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
Rogério Mendes
49cf26e543 Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.7% (162 of 164 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-02-13 16:01:23 +01:00
Mylloon
978aed5498 Translated using Weblate (French)
Currently translated at 94.4% (153 of 162 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/fr/
2023-02-11 15:03:51 +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
Simon Scholz
6303673bd0 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (162 of 162 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-02-10 14:59:16 +01:00
Simon Scholz
613e5a943f
Update strings.xml (#283)
Redundant periods have been removed to standardise translation.
2023-02-10 14:59:13 +01:00
cd16b
4ed1e2a59f Translated using Weblate (Italian)
Currently translated at 99.3% (161 of 162 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/it/
2023-02-09 16:01:23 +01:00
NeroPcStation
0e083ca8b7 Translated using Weblate (Polish)
Currently translated at 100.0% (162 of 162 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pl/
2023-02-09 16:01:23 +01:00
Rogério Mendes
4281fb99fc Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.7% (160 of 162 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-02-09 16:01:23 +01:00
Weblate
5b1830c88b Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/
2023-02-07 22:24:20 +01:00
WrobotGames
205eb02420 Translated using Weblate (Dutch)
Currently translated at 98.7% (152 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/nl/
2023-02-07 22:24:20 +01:00
ManuXD32
5cdf8b78c6 Translated using Weblate (Spanish)
Currently translated at 100.0% (154 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-02-07 22:24:20 +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
cd16b
b74c313a4e Translated using Weblate (Italian)
Currently translated at 100.0% (154 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/it/
2023-02-06 13:01:09 +01:00
MrDog210
f8b1bf774a Translated using Weblate (Slovenian)
Currently translated at 86.3% (133 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/sl/
2023-02-06 13:01:09 +01:00
NeroPcStation
70b42aec17 Translated using Weblate (Polish)
Currently translated at 100.0% (154 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pl/
2023-02-06 13:01:09 +01:00
Xavier Xiong
73c162f16f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (154 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-02-06 13:01:09 +01:00
Rogério Mendes
b798d376f9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.7% (152 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-02-06 13:01:09 +01:00
Pysta
c991c0e5c5 Translated using Weblate (Slovak)
Currently translated at 100.0% (154 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/sk/
2023-02-06 13:01:09 +01:00
Meguro
f7ef3b7a8d Translated using Weblate (Vietnamese)
Currently translated at 100.0% (154 of 154 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/vi/
2023-02-06 13:01:09 +01:00
MrDog210
c62ed77ca8 Added translation using Weblate (Slovenian) 2023-02-05 11:50:15 +01:00
Yash Garg
725cc8af79
refactor(m3): use a global preference style to prevent adding widgetLayout (#270) 2023-02-05 01:19:31 +01:00
Pysta
66d6558be7 Added translation using Weblate (Slovak) 2023-02-04 10:54:44 +01:00
Rogério Mendes
d8ba6a6d17 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-02-04 01:14:02 +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
Yash Garg
d17cfcde95
feat(ui): use material3 overlay for styling dialogs and preference switches (#268) 2023-02-03 23:16:34 +01:00
Alexander Charykov
6e120a4927 Translated using Weblate (Russian)
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ru/
2023-02-03 15:01:09 +01:00
Aqr-K
6e788b17ca Translated using Weblate (Yue)
Currently translated at 11.8% (18 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/yue/
2023-02-01 04:01:14 +01:00
Aqr-K
17effe5112 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hant/
2023-02-01 04:01:13 +01:00
NickSkier
e9c03209d0 Translated using Weblate (Russian)
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ru/
2023-02-01 04:01:13 +01:00
Rogério Mendes
10e610289a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-02-01 04:01:13 +01:00
IlIllIIllIlIIlIlIlII | Gero
c3e2fa4a9b Translated using Weblate (German)
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/de/
2023-02-01 04:01:13 +01:00
Aqr-K
c91dc1b4b6 Added translation using Weblate (Yue) 2023-01-31 22:10:16 +01:00
efflux
92181a5bc8 Translated using Weblate (Hungarian)
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/hu/
2023-01-30 21:39:02 +01:00
IlIllIIllIlIIlIlIlII | Gero
4902324273 Translated using Weblate (German)
Currently translated at 95.3% (145 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/de/
2023-01-30 21:39:02 +01:00
CommanderRedYT
0086d310f5 Translated using Weblate (German)
Currently translated at 95.3% (145 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/de/
2023-01-30 21:39:02 +01:00
Ruben Delaet
6b9823d102 Translated using Weblate (German)
Currently translated at 95.3% (145 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/de/
2023-01-30 21:39:02 +01:00
Weblate
9b52c403a9 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/
2023-01-30 20:13:01 +01:00
Meguro
c8f5313969 Translated using Weblate (Vietnamese)
Currently translated at 97.3% (148 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/vi/
2023-01-30 20:13:01 +01:00
NeroPcStation
6ec10ef4f7 Translated using Weblate (Polish)
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pl/
2023-01-30 20:13:01 +01:00
Rogério Mendes
2ae85c5aa5 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-01-30 20:13:01 +01:00
Ruben Delaet
5ed3b04160 Translated using Weblate (German)
Currently translated at 87.5% (133 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/de/
2023-01-30 20:13:01 +01:00
Ruben Delaet
7d2df1cfe2 Translated using Weblate (Dutch)
Currently translated at 98.6% (150 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/nl/
2023-01-30 20:13:01 +01:00
Meguro
1163a6a97f Added translation using Weblate (Vietnamese) 2023-01-30 02:47:48 +01:00
Simon Hung
6b5995d0f2 Translated using Weblate (Chinese (Traditional))
Currently translated at 92.7% (141 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hant/
2023-01-29 18:01:13 +01:00
Simon Scholz
8df4a728c3 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-01-29 18:01:13 +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
CodeName393
98f3125eb8 Translated using Weblate (Korean)
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ko/
2023-01-26 23:01:29 +01:00
Aqr-K
c4355fd304 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-01-26 23:01:29 +01:00
cd16b
bcf1da1431 Translated using Weblate (Italian)
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/it/
2023-01-24 11:01:29 +01:00
Rogério Mendes
8aa1125b67 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-01-24 11:01:29 +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
Simon Scholz
85001be42b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-01-20 20:01:29 +01:00
Rogério Mendes
a8a374e66d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pt_BR/
2023-01-20 20:01:29 +01:00
newton181
613c93d9bf Translated using Weblate (Spanish)
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-01-20 20:01:29 +01:00
newton181
6435516c57 Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_MX/
2023-01-20 20:01:29 +01:00
newton181
49b25a5c13 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (152 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_419/
2023-01-20 20:01:29 +01:00
Jarne Demeulemeester
85e1175a30
Switch to android defined black and white 2023-01-19 00:37:27 +01:00
kimpig
afce1873d1 Translated using Weblate (Korean)
Currently translated at 99.3% (151 of 152 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ko/
2023-01-17 23:23:28 +01:00
Jarne Demeulemeester
ce05a6c2cf
Restore Portuguese (Brazil) translations 2023-01-17 23:23:14 +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