[downloader/fragment] use a general file to store fragment download context
[youtube-dl] / youtube_dl / downloader / common.py
index fdb77b6209cc3699a6044dedf3e57d12046e2fc2..5d66211476c521c80054558b5d1134ac4179a828 100644 (file)
@@ -187,6 +187,9 @@ class FileDownloader(object):
             return filename[:-len('.part')]
         return filename
 
+    def ytdl_filename(self, filename):
+        return filename + '.ytdl'
+
     def try_rename(self, old_filename, new_filename):
         try:
             if old_filename == new_filename: