web: add error surfacing
This commit is contained in:
@@ -28,6 +28,7 @@ export interface PlaylistItem {
|
||||
id: number;
|
||||
playing: boolean | null;
|
||||
metadata?: Metadata;
|
||||
playbackError?: string;
|
||||
}
|
||||
|
||||
export const getDisplayTitle = (item: PlaylistItem): string => {
|
||||
@@ -62,6 +63,7 @@ export enum ServerEvent {
|
||||
FavoritesUpdate = "favorites_update",
|
||||
MetadataUpdate = "metadata_update",
|
||||
MPDUpdate = "mpd_update",
|
||||
PlaybackError = "playback_error",
|
||||
ScreenShare = "screen_share",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user