@ -1814,21 +1814,27 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
program . AddGenre ( "News" ) ;
program . AddGenre ( "News" ) ;
}
}
if ( timer. IsProgramSeries )
if ( GetConfiguration( ) . SaveRecordingNFO )
{
{
await SaveSeriesNfoAsync ( timer , seriesPath ) . ConfigureAwait ( false ) ;
if ( timer . IsProgramSeries )
await SaveVideoNfoAsync ( timer , recordingPath , program , false ) . ConfigureAwait ( false ) ;
{
}
await SaveSeriesNfoAsync ( timer , seriesPath ) . ConfigureAwait ( false ) ;
else if ( ! timer . IsMovie | | timer . IsSports | | timer . IsNews )
await SaveVideoNfoAsync ( timer , recordingPath , program , false ) . ConfigureAwait ( false ) ;
{
}
await SaveVideoNfoAsync ( timer , recordingPath , program , true ) . ConfigureAwait ( false ) ;
else if ( ! timer . IsMovie | | timer . IsSports | | timer . IsNews )
{
await SaveVideoNfoAsync ( timer , recordingPath , program , true ) . ConfigureAwait ( false ) ;
}
else
{
await SaveVideoNfoAsync ( timer , recordingPath , program , false ) . ConfigureAwait ( false ) ;
}
}
}
else
if ( GetConfiguration ( ) . SaveRecordingImages )
{
{
await SaveVideoNfoAsync ( timer , recordingPath , program , false ) . ConfigureAwait ( false ) ;
await Save RecordingImages( recordingPath , program ) . ConfigureAwait ( false ) ;
}
}
await SaveRecordingImages ( recordingPath , program ) . ConfigureAwait ( false ) ;
}
}
catch ( Exception ex )
catch ( Exception ex )
{
{