mirror of
https://github.com/jellyfin/jellyfin-plugin-tvheadend.git
synced 2024-11-26 23:20:41 +00:00
Fixed: stream to DLNA device
Without this change "stream to DLNA" creates an empty MediaPath leading to broken ffmpeg commands.
This commit is contained in:
parent
1bb87b5ca0
commit
7e9197e694
@ -472,10 +472,10 @@ namespace TVHeadEnd
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public Task<List<MediaSourceInfo>> GetChannelStreamMediaSources(string channelId, CancellationToken cancellationToken)
|
||||
public async Task<List<MediaSourceInfo>> GetChannelStreamMediaSources(string channelId, CancellationToken cancellationToken)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
var source = await GetChannelStream(channelId, string.Empty, cancellationToken);
|
||||
return new List<MediaSourceInfo>() { source };
|
||||
}
|
||||
|
||||
public async Task<SeriesTimerInfo> GetNewTimerDefaultsAsync(CancellationToken cancellationToken, ProgramInfo program = null)
|
||||
@ -630,9 +630,10 @@ namespace TVHeadEnd
|
||||
}
|
||||
}
|
||||
|
||||
public Task<List<MediaSourceInfo>> GetRecordingStreamMediaSources(string recordingId, CancellationToken cancellationToken)
|
||||
public async Task<List<MediaSourceInfo>> GetRecordingStreamMediaSources(string recordingId, CancellationToken cancellationToken)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
var source = await GetRecordingStream(recordingId, string.Empty, cancellationToken);
|
||||
return new List<MediaSourceInfo>() { source };
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<SeriesTimerInfo>> GetSeriesTimersAsync(CancellationToken cancellationToken)
|
||||
|
Loading…
Reference in New Issue
Block a user