mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-16 14:12:20 +02:00
add two attributes to content.py to_dict
This commit is contained in:
@@ -135,6 +135,8 @@ class Content:
|
||||
"Country": self.country,
|
||||
"Language": self.language,
|
||||
"StreamingFormat": self.streaming_format,
|
||||
"LicenseUrl": self.license_url,
|
||||
"CertificateUrl": self.certificate_url,
|
||||
}
|
||||
if self.drm_config:
|
||||
result["DrmConfig"] = self.drm_config.to_dict()
|
||||
|
||||
Reference in New Issue
Block a user