Skip to content

Status-Label shows incorrect information #498

@marcusm7

Description

@marcusm7

Describe the bug
The blue label (or button) in the event doesn't show the right info.

  • %s should be replaced with the scheduled starting date/ time or the scheduled event time window.
  • Live status is not correct for live events - it claims to be not live, but there is a live HLS stream
  • Live status is not correct for finished events which have not been ingested to Opencast
  • Live status does display misleading info for some cases (Live-Übertragung noch nicht begonnen, for streams which are finished early.

To Reproduce
Steps to reproduce the behavior:

  1. Plan an event with a live publication. Wait for it to pass. Don't ingest the recording to Opencast.
  2. Plan a second event with a live publication. Wait until the event has begun. Make sure the HLS stream is available.
  3. open the corresponding series in Ilias.
  4. See error (screenshot) %s, invalid or misleading status informations

Expected behavior

  • Note: this is my opinion and should be subject to discussion. It may be better to not display some information at all (instead of displaying wrong information or spending development effort).
  • The label should be self updating (without reloading the page) if it has to display the status change of a HLS stream that is about to start. If it isn't self updating, outdated info about the stream status could be misleading for the users.
  • (The label should have localization (ger, en, ...) - I didn't look into this.)
  • The label should display live streaming info only during the expected/ scheduled time range + some margin before/ after the stream. This time window should adhere to the behaviour of the link to join the stream. It must not display the status of events outside of mentioned time frame, otherwise the status of a following event in the same location might be shown.
  • "Der Livestream hat noch nicht begonnen" The label should not make assumptions whether the live event has/ has not yet started or if it is finished. The plugin can't know if
    • a stream will start delayed or
    • has finished early or
    • is postponed for various reasons
    • or won't start at all
  • my suggestion:
    • if the HLS stream is active: display "Laufende Liveübertragung" and maybe the scheduled time window
    • if the stream is not active: display the scheduled time window and maybe "Liveübertragung inaktiv"
    • Note: The scheduled end of the event may change during the event.
  • The label should display the expected live stream time window or planned starting time instead of %s

Screenshots
Image

  • upper event shows a currently live event (with active hls stream)
  • lower event is an event in the past

Log
No

Environment (please complete the following information):

  • Ilias 10
  • Plugin release_10, commit 6929cca (HEAD -> srsolutions/fix/10/494, srsolutions/fix/10/494)
  • Firefox

Additional context
No

Metadata

Metadata

Assignees

No one assigned

    Labels

    To discussNeeds discussion with the communitybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions