yuuiko / AquaTouch

Dynamic Custom Macros for your MacBook TouchBar! (Supports 40+ Apps and Websites)
https://community.folivora.ai/t/1704
177 stars 8 forks source link

Bug: Chrome youtube elapsed time is broken #89

Open JinwooYang opened 3 years ago

JinwooYang commented 3 years ago

Describe the bug Chrome youtube elapsed time text is broken. & keyword is shown frequently.

Screenshots image

After checking the code, There seems to be a problem with the script that shows the elapsed time of Chrome YouTube.

if hh is 0 then
    set position to mm & ":" & ss
else
    set position to hh & ":" & mm & ":" & ss
end if

it should be

if hh is 0 then
    set position to "" & mm & ":" & ss
else
    set position to "" & hh & ":" & mm & ":" & ss
end if

It looks like mm and hh is not a text in some cases.

After change. it works fine.

image

Details:

JinwooYang commented 3 years ago

Web Tool - Youtube Chrome Open > Duration has the same problem.

It should be

image