mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-05 07:28:01 +00:00
bugfix: osc gotoid
- typo in loadEvent call - force string on osc parameter call
This commit is contained in:
@@ -472,7 +472,7 @@ class EventTimer extends Timer {
|
||||
|
||||
if (eventIndex === -1) return;
|
||||
this.pause();
|
||||
this.loadEvent(eventIndex, true, true);
|
||||
this.loadEvent(eventIndex, 'load', true);
|
||||
}
|
||||
|
||||
// Loads a given event
|
||||
|
||||
@@ -71,7 +71,7 @@ const initiateOSC = (config) => {
|
||||
case 'gotoid':
|
||||
console.log('calling gotoid with', args);
|
||||
try {
|
||||
global.timer.loadEventById(args.toLowerCase());
|
||||
global.timer.loadEventById(args.toString().toLowerCase());
|
||||
} catch (error) {
|
||||
console.log('error calling goto: ', error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user