mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 02:49:05 -07:00
22 lines
422 B
C#
22 lines
422 B
C#
|
using System;
|
|||
|
|
|||
|
namespace MediaBrowser.Dlna.PlayTo
|
|||
|
{
|
|||
|
public class CurrentIdEventArgs : EventArgs
|
|||
|
{
|
|||
|
public Guid Id { get; set; }
|
|||
|
|
|||
|
public CurrentIdEventArgs(string id)
|
|||
|
{
|
|||
|
if (string.IsNullOrWhiteSpace(id) || id == "0")
|
|||
|
{
|
|||
|
Id = Guid.Empty;
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
Id = new Guid(id);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|