@ -1814,6 +1814,8 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
program . AddGenre ( "News" ) ;
program . AddGenre ( "News" ) ;
}
}
if ( GetConfiguration ( ) . SaveRecordingNFO )
{
if ( timer . IsProgramSeries )
if ( timer . IsProgramSeries )
{
{
await SaveSeriesNfoAsync ( timer , seriesPath ) . ConfigureAwait ( false ) ;
await SaveSeriesNfoAsync ( timer , seriesPath ) . ConfigureAwait ( false ) ;
@ -1827,9 +1829,13 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
{
{
await SaveVideoNfoAsync ( timer , recordingPath , program , false ) . ConfigureAwait ( false ) ;
await SaveVideoNfoAsync ( timer , recordingPath , program , false ) . ConfigureAwait ( false ) ;
}
}
}
if ( GetConfiguration ( ) . SaveRecordingImages )
{
await SaveRecordingImages ( recordingPath , program ) . ConfigureAwait ( false ) ;
await SaveRecordingImages ( recordingPath , program ) . ConfigureAwait ( false ) ;
}
}
}
catch ( Exception ex )
catch ( Exception ex )
{
{
_logger . LogError ( ex , "Error saving nfo" ) ;
_logger . LogError ( ex , "Error saving nfo" ) ;