1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix canPlay for Live TV

This commit is contained in:
Dmitry Lyzo 2020-12-10 13:47:16 +03:00
parent 3992265189
commit df4e5e73a5
2 changed files with 5 additions and 1 deletions

View file

@ -147,6 +147,8 @@ import toast from './toast/toast';
MediaType: card.getAttribute('data-mediatype'),
Path: card.getAttribute('data-path'),
IsFolder: card.getAttribute('data-isfolder') === 'true',
StartDate: card.getAttribute('data-startdate'),
EndDate: card.getAttribute('data-enddate'),
UserData: {
PlaybackPositionTicks: parseInt(card.getAttribute('data-positionticks') || '0')
}