edited230126
This commit is contained in:
@@ -75,7 +75,7 @@ def display_playlist(token: str):
|
||||
}
|
||||
if item.item_type in ("image", "video") and item.file_path:
|
||||
payload["src"] = url_for("static", filename=item.file_path)
|
||||
if item.item_type == "webpage":
|
||||
if item.item_type in ("webpage", "youtube"):
|
||||
payload["url"] = item.url
|
||||
items.append(payload)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user