238 Commits

Author SHA1 Message Date
Bnyro
119a7570a6
fix: infinitely looping channel tab items when using full local npe 2025-03-03 14:45:33 +01:00
FineFindus
a042657649
fix(Feed): extract shorts uploadDate from feedInfo
Shorts extracted from the Shorts tab do not have an uploadDate.
They are currently saved with their uploadDate set to -1. This results
in them to appear at the end of the feed. To fix this, we can use the
generic FeedInfo that contains the uploadDate. This also fixes an issue,
where old shorts were fetched on every refresh.

Ref: https://github.com/libre-tube/LibreTube/pull/7111
2025-03-03 13:38:32 +01:00
Bnyro
676c62a7e0
feat: add full local mode option to instance settings 2025-03-03 13:31:16 +01:00
Bnyro
7db8212c72
feat: add support for using local NewPipe Extractor 2025-03-03 13:31:14 +01:00
Bnyro
1dabd07de4
refactor: decouple and abstract auth from media service logic 2025-03-01 17:49:49 +01:00
FineFindus
abe77f4683
feat(Feed): update local feed data when watching video
As local feed videos are only fetched once, this can lead to outdated
data being displayed in the feed. As we already fetch the metadata when
the video is being played, use this data to update the locally stored
feed data.
2025-03-01 13:40:27 +01:00
Bnyro
dc0be0d352
feat: add progress indicator for local feed extraction 2025-03-01 13:37:41 +01:00
🤖
24a06351b2
refactor: optimize extraction performance & simplify code
+ Update NewPipeExtractor
+ Simplify NewPipeDownloaderImpl.kt implementation
+ Add parallel coroutines and avatar caching to StreamsExtractor.kt
+ Add batching to DeArrow API calls.

feat: optimize extraction performance & simplify code

+ fixes

spacing
2025-02-27 12:53:20 +01:00
Bnyro
77b6c08c54
fix: no shorts in locally generated subscriptions feed 2025-02-17 22:31:06 +01:00
Thomas W.
2ae689c74d
refactor: simplify add to playlist dialog (#7074) 2025-02-15 14:54:21 +01:00
Thomas W.
3a09869eb6
refactor: refactor WelcomeActivity and associated logic (#6996) 2025-02-05 20:26:45 +01:00
Thomas W.
d7835e4082
chore: use square kotlinx serialization converter (#7051) 2025-01-30 20:30:39 +01:00
Bnyro
c0ee29abaa
Merge pull request #7031 from FineFindus/fix/all-caught-up-upcoming
fix(StreamItem): correctly determine upcoming videos
2025-01-26 14:25:25 +01:00
FineFindus
fafaed7e56
fix(StreamItem): correctly determine upcoming videos
Fixes a bug, where the check for upcoming videos was inverted, i.e.
checking if the video had already been published. This caused the
all-caught-up indicator to appear incorrectly.

Ref: c3be28e23b
2025-01-26 12:32:20 +01:00
Bnyro
ebf9138026 meta: drop cronet 2025-01-24 19:12:58 +01:00
FineFindus
c3be28e23b
fix(SubscriptionsFragment): skip all-caught-up check for upcoming videos
Skips the check if a video has been already seen (caught up on) for
videos which have not been released yet, such as premieres. Doing the
check could lead to the all caught up continously displayed for upcoming
videos.
2025-01-23 14:29:10 +01:00
Bnyro
c15352a33d refactor: improve proxy url rewriting, store only unproxied URLs in database 2025-01-11 12:51:13 +01:00
Bnyro
92dba354b6 refactor: re-use StreamInfoItem#toStreamItem from StreamsExtractor 2025-01-11 12:08:29 +01:00
Bnyro
579fae287c feat: support for local feed extraction 2025-01-10 17:32:15 +01:00
Bnyro
2698368aee refactor: bind playlist repositories to interfaces 2025-01-10 15:42:59 +01:00
Bnyro
f54d0fd8a0 refactor: bind subscriptions and feed repositories to interfaces 2025-01-10 15:20:26 +01:00
Bnyro
0a724e56dc refactor: move local playlists logic to LocalPlaylistsRepository 2025-01-08 15:29:19 +01:00
Bnyro
ade0732ee6 refactor: directly add loaded videos to playlist to improve UX 2024-12-07 20:29:14 +01:00
Bnyro
b062c6165e refactor: simplify and improve playlist export logic 2024-12-05 21:43:06 +01:00
FineFindus
1e4958b8be
feat: display full video sponsorblock categories 2024-11-18 19:14:07 +01:00
Bnyro
e244ded084 refactor: merge VideoOnlinePlayerService with OnlinePlayerService 2024-11-18 18:25:47 +01:00
Bnyro
17b642127c refactor: Migrate to MediaLibraryService 2024-11-17 18:03:25 +01:00
Bnyro
65758e616b fix: work around that some livestreams are not declared as such by NPE 2024-11-09 16:28:07 +01:00
Bnyro
8a8c288601 fix: hide download buttons when current video is live 2024-11-04 17:00:12 +01:00
Bnyro
551a69535f fix: incorrect FreeTube playlist export 2024-10-24 16:45:47 +02:00
Bnyro
927f5a92f1 chore: correct typos detected by typos-cli 2024-10-08 17:10:16 +02:00
Bnyro
97708e2069 refactor: error handling for stream extractor responses 2024-09-26 15:56:26 +02:00
Bnyro
723faa5f1e
Merge pull request #6489 from Bnyro/master
refactor: cleanup DashHelper.kt
2024-09-14 12:01:08 +02:00
Bnyro
9b296fe036 refactor: cleanup DashHelper.kt 2024-09-14 12:00:40 +02:00
Jānis
66ccdf1b84
feat: RYD support for local stream extraction (#6483)
* feat: RYD support for local stream extraction

* add a switch

* use runCatching

* move check outside if statement

additionally return -1 if no dislikes were fetched.

---------

Co-authored-by: Bnyro <bnyro@tutanota.com>
2024-09-14 11:37:41 +02:00
Bnyro
8eac9d8a38 feat: highlight current selection in player options sheets (audio language, captions, resize/repeat mode) 2024-09-10 16:21:05 +02:00
Bnyro
68e371a8bb fix: videos in watch history uploaded in 1970 2024-09-03 18:34:40 +02:00
Bnyro
a2263de3ff feat: download support for local streams extractor 2024-08-26 15:26:02 +02:00
Bnyro
747899a898 fix: related streams published 54 years ago with local extractor 2024-08-26 15:08:45 +02:00
Bnyro
213fc626c1 fix: crashes and issues with local stream extractor 2024-08-23 16:23:38 +02:00
Bnyro
a6e7576f34 refactor: reduce amount of api calls for adding video to playlist 2024-08-23 13:33:29 +02:00
Bnyro
83f0823535 feat: local streams extraction 2024-08-23 12:31:20 +02:00
Bnyro
309427148c
Merge pull request #6168 from Bnyro/master
fix: crash when playing video without upload date
2024-06-21 16:28:45 +02:00
Bnyro
94ef6a00f4 fix: crash when playing video without upload date 2024-06-21 16:28:22 +02:00
Isira Seneviratne
d11b7b17b9 refactor: Use parcelable extensions with channel tabs 2024-06-15 06:06:21 +05:30
Bnyro
06289c5943 chore: optimize imports 2024-05-08 16:52:33 +02:00
Bnyro
ccaedfafbc fix: dearrow for playing video and watch history 2024-05-06 13:42:21 +02:00
Bnyro
7ac50280fd fix: http logging in debug builds not working due to cronet 2024-05-06 00:25:13 +02:00
Kavin
f7be0d140f
Fix cronet not being used because of httpClient 2024-04-26 20:21:13 +01:00
bodaciousbiscuits
480abe13aa
fix: crash when importing subscriptions list with invalid avatars (#5931)
Solves issue of subscription list not loading when channels have old/invalid avatars.
2024-04-23 13:25:56 +02:00