Commit graph

6906 commits

Author SHA1 Message Date
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
c6aef07932 Completely remove old player notification 2020-08-15 22:03:32 +02:00
Stypox
c644466334 Rename notification functions: they are not background player only 2020-08-15 15:16:17 +02:00
wb9688
1211ab6bf4 Use AppCompatImageButton to not crash on 4.4 2020-08-03 14:17:12 +02:00
Stypox
4dd47f8adf Merge branch 'dev' into pr3178 2020-08-02 22:59:43 +02:00
Tobias Groza
09a6878f86 Update bug_report.md 2020-08-02 09:37:52 +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
TobiGr
55738a889b Merge remote-tracking branch 'Weblate/dev' into dev 2020-07-28 13:46:36 +02:00
Tobias Groza
d4f812e006 Merge pull request #3984 from TobiGr/search_color
Fix color of correct / suggested search term
2020-07-28 13:03:51 +02:00
TobiGr
4d7f8fec4e Fix color of correct / suggested search term
Fixes TeamNewPipe/NewPipe#3973
2020-07-28 11:41:23 +02:00
Tobias Groza
8145089225 Update bug report template
DO NOT REPORT THAT CRASH ANY MORE. WE ARE GETTING SPAMMED11!!!1
2020-07-28 10:56:06 +02:00
Stypox
d7f69f0ac6 Do not init ACRA if inside its own process
https://github.com/ACRA/acra/wiki/Troubleshooting-Guide#applicationoncreate
2020-07-28 10:48:54 +02:00
Stypox
7ff31f58c3 Fix empty stacktrace in bug report
ACRA has to be initialized after MultiDex
https://github.com/ACRA/acra/issues/619
https://github.com/ACRA/acra/wiki/Troubleshooting-Guide#legacy-multidex
2020-07-28 10:48:25 +02:00
Hosted Weblate
6e62d76606 Merge branch 'origin/dev' into Weblate. 2020-07-28 09:55:58 +02:00
TobiGr
39e6d0429c Update version to 0.19.8 (953)
Update extractot version.
Fix extraction of YouTube's decryption function.
2020-07-28 01:07:13 +02:00
TobiGr
9f7262b388 Merge branch 'dev' 2020-07-26 14:40:57 +02:00
TobiGr
5004b34790 Update version to 0.19.7 (952) 2020-07-26 14:39:18 +02:00
TobiGr
11cfda70bc Add changelog 2020-07-26 14:38:49 +02:00
TobiGr
ae28ddde78 Update extractor version 2020-07-26 14:26:09 +02:00
Hosted Weblate
c76ebbe55b Merge branch 'origin/dev' into Weblate. 2020-07-26 13:22:12 +02:00
Avently
d1ef6ed4e1 Renamed files 2020-07-25 09:45:33 +03:00
Avently
c868f7e5ed Removed unused files, translations, styles, settings key 2020-07-25 09:39:42 +03:00
Avently
4764b5c7ad Another part of UI improvements for Android TV
- focus will be hidden right after start of a video; fullscreen works like this too
- back button will not needed to be pressed one more time like before
- prev & next buttons for playqueue will be hidden with play/pause button before video be ready to play
2020-07-25 07:00:53 +03:00
Avently
24e7a11067 Merged the latest code 2020-07-25 04:18:41 +03:00
Avently
39de879c32 Android TV: ability to select all buttons in the main player, as well as in the main fragment 2020-07-25 04:14:29 +03:00
Avently
45ed6ec7a5 Quality selector for external playback and better fullscreen mode for old devices 2020-07-24 00:43:09 +03:00
TobiGr
236bb81796 Disable shrinkResources to fix F-Droid's reproducible build
For more information see https://f-droid.org/docs/Reproducible_Builds/#resource-shrinker
2020-07-23 21:19:47 +02:00
Tobias Groza
d1c6b1eb24 Merge pull request #3928 from wb9688/disable-shrink-resources
Disable shrinkResources
2020-07-23 18:02:44 +02:00
wb9688
3888727fb6 Disable shrinkResources 2020-07-23 13:24:48 +02:00
Hosted Weblate
a60d262c58 Merge branch 'origin/dev' into Weblate. 2020-07-22 19:15:38 +02:00
Ajeje Brazorf
1d22f08f24 Added translation using Weblate (Sardinian) 2020-07-22 19:15:35 +02:00
Avently
6f506f17e0 Fixes for Android API <21 2020-07-22 17:19:32 +03:00
Tobias Groza
c5fcde05f7 Merge pull request #3920 from chdir/invisible_focus_fix
Fix lingering focus highlight overlay
2020-07-22 14:28:47 +02:00
Alexander--
8cf76f7515 Add @NonNull annotation to method argument
Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
2020-07-22 07:57:04 -04:00
Alexander--
05dc8280d4 Use View.isShown() to avoid focus overlay glitches
A View can become focused while being invisible, if it's
parent is invisible. Use global draw listener and
View.isShown() to catch such cases.
2020-07-22 06:21:25 +06:59
Avently
44d21d677b Fixed a situation when background playback could use a video stream instead of an audio stream 2020-07-22 02:20:58 +03:00
Avently
eda6641e3f Better TV support, icons, activity_main refactoring
- on Android TV you'll be able to navigate with D-pad in main fragment and in the player. But not between them for now
- play/pause/next/previous buttons are smaller now
- replaced ic_list with previous version of it
- activity_main looks better which helps with Android TV support
2020-07-22 01:20:30 +03:00
Avently
d6ff15d609 Removed unused line 2020-07-21 01:53:59 +03: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