Commit graph

17 commits

Author SHA1 Message Date
Jarne Demeulemeester
7b5745acf1
fix(mpv): memory leak, stuck loading icon, anr, deprecated methods (#273)
* fix: memory leak and stuck loading icon

Also replace deprecated audio focus methods

* fix: use global scope for posting playback stopped

This fixes ANRs that people are having when leaving the player
2023-02-05 01:15:43 +01:00
Pysta
dff297513a Added translation using Weblate (Slovak) 2023-02-04 13:16:56 +01:00
cd16b
7b6c3f8dce Translated using Weblate (Italian)
Currently translated at 100.0% (5 of 5 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/it/
2023-02-03 15:01:09 +01:00
NickSkier
8d32260d61 Translated using Weblate (Russian)
Currently translated at 100.0% (5 of 5 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/ru/
2023-02-01 04:01:13 +01:00
Jcuhfehl
776ba29e69
Fix resuming streamed content (#257)
* Fix resuming streamed content

* Remove debug log statement
2023-01-31 21:19:06 +01:00
efflux
e899a977ab Translated using Weblate (Hungarian)
Currently translated at 100.0% (5 of 5 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/hu/
2023-01-30 21:39:02 +01:00
Meguro
ef25909f4f Translated using Weblate (Vietnamese)
Currently translated at 100.0% (5 of 5 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/vi/
2023-01-30 20:13:01 +01:00
Meguro
232c678b4d Added translation using Weblate (Vietnamese) 2023-01-30 15:59:24 +01:00
Jarne Demeulemeester
0f03261ecc
Enable HLS playback in ExoPlayer (#254) 2023-01-28 22:46:13 +01:00
Jarne Demeulemeester
352a418d20
Follow "Play next episode automatically" from user playback settings (#245)
* Add getUserConfiguration and use it in episodeToPlayerItems

* Add a TODO to move user config to separate class
2023-01-28 15:21:26 +01:00
Jarne Demeulemeester
6e5e3f0788
Fix mpv player crashing on exiting the player when the file has finished playing (#251) 2023-01-28 14:44:48 +01:00
Jcuhfehl
8c17259072
Fix mpv in downloads (#247)
* Fix mpv in downloads

* Don't use wildcard imports

---------

Co-authored-by: Jarne Demeulemeester <jarnedemeulemeester@gmail.com>
2023-01-27 23:05:50 +01:00
Jcuhfehl
12e743afcd
Fix playback progress on downloads when playback has already started (#243)
* Fix playback progress when playback has already started

Before, if an item had playback progress when the download was started, the player would jump to the end of the item immediately when playing from downloads.

* Fix syncing playback progress when remote is ahead

* Fix playback progress when playback has already started

Before, if an item had playback progress when the download was started, the player would jump to the end of the item immediately when playing from downloads.

* Fix syncing playback progress when remote is ahead
2023-01-26 19:28:45 +01:00
cd16b
960d3ddc26 Translated using Weblate (Italian)
Currently translated at 100.0% (5 of 5 strings)

Translation: Findroid/player:video
Translate-URL: https://weblate.jdtech.dev/projects/findroid/playervideo/it/
2023-01-24 11:01:29 +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
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