fix: replace retained report sessions when re-adding queue items
This commit is contained in:
@@ -40,8 +40,9 @@ Player *player_create(void);
|
||||
// Opt-in reporting must be initialized before opening media. Creates a new 0600
|
||||
// file exclusively; errors never change playback state. Error buffers hold 512 bytes.
|
||||
bool player_set_progress_file(Player *player, const char *path, char *error);
|
||||
// Register immutable queue destinations without changing current playback. Each path is new;
|
||||
// revisits append only to the original owned inode. Conflicting identities/paths are rejected.
|
||||
// Register queue destinations without changing playback. Each path is new and stays reserved.
|
||||
// A fresh path replaces an identity's previous session after draining its writer; callers
|
||||
// reject identities still queued. Revisits append only to the registered session's owned inode.
|
||||
// Atomic batch: all registrations succeed or none do. Strings are copied before returning.
|
||||
bool player_register_progress_files(Player *player, const char *const *identities,
|
||||
const char *const *paths, int count, char *error);
|
||||
|
||||
Reference in New Issue
Block a user