Explorar o código

Forgot to update config object with the new generated file name

Godzil %!s(int64=5) %!d(string=hai) anos
pai
achega
c56998312c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/episode.ts

+ 2 - 0
src/episode.ts

@@ -100,6 +100,8 @@ function download(config: IConfig, page: IEpisodePage, player: IEpisodePlayer, d
     } while (fileExist(filePath + '.mkv'));
 
     log.warn('Renaming to \'' + fileName + '\'...');
+
+    config.filename = fileName;
   }
 
   if (config.rebuildcrp)