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

@@ -25,14 +25,15 @@ enum SourceType {
mediaType: 3,
extraId: 4,
playlistSource: PlaylistSource.MEDIA_LIST,
);
),
file;
final int mediaType;
final int? mediaType;
final int? extraId;
final PlaylistSource playlistSource;
final PlaylistSource? playlistSource;
const SourceType({
required this.mediaType,
this.mediaType,
this.extraId,
required this.playlistSource,
this.playlistSource,
});
}

View File

@@ -1,14 +1,15 @@
enum VideoQuality {
hdrVivid(129, 'HDR Vivid', 'HDR Vivid'),
super8k(127, '8K 超高清', '8K'),
dolbyVision(126, '杜比视界', '杜比'),
hdr(125, 'HDR 真彩', 'HDR'),
super4K(120, '4K 超清', '4K'),
high108060(116, '1080P60 高帧率', '1080P60'),
high1080plus(112, '1080P+ 高码率', '1080P+'),
hdr(125, 'HDR 真彩', 'HDR'),
super4K(120, '4K 超', '4K'),
high108060(116, '1080P 60', '1080P60'),
high1080plus(112, '1080P 高码率', '1080P+'),
high1080(80, '1080P 高清', '1080P'),
high72060(74, '720P60 高帧率', '720P60'),
high720(64, '720P 高清', '720P'),
clear480(32, '480P 清', '480P'),
high72060(74, '720P 60', '720P60'),
high720(64, '720P 高清', '720P'),
clear480(32, '480P ', '480P'),
fluent360(16, '360P 流畅', '360P'),
speed240(6, '240P 极速', '240P');