GBR: Update video main page

This commit is contained in:
Kenta420 2025-04-21 17:21:59 +07:00
parent 8fbddacef4
commit 9801cfb321
3 changed files with 13 additions and 37 deletions

View file

@ -23,36 +23,14 @@ If SystemDateMonthInt = 1 Then
Var EventNewYear = 1
EndIf
EndIf
If SystemDateDayInt <= 31 Then
GetFileSizeK "taobin_project/inter/gbr/video/video_main_ao.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 20796764 Then
Var EventAO = 1
Else
DEBUGVAR "AO:Size incorrect"
EndIf
EndIf
EndIf
If SystemDateMonthInt = 3 Then
GetFileSizeK "taobin_project/inter/gbr/video/video_main_StPatrick.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 17941307 Then
Var StPatrickEvent = 1
Else
DEBUGVAR "StPatrick: Video size incorrect"
EndIf
EndIf
If SystemDateMonthInt = 4 Then
GetFileSizeK "taobin_project/inter/gbr/video/video_main_happy_easter.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 21836197 Then
Var HappyEasterEvent = 1
Else
DEBUGVAR "HappyEaster: Video size incorrect"
EndIf
GetFileSizeK "taobin_project/inter/gbr/video/video_main_ao.mp4" MainfileSize
DEBUGVAR MainfileSize
If MainfileSize = 18183048 Then
Var EventAO = 1
Else
DEBUGVAR "AO:Size incorrect"
EndIf
DEBUGVAR EventNewYear
@ -68,14 +46,5 @@ Else
EndIf
If EventAO = 1 Then
Var VideoMainPage = "ROOT/taobin_project/inter/gbr/video/video_main_ao.mp4"
EndIf
If StPatrickEvent = 1 Then
Var VideoMainPage = "ROOT/taobin_project/inter/gbr/video/video_main_StPatrick.mp4"
EndIf
If HappyEasterEvent = 1 Then
Var VideoMainPage = "ROOT/taobin_project/inter/gbr/video/video_main_happy_easter.mp4"
EndIf

Binary file not shown.