stream audio statically when possible

pull/702/head
Luke Pulverenti 12 years ago
parent 366beca6ff
commit 173ed019d1

@ -4,6 +4,7 @@ using MediaBrowser.Common.Extensions;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Dto;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Audio;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Persistence;
using MediaBrowser.Model.Connectivity;
@ -723,6 +724,11 @@ namespace MediaBrowser.Server.Implementations.Library
}
}
if (item is Audio)
{
data.PlaybackPositionTicks = 0;
}
data.PlaybackPositionTicks = positionTicks;
if (incrementPlayCount)

Loading…
Cancel
Save