Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Pieces reported as stopped when they're not #1153

Open
PeterC89 opened this issue Feb 23, 2024 · 1 comment
Open

Bug Report: Pieces reported as stopped when they're not #1153

PeterC89 opened this issue Feb 23, 2024 · 1 comment
Labels
🐛bug Something isn't working

Comments

@PeterC89
Copy link
Contributor

About me

This bug report is posted on behalf of the BBC

Observed Behavior

Pieces that are stopped either via stopPiecesOnLayers or stopPieceInstances don't always stop.
They continue to show in the GUI as playing and the timeline objects continue to exist but the database shows them as stopped and thus they cannot be stopped without inserting another piece on the same layer.

{
    "_id": "_OPGI0kSC8f98MBOHDY3zSJOXHc__s7G93nXmWcvFivTbe_jv33kKaXSuNunW5AG",
    "rundownId": "2kgghfTRYjAlP5g9OHExeWfRfz0_",
    "playlistActivationId": "u6hBjd8Gxcbb3tK6F",
    "partInstanceId": "_OPGI0kSC8f98MBOHDY3zSJOXHc__s7G93nXmWcvFivTbe",
    "piece": {
        "pieceType": "normal",
        "externalId": "4QKGx03_lgcT8d2RPgoWwncw7Ec__audio",
        "enable": {
            "start": 39290
        },
        "name": "OS 2 Audio",
        "sourceLayerId": "audio_os_2",
        "outputLayerId": "pgm_audio",
        "content": {},
        "lifespan": "part-only",
        "_id": "jv33kKaXSuNunW5AG",
        "startPartId": "_OPGI0kSC8f98MBOHDY3zSJOXHc_",
        "invalid": false
    },
    "dynamicallyInserted": 1707217468628,
    "reportedStartedPlayback": 1707217468743.5,
    "plannedStartedPlayback": 1707217468743.5,
    "reportedStoppedPlayback": 1707217468818.5,
    "plannedStoppedPlayback": 1707217468818.5
}

For example stopping 5 layers using stopPiecesOnLayers results in core reporting the cropping of only 4 layers

{"level":"info","message":"Blueprint action: Cropping PieceInstance \"_OPGI0kSC8f98MBOHDY3zSJOXHc__sYbadkxf8fXn4bLg8_CypP6SRsfsTQeRfnq\" to 1707223033540","source":"studio:studio0"}
{"level":"info","message":"Blueprint action: Cropping PieceInstance \"_OPGI0kSC8f98MBOHDY3zSJOXHc__sYbadkxf8fXn4bLg8_jtRBkGh2DCFDe2STu\" to 1707223033540","source":"studio:studio0"}
{"level":"info","message":"Blueprint action: Cropping PieceInstance \"_OPGI0kSC8f98MBOHDY3zSJOXHc__sYbadkxf8fXn4bLg8_8tSjLkceoeaDq8ZRT\" to 1707223033540","source":"studio:studio0"}
{"level":"info","message":"Blueprint action: Cropping PieceInstance \"_OPGI0kSC8f98MBOHDY3zSJOXHc__sYbadkxf8fXn4bLg8_6xoYTX85PWTMqXpGo\" to 1707223033540","source":"studio:studio0"}

Expected Behavior

Pieces should stop when requested

Version

release51

Severity / Impact

Not currently an issue as enabling multi-gateway mode 'fixes' this issue
Multi-gateway mode also appears to fix #1118

Level of Involvement

Just raising awareness

@PeterC89 PeterC89 added the 🐛bug Something isn't working label Feb 23, 2024
@Julusian
Copy link
Member

Julusian commented Sep 2, 2024

@PeterC89 This sounds like this could be the same issue as we have seen at NRK. The fix for that was 7485d2b, could you retest with that fix to see if that fix resolves this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants