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

implement modular media sources

This commit is contained in:
Luke Pulverenti 2015-03-28 16:22:27 -04:00
parent e266c8c4c8
commit c2800786fa

View file

@ -665,10 +665,6 @@
DeviceProfile: deviceProfile
};
if (mediaSource) {
postData.MediaSource = mediaSource;
}
var query = {
UserId: Dashboard.getCurrentUserId(),
StartTimeTicks: startPosition || 0
@ -680,6 +676,9 @@
if (subtitleStreamIndex != null) {
query.SubtitleStreamIndex = subtitleStreamIndex;
}
if (mediaSource) {
query.MediaSourceId = mediaSource.Id;
}
return ApiClient.ajax({
url: ApiClient.getUrl('Items/' + itemId + '/PlaybackInfo', query),