Commit graph

6025 commits

Author SHA1 Message Date
Stypox
4e427e1f69 Fix notification content intent not being updated when needed 2020-09-08 22:00:28 +02:00
Stypox
0ea24e60a7 Make notification creation and cancelling more consistent 2020-09-08 22:00:28 +02:00
Stypox
847fb84854 Add notification costumization settings menu 2020-09-08 22:00:24 +02:00
Stypox
044190d5d9 Extract duplicate setActivityTitle code to own function 2020-09-07 15:28:38 +02:00
Stypox
bd804fe3e2 Clean up MediaSessionManager 2020-09-04 18:44:09 +02:00
Stypox
54b5199832 Merge branch 'dev' into pr3178 2020-09-03 21:56:48 +02:00
Stypox
a2d22ddaef Various notification code improvements
Improve builder parameters
Reorder code and extract large icon function
service.startForeground() now is also provided with service type in android versions >= Q
2020-09-03 21:54:31 +02:00
Stypox
116c4218ac Extract hardcoded strings into strings.xml and improve them 2020-09-03 21:54:31 +02:00
Stypox
e97a21529b Show hourglass icon when buffering 2020-09-03 21:54:28 +02:00
Stypox
8c34a7e9ed Merge pull request #4127 from nmurali94/bugfix-keep-license-on-rotate
Restore license pop-up when orientation changes
2020-09-02 16:28:43 +02:00
TobiGr
a0498c4c62 Remove unused and redundant code. 2020-09-01 17:39:06 +02:00
Tobias Groza
c19ab76eb7 Merge pull request #4155 from avently/gestures-interception
Skipping interception of some gestures
2020-09-01 16:51:34 +02:00
Tobias Groza
790fbc2e5a Merge pull request #4120 from mhmdanas/replace-SubtitlesStream-getURL-with-getUrl
Use SubtitlesStream#getUrl instead of getURL
2020-08-26 22:15:44 +02:00
mhmdanas
308eac4e13 Use SubtitlesStream#getUrl instead of getURL 2020-08-26 23:04:18 +03:00
TobiGr
0cc5b86f36 Extract common part from if 2020-08-18 13:28:13 +02:00
Avently
faa0dd321e Skipping interception of some gestures 2020-08-17 20:42:05 +03:00
wb9688
74c41b6ebe Merge pull request #4080 from avently/cpu-usage-improvement
Reduced CPU usage when playing a video by 7-10%
2020-08-17 09:46:07 +02:00
Avently
212938d9af Improved an animation logic 2020-08-16 22:44:27 +03:00
nmurali94
3deeb88aee Restore license pop up after orientation change 2020-08-16 12:23:40 +02:00
Tobias Groza
1bf198252b Merge pull request #4134 from avently/bottom-space
Set bottom padding of the main fragment when the mini player is visible
2020-08-16 12:15:08 +02:00
Tobias Groza
0a006f8be2 Merge pull request #4138 from XiangRongLin/checkstyle_final
Add checkstyle rule to show final local variable violations as warning
2020-08-16 11:55:46 +02:00
wb9688
25b56bf5e4 Use final where possible 2020-08-16 10:25:09 +02:00
Stypox
c6aef07932 Completely remove old player notification 2020-08-15 22:03:32 +02:00
Avently
97dd838655 Set bottom padding of the main fragment when the mini player is visible 2020-08-15 20:51:52 +03:00
Stypox
c781c47851 [regression] Close player in onPlaybackShutdown() 2020-08-15 15:58:25 +02:00
Stypox
c644466334 Rename notification functions: they are not background player only 2020-08-15 15:16:17 +02:00
nmurali94
f2819b73c5 Remove timestamp when sharing a live stream 2020-08-12 09:54:35 -04:00
Tobias Groza
0f56241dee Merge pull request #3948 from TobiGr/basic_resize
Add basic resize functionality
2020-08-08 21:34:12 +02:00
Avently
8bdb777c26 Reduced CPU usage when playing a video by 7-10% 2020-08-05 12:46:25 +03:00
Tobias Groza
33950d1bab Merge pull request #4050 from TeamNewPipe/popup-setting-text
Reduce redundancy in "Remeber popup size and position" setting
2020-08-04 23:23:03 +02:00
ButterflyOfFire
c80df89092 Fixing name for Taqbaylit language
Fixing name for Taqbaylit language
2020-08-03 19:01:51 +02:00
TobiGr
3a538e0f80 Add basic resize functionality
Addresses #3947
See 9e352df1ed
See https://developer.samsung.com/samsung-dex/modify-optimizing.html#Enabling-Multi-Window-support
2020-08-03 18:40:32 +02:00
Tobias Groza
1e36166a29 Merge pull request #3892 from wb9688/fix-local-playlist-tab
Fix crash when opening video in local playlist tab
2020-08-03 15:49:06 +02:00
Tobias Groza
47e2743ce2 Merge pull request #4061 from avently/unsupported_api
Removed java.util.Objects calls
2020-08-03 15:32:56 +02:00
wb9688
478774d41c Replace getFragmentManager() with getFM() 2020-08-03 14:47:10 +02:00
wb9688
082c5c3b0b Fix crash when opening video in local playlist tab 2020-08-03 14:47:10 +02:00
wb9688
1211ab6bf4 Use AppCompatImageButton to not crash on 4.4 2020-08-03 14:17:12 +02:00
Tobias Groza
650e1165f6 Merge pull request #3944 from Stypox/playlist-layout
Improve playlist header layout: align with info items
2020-08-03 14:15:30 +02:00
Avently
2ec5e0054c Removed java.util.Objects calls 2020-08-03 03:33:51 +03:00
Stypox
4dd47f8adf Merge branch 'dev' into pr3178 2020-08-02 22:59:43 +02:00
Tobias Groza
c082b514a7 Make title and summary of "Remeber popup size and position" setting less redundant 2020-08-02 11:07:48 +02:00
Tobias Groza
e36877c46c Merge pull request #2907 from avently/unifiedplayer
Expandable player with unified UI
2020-08-01 12:53:19 +02:00
wb9688
d0e53a3ae1 Fix crash when playing stream in background with shuffle in notification 2020-07-31 09:25:32 +02:00
wb9688
77cdc904fd Log only in debug build 2020-07-31 09:10:28 +02:00
wb9688
900d01ae61 Use vector drawables for close and replay 2020-07-31 09:10:28 +02:00
cool-student
dc4a37b37e Notification Improvements
- add MediaStyle notifications for Background and Popup playback
- reduce excessive notification updating ( / recreating of Notification.Builder object) when playing background / popup media
- add new buffering state indicator (can be disabled)
- upscale close icon / downscale replay icon
- add notification slot settings
- move notification settings to appearance
- fix Metadata (song title, artist and album art) sometimes not being set correctly
- other misc notification fixes

Co-authored-by: wb9688 <wb9688@users.noreply.github.com>
2020-07-31 09:10:28 +02:00
Tobias Groza
917e5959b6 Merge pull request #3982 from Stypox/fix-acra
Fix ACRA bug reports not containing stack trace
2020-07-29 17:58:52 +02:00
Stypox
b5e7b86df8 Remove deprecated calls to set Sender class to ACRA
setReportSenderFactoryClasses() is deprecated, now extensions (ReportSenderFactory is an extension) should be registered using AutoService: https://github.com/ACRA/acra/wiki/Custom-Extensions#by-annotation
2020-07-29 10:56:33 +02:00
Avently
a83a4d1275 Disable starting player service via media button when there is nothing to play (no active play queue) 2020-07-28 21:36:06 +03:00
Avently
65a9d65e18 Merge branch 'dev' 2020-07-28 21:35:01 +03:00