X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fdownloader%2Fcommon.py;h=5d66211476c521c80054558b5d1134ac4179a828;hb=ea0c2f219c219de8f59f1ae82e106cec5911c56c;hp=fdb77b6209cc3699a6044dedf3e57d12046e2fc2;hpb=481ef51e2345b1b34b16148eb6e5e58e9fb45cfb;p=youtube-dl diff --git a/youtube_dl/downloader/common.py b/youtube_dl/downloader/common.py index fdb77b620..5d6621147 100644 --- a/youtube_dl/downloader/common.py +++ b/youtube_dl/downloader/common.py @@ -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: