Isira Seneviratne
39b9482ea2
Merge pull request #1372 from Isira-Seneviratne/Refactor-date-parsing
...
Refactor date parsing
2025-10-10 08:44:14 +05:30
Isira Seneviratne
2b306a32e5
Remove unthrown exception
2025-10-10 08:41:57 +05:30
Isira Seneviratne
e26cc84f99
Added documentation for parsing methods
2025-10-10 08:19:10 +05:30
Isira Seneviratne
fa4b717556
Update YoutubeStreamInfoItemLockupExtractor
2025-10-10 05:31:30 +05:30
Isira Seneviratne
2d794e7a6d
Fix nullable annotations
2025-10-08 08:24:35 +05:30
Isira Seneviratne
9355798bcc
Reduce some lines of code
2025-10-08 08:23:16 +05:30
Isira Seneviratne
a84d83177e
Apply suggestion from @Stypox
...
Co-authored-by: Stypox <stypox@pm.me>
2025-10-08 07:27:12 +05:30
Isira Seneviratne
f4084ed483
Merge branch 'dev' into Refactor-date-parsing
...
# Conflicts:
# extractor/src/main/java/org/schabi/newpipe/extractor/localization/DateWrapper.java
2025-10-08 07:25:56 +05:30
Isira Seneviratne
89971878a2
Address code review comments
2025-10-08 06:51:17 +05:30
Stypox
8dfb0d3249
Merge pull request #1361 from AudricV/yt_premieres-lockups-support
2025-10-05 15:19:05 +02:00
Stypox
97957250aa
Address review comments
2025-10-05 14:13:46 +02:00
Stypox
393e811470
Wrap LocalDateTime.parse in try-catch
2025-10-05 13:53:10 +02:00
Stypox
3c404e575a
[YouTube] Add custom mock tests for Premiere StreamInfoItems
...
The JSON data for these tests was obtained manually.
2025-10-05 13:48:48 +02:00
Stypox
e50f499797
[YouTube] Return orignial text date in lockupViewModels premieres
2025-10-05 13:44:23 +02:00
Stypox
606bb93535
Merge pull request #1280 from FineFindus/feat/member-channeltab-info
2025-10-04 16:07:49 +02:00
Stypox
9b98978fc1
Add testContentAvailability(), fix missing methods in test interfaces
2025-10-04 15:47:10 +02:00
Stypox
ffbdfafe85
Add ContentAvailability.Unknown, add Nonnull, fix typos
2025-10-04 15:27:59 +02:00
FineFindus
11bbdfee99
[YouTube] Use iterators to check for members-only content
2025-10-04 15:05:54 +02:00
FineFindus
737a4ffcf1
Move `ContentAvailability` to separate file
2025-10-04 15:05:54 +02:00
FineFindus
e2782bfe52
Add comment that ContentAvailability may not reflect actual availability
2025-10-04 15:05:54 +02:00
FineFindus
cc8edec341
Allow checking for ContentAvailability
...
Adds a new field to `StreamInfoItem` to denote the availability of the
stream. A stream may be restricted to only certain user groups or times.
This allows users to ignore the stream based on their availability, e.g.
a app may choose to hide all streams that require payment.
2025-10-04 15:05:54 +02:00
FineFindus
51a247b059
[YouTube] add JDoc for membership functions
2025-10-04 15:05:54 +02:00
FineFindus
0da22a962a
[YouTube] add test for membersOnly playlist
2025-10-04 15:05:54 +02:00
FineFindus
1b6907ec03
[Youtube] Mark members-only videos
...
YouTube inserts members-only videos (i.e., videos that require channel
membership to watch) into the Videos tab. Because the extractor unable
to distinguish between them and "normal" videos, they may appear in
subscriptions feeds.
This enables the extractor to check if videos require membership,
allowing clients to filter them.
Ref: https://github.com/TeamNewPipe/NewPipe/issues/12040
Ref: https://github.com/TeamNewPipe/NewPipe/issues/12011
2025-10-04 15:05:53 +02:00
Stypox
ac500b6cd8
Revert "Remove redundant initialization"
...
This reverts commit ea00238df6
.
It's not so bad to make it explicit which value we are initializing fields to; @ Stypox's fault for not noticing during review ;-)
2025-10-04 15:04:57 +02:00
Stypox
837705a1a4
Merge pull request #1381 from TeamNewPipe/TobiGr-patch-1
2025-10-02 16:19:16 +02:00
Tobi
be2846d907
Highlight notes and tips
2025-10-02 06:19:35 -07:00
Stypox
52bcf569ce
Merge pull request #1323 from absurdlylongusername/minor-code-cleanup
2025-10-02 14:52:36 +02:00
David Asunmo
25113b2453
Minor refactoring in Stream.java
2025-10-02 14:50:11 +02:00
David Asunmo
5066141be0
CamelCase typo
2025-10-02 14:50:11 +02:00
David Asunmo
73d93f8315
List.of IDE suggestions refactoring
2025-10-02 14:50:10 +02:00
David Asunmo
93328a38e6
Refactor AudioStream constructor to use builder instead of explicit parameters. Refactor documentation also
2025-10-02 14:48:42 +02:00
David Asunmo
05d951b2fc
Remove matchNamedGroup methods from Parser.java as not available on Android API < 26
2025-10-02 14:48:42 +02:00
David Asunmo
ea00238df6
Remove redundant initialization
2025-10-02 14:48:42 +02:00
David Asunmo
ffb7c48e8a
Refactor Description constructor
2025-10-02 14:48:42 +02:00
David Asunmo
89dab90aa7
[SoundCloud] Use Pattern instead of string for regex in SoundcloudStreamLinkHandlerFactory
...
Use non-capturing groups in regex
Refactor Parser.java
Add more utility methods (will be used in later commits)
2025-10-02 14:48:42 +02:00
David Asunmo
8114af4c01
[Localization] Add toString to DateWrapper for better debugging
2025-10-02 14:48:42 +02:00
David Asunmo
41b77ef2ac
Fix typo
2025-10-02 14:48:42 +02:00
David Asunmo
5fcd97104c
[SoundCloud] SoundCloudStreamExtractor.getTimeStamp return 0 if no timestamp in url
2025-10-02 14:48:42 +02:00
David Asunmo
d9af459ecf
Remove redundant override
2025-10-02 14:48:42 +02:00
David Asunmo
5e7818cd84
Fix typo
2025-10-02 14:48:41 +02:00
Tobi
dd2f24f7d1
Merge pull request #1380 from TeamNewPipe/dependabot/gradle/com.puppycrawl.tools-checkstyle-10.26.1
...
Bump com.puppycrawl.tools:checkstyle from 10.4 to 10.26.1
2025-10-02 02:44:04 -07:00
dependabot[bot]
1dbb5c8d04
Bump com.puppycrawl.tools:checkstyle from 10.4 to 10.26.1
...
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle ) from 10.4 to 10.26.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases )
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.4...checkstyle-10.26.1 )
---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
dependency-version: 10.26.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 09:32:44 +00:00
Tobi
25a57ae0f0
Merge pull request #1379 from TeamNewPipe/dependabot/gradle/org.junit-junit-bom-5.14.0
...
Bump org.junit:junit-bom from 5.13.4 to 5.14.0
2025-10-02 02:31:44 -07:00
dependabot[bot]
749e7ee317
Bump org.junit:junit-bom from 5.13.4 to 5.14.0
...
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit-framework ) from 5.13.4 to 5.14.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases )
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.4...r5.14.0 )
---
updated-dependencies:
- dependency-name: org.junit:junit-bom
dependency-version: 5.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 09:02:03 +00:00
Isira Seneviratne
1a5ac2fa37
Fix nested tests
2025-09-18 06:26:32 +05:30
Isira Seneviratne
f38b72ce7d
Avoid potential NPEs in Soundcloud extractors
2025-09-18 06:24:18 +05:30
Isira Seneviratne
59e78c2ba4
Fix tests
2025-09-18 05:49:20 +05:30
Isira Seneviratne
f9f71cbbe6
Fix some issues
2025-09-17 07:11:31 +05:30
Isira Seneviratne
8727659d2d
Use LocalDateTime instead of LocalDate
2025-09-16 08:07:54 +05:30