Commit graph

2316 commits

Author SHA1 Message Date
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
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
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
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
Avently
6f506f17e0 Fixes for Android API <21 2020-07-22 17:19:32 +03: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
Tobias Groza
1f775bbfc7 Merge pull request #3689 from wb9688/next-stream
Remove calls to getNextStream()
2020-07-18 11:59:04 +02:00
Tobias Groza
6e46a8e47a Merge pull request #3902 from wb9688/null-description
Check for description == null
2020-07-18 11:54:10 +02:00
wb9688
32c8076435 Check for description == null 2020-07-18 10:01:44 +02:00
Avently
411c65babc New icons 2020-07-16 01:15:24 +03:00
wb9688
04ccd2e7f5 Use relatedItems instead of info.getRelatedStreams() 2020-07-15 18:52:36 +02:00
wb9688
158b91e2ec Remove calls to getNextStream() 2020-07-14 21:27:59 +02:00
wb9688
863b8242b7 Use androidx.annotation.NonNull instead of io.reactivex.annotations.NonNull 2020-07-14 21:15:29 +02:00
Avently
fd46560c2f NonNull instead of NotNull annotations 2020-07-14 22:08:12 +03:00
Avently
b68c655151 Mini player slide to botom fix, buttons size fix 2020-07-14 21:52:55 +03:00
Avently
a6894644d1 Made checkStyle happy 2020-07-14 20:21:32 +03:00
Avently
4aeb2cd795 Small fixes of issues 2020-07-13 23:28:39 +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
Tobias Groza
3d86fd2fed Merge pull request #3441 from wb9688/nextpage
Next page stuff
2020-07-07 21:19:27 +02:00
wb9688
69431ef0ab Use getNextPage() instead of getNextPageUrl() 2020-07-07 21:03:24 +02:00
Tobias Groza
a00486c325 Merge pull request #3471 from Royosef/DisplaySearchSuggestion
Display search suggestion: did you mean & showing result for
2020-07-07 20:57:02 +02:00
TobiGr
f60e4c1b3a Highlight search suggestion 2020-07-07 20:23:41 +02:00
Tobias Groza
8d8dff378f Merge pull request #3579 from TobiGr/error_md_export
Add Markdown export of crash logs
2020-07-07 00:01:12 +02:00
Tobias Groza
a06f4cdfcc Merge pull request #3843 from kapodamy/drop-writting-application-metadata
Drop writting application metadata in muxed files
2020-07-06 23:55:06 +02:00
kapodamy
4515a5f4ed checkstyle's amend 2020-07-05 23:55:40 -03:00
Stypox
a56c87ff20 Replace search query without searching on suggestion panel long click 2020-07-05 22:01:35 +02:00
Stypox
19e4bba3fe Improve suggestion panel 2020-07-05 22:01:35 +02:00
wb9688
3a8f184e61 Improve search suggestion code 2020-07-05 22:01:35 +02:00
Roy Yosef
f05865150d Fix search suggestions not working on resume
* add searchSuggestionString, isCorrectedSearch fields to state and load onResume
2020-07-05 22:01:35 +02:00
Roy Yosef
88c4f367e4 Display search suggestion: did you mean & showing result for 2020-07-05 22:01:35 +02:00
Stypox
89899dc1c9 Move local/remote playlist merge() to PlaylistLocalItem class
In order not to have a utils class just for one function
2020-07-04 11:38:22 +02:00
Stypox
8736a1c072 Fix style issues 2020-07-04 11:38:22 +02:00