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

Add item path to card data to support canPlay check

This commit is contained in:
Bill Thornton 2020-12-03 01:12:52 -05:00
parent 827a065de0
commit 042c0248a0
2 changed files with 3 additions and 1 deletions

View file

@ -145,6 +145,7 @@ import toast from './toast/toast';
SeriesId: card.getAttribute('data-seriesid'),
ServerId: card.getAttribute('data-serverid'),
MediaType: card.getAttribute('data-mediatype'),
Path: card.getAttribute('data-path'),
IsFolder: card.getAttribute('data-isfolder') === 'true',
UserData: {
PlaybackPositionTicks: parseInt(card.getAttribute('data-positionticks') || '0')