@freqhole/api-client 0.3.10 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -99,7 +99,7 @@ export class CharnelLocalTransport implements Transport {
|
|
|
99
99
|
constructor(_baseUrl: string) {
|
|
100
100
|
// baseUrl no longer needed - all requests go through IPC.
|
|
101
101
|
// (used to also kick off an embedded http loopback server probe
|
|
102
|
-
// here; that server has been removed in favor of the
|
|
102
|
+
// here; that server has been removed in favor of the libmpv backend.)
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/**
|
|
@@ -429,7 +429,7 @@ export class CharnelLocalTransport implements Transport {
|
|
|
429
429
|
* 1. cached object URL (db-stored blobs)
|
|
430
430
|
* 2. tauri asset:// (via `convertFileSrc`), for any blob with a local path
|
|
431
431
|
*
|
|
432
|
-
* note: when the
|
|
432
|
+
* note: when the libmpv audio backend is enabled (charnel + opt-in)
|
|
433
433
|
* playback bypasses html `<audio>` entirely and reads files via
|
|
434
434
|
* filesystem path — this method is unused for that path.
|
|
435
435
|
*/
|
package/src/codegen/schema.ts
CHANGED
|
@@ -4658,7 +4658,7 @@ export const PlaybackSessionTypeSchema = z.union([z.literal("song"), z.literal("
|
|
|
4658
4658
|
export type PlaybackSessionType = z.infer<typeof PlaybackSessionTypeSchema>;
|
|
4659
4659
|
|
|
4660
4660
|
export const PlayerCommandSchema = z.union([
|
|
4661
|
-
z.object({ kind: z.literal("load"), paths: z.array(z.string()) }),
|
|
4661
|
+
z.object({ kind: z.literal("load"), paths: z.array(z.string()), start_ms: z.number().nullish(), start_paused: z.boolean() }),
|
|
4662
4662
|
z.object({ kind: z.literal("enqueue"), paths: z.array(z.string()) }),
|
|
4663
4663
|
z.object({ kind: z.literal("play") }),
|
|
4664
4664
|
z.object({ kind: z.literal("pause") }),
|