Commit graph

4410 commits

Author SHA1 Message Date
Stypox
7a57485107 Merge pull request #9306 from Stypox/target-api-33
Set compileSdk and targetSdk to 33 (Android 13)
2022-12-31 14:49:30 +01:00
Isira Seneviratne
303b7d5c99 Use ListAdapter in NotificationModeConfigAdapter. 2022-12-29 06:14:46 +05:30
Stypox
97892f04d3 Merge pull request #8895 from Isira-Seneviratne/SparseArrayCompat
Use SparseArrayCompat.
2022-12-28 20:37:05 +01:00
Tobi
27369142aa Merge pull request #9488 from Jared234/9353_night_theme_selection
Disabling night theme selection if auto theme is not used
2022-12-25 22:19:02 +01:00
evermind
5469887830 Support audio only background for services only supporting video streams
Some services may only have video streams and no separate audio streams available.
This commit will add audio background playback support for those services.
It uses the video source as audio source for background playback.
2022-12-17 21:17:42 +01:00
Robin
f2becad472 Update ExoPlayer to 2.18.2 2022-12-16 17:53:56 +01:00
Jared Fantaye
ca2d6ee6b8 Removed the wasPlaying variable 2022-12-10 21:56:04 +01:00
Jared Fantaye
be2394e912 Added migration to new database 2022-12-09 22:40:54 +01:00
Jared Fantaye
a5da1c9ce6 Formatting, renaming and small fixes 2022-12-09 12:01:59 +01:00
pratyaksh1610
c03fd63f47 Fixes #9518
- Crash fix on clicking on add to playlist.
- Added toast when clicked on share button for better UI.
2022-12-09 14:09:40 +05:30
Jared Fantaye
9bfe79b34c Fixed some bugs and improved code quality 2022-12-08 23:31:20 +01:00
Jared Fantaye
fdd014db90 Tried to implement the feature 2022-12-07 02:32:53 +01:00
Isira Seneviratne
f435e0ba5e Merge branch 'dev' into Refactor_VideoDetailFragment 2022-12-06 20:21:28 +05:30
Isira Seneviratne
3ae0bbc4a3 Merge branch 'dev' into Refactor_VideoPlayerUi 2022-12-06 20:21:08 +05:30
Jared Fantaye
ac03944ee1 Implemented suggestions 2022-12-05 21:21:46 +01:00
Stypox
0710757ceb Merge pull request #9173 from Theta-Dev/video-sub-count
Show subscriber count on video details page
2022-12-04 20:50:13 +01:00
ThetaDev
01a4cfa0c0 show subscriber count on player page 2022-12-04 20:45:09 +01:00
Jared Fantaye
1d93719f45 Added option to download items in the queue 2022-12-04 20:35:06 +01:00
Stypox
1b562ebca1 Merge pull request #9501 from Stypox/import-subscriptions-hint
Add hint to improve discoverability of subscription import
2022-12-04 20:19:19 +01:00
Stypox
0defd52b0d Show hint about how to import subscriptions when there are none 2022-12-04 19:16:47 +01:00
Stypox
d920f3b9fa Merge pull request #8883 from Douile/dev-enqueue-next-hide
Only show "Enqueue next" when in the middle of the queue
2022-12-04 18:43:45 +01:00
Douile
81df0e05df Only show "Enqueue next" when in the middle of the queue
Add a check that the queue position is not the last in the queue before
showing "Enqueue next".

Previously the "Enqueue next" action would always be shown if the queue
length was greater than one, this meant even if you were at the end of
the queue (when "Enqueue" would have the same effect as "Enqueue next")
the action would still be shown.
2022-12-04 18:20:50 +01:00
Stypox
f034d7644f Merge pull request #8810 from Isira-Seneviratne/Math_floorDiv
Use Math.floorDiv().
2022-12-04 18:08:12 +01:00
pratyaksh1610
0c6ae79b50 added Language suffix for subtitle downloads 2022-12-04 17:59:22 +05:30
Isira Seneviratne
7633a2258b Apply ktlint formatting. 2022-12-04 12:01:57 +01:00
Isira Seneviratne
8b6f6ecb9f Show toast when no updates are available.
Co-authored-by: Stypox <stypox@pm.me>
2022-12-04 12:01:56 +01:00
Jared Fantaye
c4eb72385d Added menu with tappable list items 2022-12-03 09:52:04 +01:00
Jared Fantaye
1d56798ea9 Disabling night theme selection if auto theme is not used 2022-12-01 13:01:58 +01:00
Isira Seneviratne
846f59c73b Use BitmapCompat.createScaledBitmap(). 2022-11-29 15:56:19 +01:00
Stypox
cce863f9fe Request permission to send notifications 2022-11-28 18:49:11 +01:00
AudricV
5bdf145505 Merge pull request #8961 from dhruvpatidar359/Toast-Popup
Remove the redundant/overlapping toast "Copied to clipboard" for Android 13+
2022-11-26 21:33:12 +01:00
Jared Fantaye
971afd70ca Seeking no longer pauses the played video 2022-11-26 15:35:13 +01:00
Isira Seneviratne
3add1e2af3 Use SparseArrayCompat instead of SparseArray in StreamItemAdapter.
Make additional small improvements as well.
2022-11-22 18:31:58 +05:30
Isira Seneviratne
1e42bb6baa Use SparseArrayCompat for thumbnails. 2022-11-22 17:51:54 +05:30
Stypox
2a0fda2849 Set compileSdk and targetSdk to 33 (Android 13)
android:exported in now required in the manifest on all activities/services/receivers/providers. It was set to true for those that need to interact with outside apps or the OS, while others have exported=false.
This also required updating LeakCanary to the latest version as the older version being used was not using android:exported in AndroidManifest.xml.
2022-11-18 08:33:13 +01:00
Isira Seneviratne
def00c8dfd Merge branch 'dev' into Refactor_VideoPlayerUi 2022-11-14 08:59:03 +05:30
Isira Seneviratne
de663c015d Merge branch 'dev' into Refactor_VideoDetailFragment 2022-11-14 08:58:45 +05:30
Isira Seneviratne
37182c7b84 Merge pull request #8870 from Isira-Seneviratne/Locale_forLanguageTag
Use Locale.forLanguageTag().
2022-11-10 19:56:34 +05:30
Tobi
7ac96cf353 Merge pull request #8316 from han-sz/fix_video_mouse_hover_overlay
Fix persistent hover overlay when in desktop/DeX mode or using a mouse/non-touch input
2022-11-09 17:10:01 +01:00
TobiGr
f190811897 Merge branch 'master' into dev 2022-11-09 16:45:22 +01:00
AudricV
97837d4295 Improve code of DeviceUtils.isDesktopMode
- Avoid NullPointerException crashes if there is no UiModeManager or desktop
system service mode
- Use final for every exception
- Suppress missing fields warnings
- Add missing NonNull annotation
2022-11-09 16:22:49 +01:00
cybersphinx
a085e6ee04 Remove now obsolete API check. 2022-11-09 15:50:09 +01:00
cybersphinx
7bb41180e1 Remove errant return. 2022-11-09 15:50:09 +01:00
cybersphinx
277ef2c450 Add check for input devices with cursor. 2022-11-09 15:50:06 +01:00
Hanif Shersy
0666eeb4cf Add JSDoc comment and a performance note for isDesktopMode 2022-11-09 15:48:50 +01:00
Hanif Shersy
fed052354e Fix JSDoc checkstyle warning 2022-11-09 15:44:36 +01:00
Hanif Shersy
4d40192b50 Address review comments 2022-11-09 15:44:36 +01:00
Hanif Shersy
329e3c371a Fix DeX mode check 2022-11-09 15:44:36 +01:00
Hanif Shersy
7847fca6c4 Fix persistent hover overlay when mouse connected 2022-11-09 15:44:27 +01:00
Isira Seneviratne
0aefc8e14d Use Math.floorDiv(). 2022-11-09 20:01:40 +05:30