update video osd
This commit is contained in:
parent
656a923af1
commit
96d00fe21d
|
@ -23,7 +23,7 @@ namespace Emby.Dlna.Profiles
|
||||||
{
|
{
|
||||||
Match = HeaderMatchType.Substring,
|
Match = HeaderMatchType.Substring,
|
||||||
Name = "User-Agent",
|
Name = "User-Agent",
|
||||||
Value ="XiP"
|
Value ="Zip_"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<Manufacturer>Echostar Technologies LLC</Manufacturer>
|
<Manufacturer>Echostar Technologies LLC</Manufacturer>
|
||||||
<ManufacturerUrl>http://www.echostar.com</ManufacturerUrl>
|
<ManufacturerUrl>http://www.echostar.com</ManufacturerUrl>
|
||||||
<Headers>
|
<Headers>
|
||||||
<HttpHeaderInfo name="User-Agent" value="XiP" match="Substring" />
|
<HttpHeaderInfo name="User-Agent" value="Zip_" match="Substring" />
|
||||||
</Headers>
|
</Headers>
|
||||||
</Identification>
|
</Identification>
|
||||||
<Manufacturer>Emby</Manufacturer>
|
<Manufacturer>Emby</Manufacturer>
|
||||||
|
|
|
@ -182,7 +182,6 @@ namespace Emby.Server.Implementations.LiveTv.Listings
|
||||||
|
|
||||||
programsInfo.Add(GetProgram(channelNumber, schedule, programDict[schedule.programID]));
|
programsInfo.Add(GetProgram(channelNumber, schedule, programDict[schedule.programID]));
|
||||||
}
|
}
|
||||||
_logger.Info("Finished with EPGData");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -322,8 +321,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings
|
||||||
using (var response = await Get(httpOptions, true, info).ConfigureAwait(false))
|
using (var response = await Get(httpOptions, true, info).ConfigureAwait(false))
|
||||||
{
|
{
|
||||||
var root = _jsonSerializer.DeserializeFromStream<ScheduleDirect.Channel>(response);
|
var root = _jsonSerializer.DeserializeFromStream<ScheduleDirect.Channel>(response);
|
||||||
_logger.Info("Found " + root.map.Count + " channels on the lineup on ScheduleDirect");
|
|
||||||
_logger.Info("Mapping Stations to Channel");
|
|
||||||
foreach (ScheduleDirect.Map map in root.map)
|
foreach (ScheduleDirect.Map map in root.map)
|
||||||
{
|
{
|
||||||
var channelNumber = map.logicalChannelNumber;
|
var channelNumber = map.logicalChannelNumber;
|
||||||
|
@ -353,7 +351,6 @@ namespace Emby.Server.Implementations.LiveTv.Listings
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_logger.Info("Added " + GetChannelPairCacheCount(listingsId) + " channels to the dictionary");
|
|
||||||
|
|
||||||
foreach (ChannelInfo channel in channels)
|
foreach (ChannelInfo channel in channels)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user