mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
b5bbb98175
* Further split inbound and outbound messages * Fix datatype for inbound start messages * fixes from review
24 lines
748 B
C#
24 lines
748 B
C#
using System.ComponentModel;
|
|
using MediaBrowser.Model.Entities;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
|
|
|
/// <summary>
|
|
/// Library changed message.
|
|
/// </summary>
|
|
public class LibraryChangedMessage : OutboundWebSocketMessage<LibraryUpdateInfo>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="LibraryChangedMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">The library update info.</param>
|
|
public LibraryChangedMessage(LibraryUpdateInfo data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.LibraryChanged)]
|
|
public override SessionMessageType MessageType => SessionMessageType.LibraryChanged;
|
|
}
|