Skip to content

Set forceFileReadOnce to true also for /directplayout? #149

@Poitrin

Description

@Poitrin

When calling /controlRundownItemByID, forceFileReadOnce is set to true, which ensures data is read from disk, see comments:

// 1.3.0 MAJOR BUG FIXED! If rundown was populated to memory it was used
// when controlRundownItemByID API call was made. This caused the
// rundown to be read from memory data and not actual rundown file
// that was requested. Now a new forceFileRead parameter is added.

When calling /directplayout, this parameter is not set, so SPX uses the global.rundownData in-memory data instead.

This caused the error Requested itemID […] not found on the rundown […], even though the item was available in the file.

Should /directplayout therefore also define forceFileReadOnce = true?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions