syncing 1.7.60 ballistica binary

This commit is contained in:
Ayush Saini 2026-02-15 14:00:00 +05:30
parent 2870c850c4
commit e02f1dbe52
241 changed files with 10185 additions and 1827 deletions

View file

@ -1,6 +1,7 @@
# Released under the MIT License. See LICENSE for details.
#
"""Music playback functionality using the Mac Music (formerly iTunes) app."""
from __future__ import annotations
import logging
@ -95,7 +96,7 @@ class _MacMusicAppThread(threading.Thread):
def do_print() -> None:
babase.apptimer(
0.5,
babase.Call(
babase.CallStrict(
babase.screenmessage,
babase.Lstr(resource='usingItunesText'),
(0, 1, 0),
@ -198,7 +199,9 @@ class _MacMusicAppThread(threading.Thread):
except Exception as exc:
print('Error getting iTunes playlists:', exc)
playlists = []
babase.pushcall(babase.Call(target, playlists), from_other_thread=True)
babase.pushcall(
babase.CallStrict(target, playlists), from_other_thread=True
)
def _handle_play_command(self, target: str | None) -> None:
if target is None:
@ -246,7 +249,7 @@ class _MacMusicAppThread(threading.Thread):
pass
else:
babase.pushcall(
babase.Call(
babase.CallStrict(
babase.screenmessage,
babase.app.lang.get_resource('playlistNotFoundText')
+ ': \''