mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
feat(core/formatter): add ageHours attribute to stream variable
This commit is contained in:
@@ -97,6 +97,7 @@ export interface ParseValue {
|
||||
seasonPack: boolean;
|
||||
seeders: number | null;
|
||||
age: string | null;
|
||||
ageHours: number | null;
|
||||
duration: number | null;
|
||||
infoHash: string | null;
|
||||
type: string | null;
|
||||
@@ -309,6 +310,7 @@ export abstract class BaseFormatter {
|
||||
duration: stream.duration || null,
|
||||
infoHash: stream.torrent?.infoHash || null,
|
||||
age: formattedAge,
|
||||
ageHours: stream.age || null,
|
||||
message: stream.message || null,
|
||||
proxied: stream.proxied ?? false,
|
||||
edition: stream.parsedFile?.edition || null,
|
||||
|
||||
Reference in New Issue
Block a user