Commit graph

1102 commits

Author SHA1 Message Date
NeroPcStation
7f2e962c68 chore(translate): (Polish)
Currently translated at 100.0% (178 of 178 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pl/
2023-08-16 06:27:54 +02:00
Teo Baranga
373864ba46
fix: episode indicator wrapping on second line (#468)
Fixes #445

The episode indicator background was constrained to a 24dp box. If this box could not contain the count, then the count would wrap onto a new line.

The proposed solution is to use a rounded rectangle as the background instead. This can then expand into a chip as needed to accommodate larger numbers without wrapping.
2023-08-15 11:57:09 +02:00
Jcuhfehl
c2d499821f
fix: playback sync issue (#465) 2023-08-15 11:41:37 +02:00
Cd16d
d28e80d68e
feat: picture-in-picture (#277)
* add pip

* fixed OnResume() OnStop()
add picture in picture button
add pip settings

* fixed sourceRectHint
add aspectRatio

* fix import

* improve hide playerControls

* add onNewIntent()

* Home button/gesture settings

* add summary

* add GESTURE_EXCLUSION_AREA_SIDE

* remove if else in sourceRectHint
fix onStop() behavior

* fix behavior when using pip button, now go home

* test

* fix onStop()

* fix: mpv aspect ratio

* fix when in PiP mode and starting new playback

* refactor: pip implementation

Remove option to disable pip button, always show the button when pip is supported
Remove the option to completely disable pip
Format using ktlint

* fix when in pip mode and play a new video

* fix recent app behavior

* lint

* Some adjustments

* fix: Aspect ratio is too extreme

* fix: Activity recreation

* fix merge issues

* fix merge issues

* ktlintFormat

* Add Picture in Picture

* fix

* fix sourceRectHint, updateZoomMode before entering pip

* lint

* fix: disable pip when player is locked

* lint

* lint

* fix: sourceRectHint

* fix: replace media items in mpv

* fix: don't show skip intro button in pip

* chore: remove `android:resizeableActivity` from manifest since the default is already `true`

* refactor: remove option to force 16:9 aspect ratio

* refactor: update strings

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-08-14 22:47:42 +02:00
Alehaaaa
1911e524a9 chore(translate): (Spanish)
Currently translated at 100.0% (15 of 15 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/es/
2023-08-14 11:27:54 +02:00
Alehaaaa
89ce8e4591 chore(translate): (Spanish (Mexico))
Currently translated at 100.0% (15 of 15 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/es_MX/
2023-08-14 11:27:54 +02:00
Alehaaaa
10660e6172 chore(translate): (Spanish (Latin America))
Currently translated at 100.0% (15 of 15 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/es_419/
2023-08-14 11:27:54 +02:00
Alehaaaa
3bdfd239fd chore(translate): (Spanish)
Currently translated at 100.0% (175 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es/
2023-08-14 11:27:54 +02:00
Alehaaaa
e2ff2b2048 chore(translate): (Spanish (Mexico))
Currently translated at 100.0% (175 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_MX/
2023-08-14 11:27:54 +02:00
Alehaaaa
f699f4491e chore(translate): (Spanish (Latin America))
Currently translated at 100.0% (175 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/es_419/
2023-08-14 11:27:53 +02:00
Anil Kumar Beesetti
8992646090
refactor: use WindowInsetsControllerCompat instead of deprecated methods (#302)
* refactor: remove deprecated methods to hide system ui

* fix: action bar reappear after changing the brightness

* lint: run ktlintFormat

* refactor: remove sdk check

* fix: system bars stay visible after closing dialog

* fix: add player theme to set navigationbar and statusbar colors to transparent

* fix: draw behind navigationbar and statusbar

* refactor: remove swipeToShowStatusBars extensions

Remove fix for status bar reappearing on LineageOS after changing brightness with gesture.
This can always be added back when official Android version from manufacturers also need this fix.

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-08-13 22:44:34 +02:00
NickSkier
6b81f1fb1c chore(translate): (Russian)
Currently translated at 100.0% (15 of 15 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/ru/
2023-08-13 02:27:54 +02:00
NickSkier
f79f4495a4 chore(translate): (Russian)
Currently translated at 100.0% (175 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ru/
2023-08-13 02:27:53 +02:00
renovate[bot]
9a65ad553c
chore(deps): update androidx.navigation to v2.7.0 (#463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 23:58:46 +02:00
renovate[bot]
2439238437
chore(deps): update dependency org.jlleitschuh.gradle.ktlint to v11.5.1 (#460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 22:09:08 +02:00
NickSkier
908cbd63fe chore(translate): (Russian)
Currently translated at 100.0% (175 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ru/
2023-08-10 12:27:53 +02:00
renovate[bot]
0a796ce04b
chore(deps): update dependency com.google.devtools.ksp to v1.9.0-1.0.13 (#459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 10:34:49 +02:00
jarnedemeulemeester
3c30a24ff7
fix: positional arguments in storage strings 2023-08-01 12:17:43 +02:00
jarnedemeulemeester
1183ae796c
refactor: remove databinding from base_item, collection_item, episode_item, home_episode_item, person_item, season_header, user_item and user_list_item
Also completely disable databinding in app:phone
2023-08-01 09:16:04 +02:00
lzyhenniu
b81025b847 chore(translate): (Chinese (Simplified))
Currently translated at 100.0% (15 of 15 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/zh_Hans/
2023-08-01 07:27:53 +02:00
Jarne Demeulemeester
f8e6453ec3
refactor: remove databinding from favorite_section, next_up_section and view_item 2023-07-31 23:58:01 +02:00
Jarne Demeulemeester
6ffc761972
refactor(server_item): remove databinding 2023-07-31 23:46:44 +02:00
Jarne Demeulemeester
012a597157
refactor(server_address_list_item): remove databinding 2023-07-31 23:44:21 +02:00
Jarne Demeulemeester
5a8b75194d
refactor(discovered_server_item): remove databinding 2023-07-31 23:37:38 +02:00
Jarne Demeulemeester
270f7decaa
refactor(PlayerActivity): replace livedata with UiState StateFlow 2023-07-31 23:21:41 +02:00
jarnedemeulemeester
a4dc94b310
refactor: get rid of databinding in ServerSelectFragment 2023-07-31 17:34:01 +02:00
jarnedemeulemeester
16d54781b1
chore: remove androidx-recyclerview-selection as it is unused 2023-07-31 17:31:04 +02:00
Jarne Demeulemeester
0717103895
build: up min sdk to 28 (#456)
* build: bump min sdk to 28

* refactor: remove unnecessary checks

* refactor: remove unused import
2023-07-30 16:08:36 +02:00
Jarne Demeulemeester
75ea33fd33
feat: target sdk 34 (#405) 2023-07-30 14:50:58 +02:00
kimpig
0902172965 chore(translate): (Korean)
Currently translated at 100.0% (15 of 15 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/ko/
2023-07-29 18:27:53 +02:00
kimpig
dc7498bc14 chore(translate): (Korean)
Currently translated at 98.2% (172 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ko/
2023-07-29 18:27:53 +02:00
mustafadakhel
d86b162d4b
feat: add double tap ripple animation (#401)
* Add double tap seeking animation

* Remove unnecessary formatting changes

* Order imports correctly

* Remove needless blank line

* feat: add ripple for playback (play / pause)

* refactor: clean up

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-07-29 15:47:36 +02:00
Daniel Jacob Chittoor
57c1e85b11
feat: add play/pause functionality to onDoubleTap (#450)
* feat: Add seek and play/pause functionality to onDoubleTap

This patch enhances the `onDoubleTap` method within the media player
component. It introduces a split-screen layout where the player view is
divided into three equal areas (in the ratio of 2:1:2).

1. Leftmost Area: When double-tapped, it seeks the media playback
backward by the defined seek increment
(`appPreferences.playerSeekBackIncrement`).

2. Middle Area: A double-tap in this area toggles the play/pause state
of the player. If the player is currently playing, it will be paused,
and if it's paused, it will be resumed.

3. Rightmost Area: When double-tapped, it seeks the media playback
forward by the specified seek increment
(`appPreferences.playerSeekForwardIncrement`).

* refactor: inline some variables and put x position inside when statement

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-07-29 13:29:05 +02:00
Jarne Demeulemeester
0efec85953
chore: remove ktx dependencies when possible 2023-07-29 00:38:14 +02:00
renovate[bot]
f02dc2bbdf
fix(deps): update dependency androidx.recyclerview:recyclerview to v1.3.1 (#449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-28 18:09:53 +02:00
renovate[bot]
f7519fc0fb
fix(deps): update dependency androidx.paging:paging-runtime-ktx to v3.2.0 (#448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-28 18:07:16 +02:00
renovate[bot]
c03c54c6ce
chore(deps): update android.plugin to v8.1.0 (#447)
* chore(deps): update android.plugin to v8.1.0

* fix: configure android plugins

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jarnedemeulemeester <jarnedemeulemeester@gmail.com>
2023-07-28 18:03:29 +02:00
teddy74eva
a5db588c17 chore(translate): (Polish)
Currently translated at 100.0% (15 of 15 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/pl/
2023-07-25 00:27:53 +02:00
renovate[bot]
e6842087eb
chore(deps): update dependency com.google.devtools.ksp to v1.9.0-1.0.12 (#444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 14:13:04 +02:00
Simon Scholz
cecaadd1af chore(translate): (Chinese (Simplified))
Currently translated at 100.0% (175 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/zh_Hans/
2023-07-20 05:27:52 +02:00
renovate[bot]
a867f5ced7
chore(deps): update aboutlibraries to v10.8.3 (#442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 11:22:20 +02:00
renovate[bot]
fd36bcffc2
chore(deps): update hilt to v2.47 (#441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-15 12:32:09 +02:00
Matteo S
a30c43b849 chore(translate): (Romanian)
Currently translated at 66.8% (117 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/ro/
2023-07-12 01:27:52 +02:00
teddy74eva
9c6da73e51 chore(translate): (Polish)
Currently translated at 93.3% (14 of 15 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/pl/
2023-07-12 01:27:52 +02:00
teddy74eva
3220ccd699 chore(translate): (Polish)
Currently translated at 100.0% (175 of 175 strings)

Translation: Findroid/core
Translate-URL: https://weblate.jdtech.dev/projects/findroid/core/pl/
2023-07-12 01:27:52 +02:00
renovate[bot]
70be09696f
chore(deps): update dependency gradle to v8.2.1 (#436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 15:11:59 +02:00
renovate[bot]
149c64e956
chore(deps): update aboutlibraries (#434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 15:06:37 +02:00
Jarne Demeulemeester
763c11f590
refactor: clean up CollectionType 2023-07-11 15:03:40 +02:00
Matteo S
3960ab65e6 chore(translate): add (Romanian) 2023-07-10 21:35:25 +02:00
Natanel Shitrit
096dd25a94
Make external media follow app preferences (#433) 2023-07-09 15:19:39 +02:00