mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-07 06:43:26 +01:00
beginning remote subtitle downloading
This commit is contained in:
@@ -77,6 +77,8 @@ namespace MediaBrowser.Dlna.PlayTo
|
||||
private readonly ILogger _logger;
|
||||
private readonly IServerConfigurationManager _config;
|
||||
|
||||
public DateTime DateLastActivity { get; private set; }
|
||||
|
||||
public Device(DeviceInfo deviceProperties, IHttpClient httpClient, ILogger logger, IServerConfigurationManager config)
|
||||
{
|
||||
Properties = deviceProperties;
|
||||
@@ -386,6 +388,8 @@ namespace MediaBrowser.Dlna.PlayTo
|
||||
{
|
||||
var transportState = await GetTransportInfo().ConfigureAwait(false);
|
||||
|
||||
DateLastActivity = DateTime.UtcNow;
|
||||
|
||||
if (transportState.HasValue)
|
||||
{
|
||||
// If we're not playing anything no need to get additional data
|
||||
|
||||
Reference in New Issue
Block a user