Add item id to playback start/stop events
This commit is contained in:
parent
958f8f71e8
commit
46a6755e65
|
@ -65,7 +65,10 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session
|
|||
GetItemName(eventArgs.MediaInfo),
|
||||
eventArgs.DeviceName),
|
||||
GetPlaybackNotificationType(eventArgs.MediaInfo.MediaType),
|
||||
user.Id))
|
||||
user.Id)
|
||||
{
|
||||
ItemId = eventArgs.Item?.Id.ToString()
|
||||
})
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,10 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session
|
|||
GetItemName(item),
|
||||
eventArgs.DeviceName),
|
||||
notificationType,
|
||||
user.Id))
|
||||
user.Id)
|
||||
{
|
||||
ItemId = eventArgs.Item?.Id.ToString()
|
||||
})
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user