aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/LiveTv/Listings
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-09-01 07:58:05 -0600
committercrobibero <cody@robibe.ro>2020-09-01 07:58:05 -0600
commitb111b9e2c93db9bfc51fede80c5ddc14e2ad194e (patch)
treedcb043f68c3446e8fc2ec31982d47beaed7ae380 /Emby.Server.Implementations/LiveTv/Listings
parent39041019e72709e938c789f495286a3fd1ce24fd (diff)
Fix styling
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/Listings')
-rw-r--r--Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs b/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
index f426a3336d..1543badf0a 100644
--- a/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
+++ b/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs
@@ -785,10 +785,16 @@ namespace Emby.Server.Implementations.LiveTv.Listings
var station = allStations.FirstOrDefault(item => string.Equals(item.stationID, map.stationID, StringComparison.OrdinalIgnoreCase));
if (station == null)
{
- station = new ScheduleDirect.Station {stationID = map.stationID};
+ station = new ScheduleDirect.Station { stationID = map.stationID };
}
- var channelInfo = new ChannelInfo {Id = station.stationID, CallSign = station.callsign, Number = channelNumber, Name = string.IsNullOrWhiteSpace(station.name) ? channelNumber : station.name};
+ var channelInfo = new ChannelInfo
+ {
+ Id = station.stationID,
+ CallSign = station.callsign,
+ Number = channelNumber,
+ Name = string.IsNullOrWhiteSpace(station.name) ? channelNumber : station.name
+ };
if (station.logo != null)
{