notifications

package
v2.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthLinkStatus added in v2.16.0

func AuthLinkStatus(ns chan<- models.Notification, payload *models.AuthLinkStatusResponse)

func BackupState added in v2.16.0

func BackupState(ns chan<- models.Notification, payload models.BackupStateNotification)

BackupState reports a running backup operation's pause/throttle state changing in response to a game starting or stopping.

func ClientsPaired added in v2.11.0

func ClientsPaired(ns chan<- models.Notification, payload models.ClientsPairedNotification)

func DecksChanged added in v2.18.0

func DecksChanged(ns chan<- models.Notification, payload models.DecksChangedNotification)

DecksChanged broadcasts that a deck was created, updated, deleted or refreshed from its source, so clients refresh their deck lists.

func InboxAdded added in v2.8.0

func InboxAdded(ns chan<- models.Notification, payload *models.InboxMessage)

func MediaHistoryChanged added in v2.19.0

func MediaHistoryChanged(ns chan<- models.Notification)

MediaHistoryChanged asks clients to refetch play history that a platform recorded outside the media.started and media.stopped lifecycle.

func MediaIndexing

func MediaIndexing(ns chan<- models.Notification, payload *models.IndexingStatusResponse)

func MediaPlayback added in v2.22.0

func MediaPlayback(publish func(models.Notification), payload models.ActiveMediaResponse)

MediaPlayback publishes the playback state of native audio in one slot, shaped as media.active returns it for that slot. It goes to the broker directly, like PlaylistsChanged, and is merged per slot, so one slot's update never replaces the other's.

func MediaScraping added in v2.12.0

func MediaScraping(ns chan<- models.Notification, payload *models.ScrapingStatusResponse)

func MediaStarted

func MediaStarted(ns chan<- models.Notification, payload models.MediaStartedParams)

func MediaStopped

func MediaStopped(ns chan<- models.Notification, payload *models.MediaStoppedParams)

func MediaTagsChanged added in v2.22.0

func MediaTagsChanged(ns chan<- models.Notification, payload models.MediaTagsChangedNotification)

MediaTagsChanged broadcasts an item's user utility tags after they changed, so clients update what they show for it without searching again.

func MediaVisibility added in v2.18.0

func MediaVisibility(ns chan<- models.Notification)

MediaVisibility asks clients to refresh discovery and hidden indicators.

func PlaylistsChanged added in v2.22.0

func PlaylistsChanged(publish func(models.Notification), payload models.PlaylistsChangedParams)

PlaylistsChanged publishes the open playlists of every slot. It goes to the broker directly, like UIChanged, so a full source queue cannot drop the latest state.

func PlaytimeExtended added in v2.17.0

func PlaytimeExtended(ns chan<- models.Notification, payload *models.PlaytimeExtendedParams)

func PlaytimeLimitReached added in v2.7.0

func PlaytimeLimitReached(ns chan<- models.Notification, payload models.PlaytimeLimitReachedParams)

func PlaytimeLimitWarning added in v2.7.0

func PlaytimeLimitWarning(ns chan<- models.Notification, payload models.PlaytimeLimitWarningParams)

func ProfilesActiveChanged added in v2.16.0

func ProfilesActiveChanged(ns chan<- models.Notification, payload models.ProfilesActiveNotification)

ProfilesActiveChanged broadcasts a change of the device's active profile. The payload profile is null when the device deactivated to no profile.

func ProfilesDataChanged added in v2.16.0

func ProfilesDataChanged(ns chan<- models.Notification, payload models.ProfilesDataNotification)

ProfilesDataChanged broadcasts the state of profile data swapping after a profile change (applied, deferred until media stops, failed, or unavailable on this platform/storage setup).

func ReadersAdded

func ReadersAdded(ns chan<- models.Notification, payload models.ReaderResponse)

func ReadersRemoved

func ReadersRemoved(ns chan<- models.Notification, payload models.ReaderResponse)

func RunFailed added in v2.18.0

func RunFailed(ns chan<- models.Notification, payload *models.RunFailedParams)

func TokensAdded

func TokensAdded(ns chan<- models.Notification, payload models.TokenResponse)

func TokensRemoved

func TokensRemoved(ns chan<- models.Notification)

func TokensStaged added in v2.11.0

func TokensStaged(ns chan<- models.Notification, payload models.TokenResponse)

func TokensStagedReady added in v2.11.0

func TokensStagedReady(ns chan<- models.Notification, payload models.TokenResponse)

func UIChanged added in v2.16.0

func UIChanged(publish func(models.Notification), payload models.UIStateResponse)

func UpdateState added in v2.17.0

func UpdateState(ns chan<- models.Notification, payload models.UpdateStateNotification)

UpdateState reports how far an update being applied has got.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL