mirror of
https://github.com/recloudstream/cloudstream-extensions.git
synced 2024-08-15 03:03:54 +00:00
Add size to SuperStream
This commit is contained in:
parent
778119f1eb
commit
4a264fb17c
1 changed files with 4 additions and 2 deletions
|
@ -624,10 +624,12 @@ class SuperStream : MainAPI() {
|
|||
callback: (ExtractorLink) -> Unit
|
||||
): Boolean {
|
||||
fun LinkList.toExtractorLink(): ExtractorLink? {
|
||||
if (this.path.isNullOrBlank()) return null
|
||||
|
||||
return ExtractorLink(
|
||||
this@SuperStream.name,
|
||||
this.filename ?: "",
|
||||
this.path?.replace("\\/", "") ?: return null,
|
||||
"${this.filename ?: ""} ${this.size ?: ""}".trim(),
|
||||
this.path.replace("\\/", ""),
|
||||
"",
|
||||
getQualityFromName(this.quality),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue