mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 08:36:17 +08:00
feat: pugv (#927)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -153,9 +153,11 @@ class VideoPlayerServiceHandler extends BaseAudioHandler with SeekHandler {
|
||||
} else if (data is EpisodeItem) {
|
||||
mediaItem = MediaItem(
|
||||
id: id,
|
||||
title: data.showTitle ?? data.title ?? '',
|
||||
title: data.showTitle ?? data.longTitle ?? data.title ?? '',
|
||||
artist: artist,
|
||||
duration: Duration(milliseconds: data.duration ?? 0),
|
||||
duration: data.from == 'pugv'
|
||||
? Duration(seconds: data.duration ?? 0)
|
||||
: Duration(milliseconds: data.duration ?? 0),
|
||||
artUri: Uri.parse(data.cover ?? ''),
|
||||
);
|
||||
} else if (data is RoomInfoH5Data) {
|
||||
|
||||
Reference in New Issue
Block a user