update live tv media sources
This commit is contained in:
parent
d6d3a5fc24
commit
deb6e5a2ee
|
@ -351,7 +351,15 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
|||
var item = GetInternalChannel(id);
|
||||
var service = GetService(item);
|
||||
|
||||
return await service.GetChannelStreamMediaSources(item.ExternalId, cancellationToken).ConfigureAwait(false);
|
||||
var sources = await service.GetChannelStreamMediaSources(item.ExternalId, cancellationToken).ConfigureAwait(false);
|
||||
var list = sources.ToList();
|
||||
|
||||
foreach (var source in list)
|
||||
{
|
||||
Normalize(source, item.ChannelType == ChannelType.TV);
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
private ILiveTvService GetService(ILiveTvItem item)
|
||||
|
|
|
@ -228,6 +228,9 @@
|
|||
<Content Include="dashboard-ui\thirdparty\cordova\chromecast.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\cordova\connectsdk.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\cordova\imagestore.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
|
Loading…
Reference in New Issue
Block a user