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:
parent
827a065de0
commit
042c0248a0
2 changed files with 3 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue