Release Kaleido 0.1.8 with cast browsing and refreshed title pages
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m8s

This commit is contained in:
Elijah 2026-10-25 21:49:24 -07:00
parent 119f1ae5a9
commit 5199bb0928
28 changed files with 982 additions and 187 deletions

View file

@ -9,15 +9,15 @@ from device import adb,OUT,screenshot
def setting():
launch();key(22,4);focused('Settings');key(23);focused('Sign in with Plex')
key(20);focused('Mode: Direct stream');key(20);focused('Mark watched at 80%');key(20)
key(21);focused('Connection');key(20,2);focused('Interface');key(22);focused('Navigation sounds')
def persistence():
setting();focused('Navigation sounds: On');key(23);focused('Navigation sounds: Off')
setting();focused('Navigation sounds');text('On');key(23);focused('Navigation sounds');text('Off')
screenshot('navigation-sounds-off')
setting();focused('Navigation sounds: Off')
setting();focused('Navigation sounds');text('Off')
print('PASS disabling navigation sounds persists across process restart',flush=True)
key(23);focused('Navigation sounds: On')
setting();focused('Navigation sounds: On')
key(23);focused('Navigation sounds');text('On')
setting();focused('Navigation sounds');text('On')
print('PASS enabling navigation sounds persists across process restart',flush=True)
screenshot('navigation-sounds-on');key(4);focused('Home');text('Continue Watching')
@ -28,16 +28,16 @@ def audio():
adb('shell','atrace','--async_start','-b','16384','audio')
try:
for _ in range(3):
adb('shell','input','keyevent','20');time.sleep(.3)
adb('shell','input','keyevent','19');time.sleep(.3)
adb('shell','input','keyevent','21');time.sleep(.3)
adb('shell','input','keyevent','22');time.sleep(.3)
time.sleep(.4)
finally:raw=adb('shell','atrace','--async_stop','audio').decode(errors='replace')
(OUT/f'navigation-audio-{label}-atrace.txt').write_text(raw)
focused('Navigation sounds: '+label.capitalize())
focused('Navigation sounds');text(label.capitalize())
return sum('tracing_mark_write: B|' in line and line.endswith('|write') for line in raw.splitlines())
setting();focused('Navigation sounds: On');key(23);focused('Navigation sounds: Off')
setting();focused('Navigation sounds');text('On');key(23);focused('Navigation sounds');text('Off')
muted=probe('off')
key(23);focused('Navigation sounds: On');enabled=probe('on')
key(23);focused('Navigation sounds');text('On');enabled=probe('on')
result={'mutedMixerWrites':muted,'enabledMixerWrites':enabled}
(OUT/'navigation-audio-results.json').write_text(json.dumps(result,indent=2)+'\n')
print('Native audio activity:',result,flush=True)