feat: video download

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-06 12:12:32 +08:00
parent 976622df89
commit ffd4f9ee73
92 changed files with 4853 additions and 946 deletions

View File

@@ -145,7 +145,7 @@ class VideoPlayerServiceHandler extends BaseAudioHandler with SeekHandler {
);
mediaItem = MediaItem(
id: id,
title: current?.pagePart ?? '',
title: current?.part ?? '',
artist: data.owner?.name,
duration: Duration(seconds: current?.duration ?? 0),
artUri: Uri.parse(data.pic ?? ''),
@@ -180,7 +180,7 @@ class VideoPlayerServiceHandler extends BaseAudioHandler with SeekHandler {
} else if (data is Part) {
mediaItem = MediaItem(
id: id,
title: data.pagePart ?? '',
title: data.part ?? '',
artist: artist,
duration: Duration(seconds: data.duration ?? 0),
artUri: Uri.parse(cover ?? ''),