Commit graph

8598 commits

Author SHA1 Message Date
GGAutomaton
c0cd4161c1 Delete saveImmediate warnings & add comments 2022-06-23 23:31:56 +08:00
GGAutomaton
ad240404ed Update index modification logic & redo sorting in the merge algorithm 2022-06-23 23:19:59 +08:00
GGAutomaton
a4c630bc9c Update playlists in parallel 2022-06-23 20:36:21 +08:00
GGAutomaton
685c2a4224 Add abstract methods in PlaylistLocalItem & rename setIsModified 2022-06-23 19:20:16 +08:00
GGAutomaton
5a52c71278 Update test and Javadoc 2022-05-11 18:08:14 +08:00
GGAutomaton
9ee8793e92 Create sub-package and default interval for DebounceSaver & sort playlists in db 2022-05-11 16:47:34 +08:00
GGAutomaton
f2059e725a Add tests 2022-04-17 20:20:20 +08:00
GGAutomaton
44c04390d2 Reuse DebounceSaver 2022-04-17 14:53:02 +08:00
GGAutomaton
7364d4891e Fix sonar warning 2022-04-16 12:44:24 +08:00
GGAutomaton
b988476725 Fix sonar warning and typo 2022-04-16 12:00:02 +08:00
GGAutomaton
db71bc2d79 Use new item holder 2022-04-15 23:19:24 +08:00
GGAutomaton
d16d5bab61 Debounced saver & bugfix & clean code 2022-04-15 20:44:54 +08:00
GGAutomaton
2beefba77e UI design and behavior 2022-04-14 16:59:52 +08:00
GGAutomaton
1050869ba6 Save changes to the database and bugfix 2022-04-14 12:13:42 +08:00
GGAutomaton
98524719a6 Merge branch 'TeamNewPipe:dev' into feature-7870 2022-04-13 22:48:26 +08:00
GGAutomaton
f8fe115172 Implement algorithm to merge playlists 2022-04-13 22:46:24 +08:00
GGAutomaton
414c027d24 Update database migrations and getter/setter 2022-04-13 21:35:38 +08:00
GGAutomaton
468a0077ed Migrate database 2022-04-13 19:41:07 +08:00
litetex
f1726b1168 Merge pull request #8146 from GGAutomaton/fix-7825
Use newInstance in PlaylistDialog
2022-04-10 15:04:12 +02:00
Robin
552e21ee20 Merge pull request #8127 from litetex/fix-SparseItemUtil
Fix `SparseItemUtil` so we don't enqueue twice
2022-04-07 17:21:18 +02:00
GGAutomaton
922a145c06 Use newInstance in PlaylistDialog 2022-04-04 13:50:27 +08:00
TiA4f8R
82cd30a249 Fix fetch of video streams (when switching between tracks in a play queue) and subtitles when using a seamless transition between background and video players
Make the use of the new method setDisabledTrackTypes in DefaultTrackSelector.ParametersBuilder, which disables selection of tracks type for every TrackGroup instead of the current group, which is the current behavior.
This removes the use of the deprecated of setSelectionOverride method.

Note that for progressive media, the content is still fetched, but only for initialization purposes (so requests are pretty small, most of times with a few kilobytes size).
2022-04-03 14:07:56 +02:00
litetex
bd4740fa15 Better naming 2022-04-02 15:44:06 +02:00
litetex
b9d5439f29 Fix tests 2022-04-02 15:43:50 +02:00
Mauricio Colli
353f50296d Fix download dialog selector layout and add some tests 2022-04-02 15:25:08 +02:00
litetex
f5616c7fe6 Merge pull request #8020 from karyogamy/exo-update-v17
ExoPlayer 2.17.1 update and MediaSource management rework
2022-04-02 14:53:58 +02:00
litetex
5f9fbb26de Fix SparseItemUtil loading
* Added a missing `return` statement
* `fetchUploaderUrlIfSparse` now has a similar layout to `fetchItemInfoIfSparse`
2022-03-30 21:11:15 +02:00
karyogamy
2695490f49 updated: source loading error for FailedMediaSource to wait for 3 seconds before allowing retry.
updated: minor style fixes.
2022-03-27 13:24:37 -04:00
karyogamy
0eefedcffb updated: onPlayerError to not catch unspecified source errors so notifications are created.
updated: Throwable usage to Exceptions.
updated: minor styles and documentations.
2022-03-26 20:17:52 -04:00
litetex
b4217315e3 Fixed test compilation 2022-03-26 21:44:16 +01:00
litetex
670b3de057 FIx breaking changes 2022-03-26 21:21:07 +01:00
litetex
e61009fd63 Update extractor to latest dev-Version 2022-03-26 21:20:41 +01:00
litetex
0426bb8cc7 Merge pull request #7977 from Stypox/error-notification-kitkat
Fix error notification on KitKat
2022-03-25 20:00:48 +01:00
Stypox
2b8d4fd3cc Remove pin and notifications night icons
They were added by accident in PRs not properly rebased on top of #7518, they can be removed safely.
2022-03-20 11:12:45 +01:00
karyogamy
cc3710172c added: documentations on lifecycles for FailedMediaSource and LoadedMediaSource.
fixed: onPlaybackSynchronize to rewind when not playing, which was incorrectly removed in previous commit.
fixed: sonar and checkstyle issues.
2022-03-19 22:40:32 -04:00
Stypox
f7faf0b202 Make "Player notification" PreferenceScreen searchable 2022-03-19 22:44:59 +01:00
Stypox
6ead95b5d2 Merge branch 'dev' into pr2335 2022-03-19 22:29:10 +01:00
Stypox
ac91f1541a Remove backoff criteria: it never kicked in
It never kicked in since we are never returning a retry() Result, but always either success() or failure() (see createWork() function). Also, there is already a default (exponential backoff starting from 30 seconds), so no need to override it.
2022-03-19 21:55:00 +01:00
karyogamy
2fd1522199 added: documentations to MediaItemTags and Player.
fixed: checkStyle failures.
2022-03-19 15:56:45 -04:00
karyogamy
2084c6217f updated: ExoPlayer to 2.17.1.
added: MediaItemTag for ManagedMediaSources.
added: silent track for FailedMediaSource.
added: keyframe fast forward at initial playback buffer.
added: error notification on silently skipped streams.
2022-03-19 15:56:45 -04:00
litetex
22bdcde527 Merge pull request #8073 from Stypox/bump-checkstyle
Update checkstyle to 10.0 and fix various related issues
2022-03-19 14:37:52 +01:00
litetex
35871f7fa5 Merge pull request #8068 from TacoTheDank/lintCleaning
Some lint cleaning
2022-03-19 14:37:34 +01:00
litetex
4acc9c66eb Merge pull request #8066 from TacoTheDank/simpleSeekbarChange
Create stub implementation for OnSeekBarChangeListener
2022-03-19 14:37:10 +01:00
Stypox
8cc890d799 Use @SuppressWarnings for checkstyle suppressions & warnings
It's better to use @SuppressWarnings instead of the suppressions file, so that the warning suppression is at the place where it acts.
2022-03-18 23:57:11 +01:00
Stypox
b1690ca60d Update checkstyle to 10.0 and fix various related issues
- Put checkstyle files into checkstyle/ subfolder so that the gradle task does not implicitly depend on the whole project, fixing many warnings during build and possibly increasing build performance.
- Remove unused SuppressionXpathFilter from config file.
- Remove outdated suppressions from suppressions file.
2022-03-18 19:58:59 +01:00
TacoTheDank
ad4a239a9f De-duplicate showLicense methods 2022-03-18 13:48:07 -04:00
TacoTheDank
e98fa48627 Clean up the about package a bit 2022-03-18 13:18:23 -04:00
TacoTheDank
141ad361b0 Annotate some NonNulls, some lint cleaning 2022-03-18 13:15:44 -04:00
TacoTheDank
3f9cd23979 Delete some unused code 2022-03-17 23:26:34 -04:00
TacoTheDank
5c5d80321f Use Animator.addListener() KTX extension 2022-03-17 22:01:51 -04:00