NewPipe/app/src/main/java/org/schabi/newpipe/util
bg1722 bef5907ec3
show OverallDuration in Playlist
earlier only overall amount of videos was shown. Now overall duration is shown there too - as formatted by existing Localization.concatenateStrings() and Localization.getDurationString().

show all videos OverallDuration in local Playlist too

refactor to make implementation in LocalPlaylistFragment and PlaylistFragment more obviously similar

unfortunately could not refactor upto BaseLocalListFragment

revert the changes for online Playlists

because they are paginated and may be infinite i.e. correct count may come only from the service->extractor chain which unfortunately does not give overall duration yet

next try to improve user-experience with online Playlist

just show that duration is longer (">") than the calculated value in case there is more page(s)

even more improve user-experience for online Playlist

by adding the duration of next items as soon as they are made visible

make showing of playlists duration configurable, disabled by default

adjusted duration to be handled as long because it comes as long from extractor

no idea why I handled it as int earlier

Revert "make showing of playlists duration configurable, disabled by default", refactor

This reverts commit bc1ba17a20d3dd1763210f81d7ca67c5f1734a3d.

Fix rebase

Apply review

Rename video -> stream

Remove unused settings keys
2024-03-29 14:11:27 +01:00
..
external_communication Add documentation and fix SonarCloud issue 2023-09-22 10:14:44 +02:00
image Use @DrawableRes in PicassoHelper 2023-09-22 10:14:45 +02:00
text Update TextLinkifier.java 2024-03-18 14:43:16 +09:00
urlfinder Added note that explains that unused code was removed. 2022-07-15 19:55:19 +02:00
AudioTrackAdapter.java Rename StreamSizeWrapper to StreamInfoWrapper 2023-08-14 22:48:39 +02:00
ChannelTabHelper.java Update NewPipeExtractor and adapt imports 2023-09-18 23:22:32 +02:00
Constants.kt Combine the two Constants files into one file. 2021-01-15 12:13:47 +05:30
DependentPreferenceHelper.java Make positions in list depend on watch history, remove confusing animations 2023-02-07 09:48:18 +01:00
DeviceUtils.java Replace settings migration with automatic check for device blacklist version 2023-07-31 23:00:54 +02:00
ExtractorHelper.java Base cache key on info type instead of item type 2023-12-30 23:46:16 +01:00
FallbackViewHolder.java Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
FilePickerActivityHelper.java Migrate NoNonsense-FilePicker to our updated fork 2022-07-24 15:07:31 +02:00
FilenameUtils.java adds quotation to create filename util replacement char 2023-10-13 11:28:09 +07:00
InfoCache.java Base cache key on info type instead of item type 2023-12-30 23:46:16 +01:00
KeyboardUtil.java Fix keyboard showing after the search box acquiring focus (#8227) 2022-04-18 16:05:42 +02:00
KioskTranslator.java Annotate some NonNulls, some lint cleaning 2022-03-18 13:15:44 -04:00
ListHelper.java Fix not considering nullability when comparing getAudioTrackType 2024-03-27 16:05:17 +01:00
Localization.java show OverallDuration in Playlist 2024-03-29 14:11:27 +01:00
NavigationHelper.java Add @NonNull annotations 2023-12-22 18:52:42 +01:00
NewPipeTextViewHelper.java Adress new requested changes 2021-10-16 15:32:56 +02:00
OnClickGesture.java Make OnClickGesture an interface. 2022-08-01 06:47:00 +05:30
PeertubeHelper.java Use List.of(). 2022-07-20 04:39:11 +05:30
PermissionHelper.java Fix toast crash on API 33 2023-01-12 11:39:25 +01:00
PlayButtonHelper.java Apply review 2023-09-18 23:22:32 +02:00
ReleaseVersionUtil.kt Use hexToByteArray() extension 2024-03-20 14:00:13 +01:00
SavedState.kt Changed package as the old one is deprecated 2021-08-26 18:09:27 +02:00
SecondaryStreamHelper.java Fix choosing audio format to mux with video-only download 2024-03-28 11:09:56 +01:00
SerializedCache.java Solve Java warning "Raw use of parameterized class" 2022-02-19 17:30:38 +01:00
ServiceHelper.java Add some documentation and javadocs 2023-12-22 11:57:55 +01:00
SimpleOnSeekBarChangeListener.kt Create stub implementation for OnSeekBarChangeListener 2022-03-17 21:49:04 -04:00
SliderStrategy.java Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
SparseItemUtil.java Add download option to long-press menu 2022-07-06 11:42:57 +02:00
StateSaver.java Utilize BundleCompat and IntentCompat methods 2023-12-23 11:38:40 +01:00
StreamItemAdapter.java Simplify retrieveMediaFormatFromContentTypeHeader 2023-09-19 15:33:49 +02:00
StreamTypeUtil.java Use StreamTypeUtil where possible and add isAudio and isVideo to this utility class 2022-06-17 22:01:26 +02:00
ThemeHelper.java Thumbnails used in NewPipe are small (list/grid) mode. This PR facilitates full width thumbnails and dubbed as card mode. 2023-01-15 22:32:03 +05:30
ZipHelper.java Move Stored(File|Directory)Helper into NewPipe 2021-06-08 10:40:44 +02:00