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

fix audio playback

This commit is contained in:
Luke Pulverenti 2015-03-04 15:37:35 -05:00
parent 4055e10a4e
commit aa333d4a60
4 changed files with 7 additions and 6 deletions

View file

@ -132,8 +132,6 @@
childText += Globalize.translate('ValueMinutes', 0);
}
//childText += item.ChildCount == 1 ? "1 item" : item.ChildCount + " items";
counts.push(childText);
}
@ -866,7 +864,10 @@
atts.push('data-context="' + (options.context || '') + '"');
atts.push('data-itemtype="' + item.Type + '"');
atts.push('data-mediatype="' + (item.MediaType || '') + '"');
atts.push('data-positionticks="' + (item.UserData.PlaybackPositionTicks || 0) + '"');
if (item.UserData.PlaybackPositionTicks) {
atts.push('data-positionticks="' + (item.UserData.PlaybackPositionTicks || 0) + '"');
}
atts.push('data-playaccess="' + (item.PlayAccess || '') + '"');
atts.push('data-locationtype="' + (item.LocationType || '') + '"');