MOD Gui support.

This commit is contained in:
Robin E. R. Davies
2025-07-10 11:37:02 -04:00
parent e7cdd38056
commit 890368352f
45 changed files with 1971 additions and 806 deletions
+4 -4
View File
@@ -525,7 +525,7 @@ export default function ToobPlayerControl(
function onNextTrack() {
model.getNextAudioFile(audioFile)
.then((file) => {
let json = JsonAtom.Path(file);
let json = JsonAtom._Path(file).asAny();
model.setPatchProperty(
props.instanceId,
AUDIO_FILE_PROPERTY_URI,
@@ -538,7 +538,7 @@ export default function ToobPlayerControl(
function onPreviousTrack() {
model.getPreviousAudioFile(audioFile)
.then((file) => {
let json = JsonAtom.Path(file);
let json = JsonAtom._Path(file).asAny();
model.setPatchProperty(
props.instanceId,
AUDIO_FILE_PROPERTY_URI,
@@ -873,7 +873,7 @@ export default function ToobPlayerControl(
model.setPatchProperty(
props.instanceId,
AUDIO_FILE_PROPERTY_URI,
JsonAtom.Path(selectedFile)
JsonAtom._Path(selectedFile).asAny()
)
.then(() => {
@@ -888,7 +888,7 @@ export default function ToobPlayerControl(
model.setPatchProperty(
props.instanceId,
fileProperty.patchProperty,
JsonAtom.Path(selectedFile)
JsonAtom._Path(selectedFile).asAny()
)
.then(() => {