Commit graph

325 commits

Author SHA1 Message Date
TacoTheDank
dfefb90d26 Fix some version checks to use android.os.Build 2020-10-31 15:54:02 -04:00
bopol
ca029eba3f polish strings, fix build error 2020-10-26 17:01:55 +01:00
Tobias Groza
7391557c39 Merge pull request #4549 from Stypox/fix-showMiniPlayer
Fix IllegalStateException after onSaveInstanceState
2020-10-23 21:58:20 +02:00
vkay94
d7547fb196 Fix PlaylistAppendDialog: Renamed method and replaced with Runnable 2020-10-23 09:44:26 +02:00
vkay94
0f720b6e97 Fix PlaylistAppendDialog showing when no local playlists exist 2020-10-23 09:44:26 +02:00
mitosagi
495d6cfe29 Translate the numeric notation 2020-10-18 11:01:06 +09:00
Stypox
28c83143ad Fix IllegalStateException after onSaveInstanceState 2020-10-17 16:13:42 +02:00
Isira Seneviratne
666563faf7 Use ContextCompat.startForegroundService(). 2020-10-09 08:52:05 +05:30
Isira Seneviratne
3da55d9f40 Use ContextCompat.getSystemService() and the Context.getSystemService() extension function. 2020-10-09 08:52:05 +05:30
vkay94
a67ee0ebb0 Enqueue: Renamed string resource 2020-10-06 21:17:52 +02:00
vkay94
ab7af976e9 Enqueue: Removed unneeded dialog-entries and strings + adjustments 2020-10-06 17:22:12 +02:00
vkay94
994b8369b8 Enqueue: Replaced specific StreamDialogEntry items with one
The enqueue options won't be shown in the dialogs if the Player service is not running. When it's running one item (enqueue stream) will be shown and enqueues the item into the Player type which is currently selected.
2020-10-06 14:38:48 +02:00
vkay94
8d9b451070 Enqueue: Add auto-select StreamDialogEntry for current PlayerType 2020-10-06 13:33:44 +02:00
bopol
f2a3c6d211 update to PrettyTime 4.0.6
fixes #4324
2020-10-03 19:04:44 +02:00
Avently
9d7e9c79ca Added comments and improved the code 2020-09-30 00:49:34 +03:00
Avently
94fe0d1a0c Player will be rebound when needed, prev/next/queue buttons, preserving paused state
- each time something starts to play in any player VideoDetailFragment will be started (if not yet started) and mini player will show up. It makes possible to see a playing stream in mini player even if the stream was started without using fragment or after player service was closed somehow
- play/next/queue buttons will be updated in realtime when stream was added/removed from queue instead of waiting for a onPlay/onPause action to happen
- when popup or background players start the stream will start playing only if paused state wasn't requested. Which means, for example, if a user opens popup it will be started when START_PAUSED is false. If, for example, the stream was played in main player and then popup was started the stream will still be playing, but if it was paused it still be paused in popup (or background) in APPEND_ONLY mode (but will be playing on new queue initialization)
2020-09-29 06:22:53 +03:00
Avently
96881c44d3 Merged 'dev' branch 2020-09-27 15:04:20 +03:00
Avently
0d5cc050ef Reimagined player positioning 2020-09-15 14:43:43 +03:00
Stypox
e861be10d9 Merge branch 'dev' into pr3178 2020-09-08 23:58:10 +02:00
Stypox
4e427e1f69 Fix notification content intent not being updated when needed 2020-09-08 22:00:28 +02:00
Stypox
0c812c0680 Merge pull request #4154 from avently/video-placement
Prevent jumping of the player and wrong padding on devices with cutout
2020-09-08 19:47:09 +02:00
Stypox
044190d5d9 Extract duplicate setActivityTitle code to own function 2020-09-07 15:28:38 +02:00
TacoTheDank
7db90c0561 Clean up SDK version checks 2020-09-06 12:55:30 +02:00
TacoTheDank
0ef2e07cf4 Some general-purpose lint cleanup 2020-09-06 12:55:26 +02:00
TacoTheDank
7795a5f733 Fix some lambdas 2020-09-06 12:52:43 +02:00
TacoTheDank
61c10ad427 Use AndroidX preference 2020-09-06 12:52:42 +02:00
Avently
44c125f0a5 Moved device-specific code into DeviceUtils 2020-09-03 15:48:17 +03:00
wb9688
25b56bf5e4 Use final where possible 2020-08-16 10:25:09 +02:00
Avently
5cd7ca5dab AndroidTvUtils -> DeviceUtils 2020-07-21 01:43:49 +03:00
Avently
d0cb338abc Merged the latest changes 2020-07-21 01:37:36 +03:00
wb9688
158b91e2ec Remove calls to getNextStream() 2020-07-14 21:27:59 +02:00
Avently
a6894644d1 Made checkStyle happy 2020-07-14 20:21:32 +03:00
Avently
aef78ace88 Merged the latest changes 2020-07-13 04:17:21 +03:00
Avently
b99b756435 Marked many (too many) variables as final 2020-07-12 03:59:47 +03:00
wb9688
69431ef0ab Use getNextPage() instead of getNextPageUrl() 2020-07-07 21:03:24 +02:00
Avently
60fd42dfa3 Changes for review 2020-06-27 06:25:50 +03:00
adinilfeld
8b791002b7 made ClipboardManager final 2020-06-11 09:36:57 -07:00
adinilfeld
24d774689f added a copyToClipboard method to ShareUtils, and modified CommentsMiniInfoItemHolder and VideoDetailFragment to use the new method. 2020-06-10 15:14:08 -07:00
wb9688
e58211dc6a Upgrade jsoup 2020-05-28 11:39:17 +02:00
Stypox
d63b091ec0 Fix checkstyle issues
Also replace all tabs with 4 spaces
2020-05-21 15:39:36 +02:00
Stypox
1eacd3e73d Rename ic_hot in ic_kiosk_hot and improve getKioskIcon() 2020-05-21 15:39:36 +02:00
Stypox
c80aba9a88 Use vector drawables instead of PNGs for material icons
For all manually-created images PNG have been kept.
- rename all icon attrs to have a `ic_` prefix
- always use `_24dp` icons, because there is no real difference, since they are vector drawables
- always use the original name found on material.io for icon drawables, as to not create confusion and possibly duplicates. Icon names can still be different from real drawable names, though I have made some of them compliant to this or maybe more meaningul.
- remove duplicate `getIconByAttr()` in ThemeHelper (use `resolveResourceIdFromAttr()`
- use standard icons for `expand_more` and `expand_less` instead of triangles
- use `play_button_outline` instead of custom PNG as play button in VideoDetailFragment (questionable, as there is no shadow anymore)
2020-05-21 15:39:35 +02:00
bopol
b5f508b309 Merge pull request #3501 from B0pol/openInBrowser
Open in browser button now really opens in browser
2020-05-21 09:24:57 +02:00
bopol
04fce1feb4 fix checkstyle 2020-05-19 21:57:46 +02:00
bopol
d47207e44d apply @stypox suggestions 2020-05-19 21:52:30 +02:00
bopol
9577c113b2 Open in browser button now really opens in browser 2020-05-19 21:51:47 +02:00
wb9688
4e01e38b0f Fix ListHelper ANR 2020-05-18 13:40:01 +02:00
wb9688
4585c92fbe Merge pull request #3545 from Stypox/kore
Fix Kodi button showing up with unsupported services
2020-05-07 21:44:09 +02:00
Stypox
52da850659 Fix Kodi button showing up in unsupported services 2020-05-06 20:55:53 +02:00
wb9688
c2fba29994 Merge pull request #3511 from wb9688/ktlint
Ktlint
2020-05-04 15:13:07 +02:00