@ -121,12 +121,29 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
var timer = new Timer ( TimerCallback , item . Id , dueTime , TimeSpan . Zero ) ;
if ( _timers . TryAdd ( item . Id , timer ) )
{
if ( item . IsSeries )
{
Logger . LogInformation (
"Creating recording timer for {Id}, {Name} {SeasonNumber}x{EpisodeNumber:D2} on channel {ChannelId}. Timer will fire in {Minutes} minutes at {StartDate}" ,
item . Id ,
item . Name ,
item . SeasonNumber ,
item . EpisodeNumber ,
item . ChannelId ,
dueTime . TotalMinutes . ToString ( CultureInfo . InvariantCulture ) ,
item . StartDate ) ;
}
else
{
Logger . LogInformation (
"Creating recording timer for {Id}, {Name}. Timer will fire in {Minutes} minutes" ,
"Creating recording timer for {Id}, {Name} on channel {ChannelId} . Timer will fire in {Minutes} minutes at {StartDate} ",
item . Id ,
item . Name ,
dueTime . TotalMinutes . ToString ( CultureInfo . InvariantCulture ) ) ;
item . ChannelId ,
dueTime . TotalMinutes . ToString ( CultureInfo . InvariantCulture ) ,
item . StartDate ) ;
}
}
else
{