mirror of
https://github.com/ReviveMii/revivetube
synced 2024-12-29 06:10:44 +01:00
Update revivetube.py
This commit is contained in:
parent
f2b69ff8ac
commit
2ecd4a2eaf
@ -164,7 +164,7 @@ def watch():
|
||||
|
||||
# User-Agent prüfen
|
||||
user_agent = request.headers.get("User-Agent", "").lower()
|
||||
is_wii = "wii" in user_agent
|
||||
is_wii = "wii" in user_agent and "wiiu" not in user_agent
|
||||
|
||||
# Video-Pfade
|
||||
video_mp4_path = os.path.join(VIDEO_FOLDER, f"{video_id}.mp4")
|
||||
|
Loading…
Reference in New Issue
Block a user