diff --git a/README.md b/README.md index 59c9619..9f5f793 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,9 @@ API에선 직접 비트레이트를 설정할 수 있습니다. 물론 해당 정보가 없으면 null입니다. ## Changelog +v1.6.7 +* 일부 상황에서 다운로드가 완료로 표시되지 않는 문제 수정 + v1.6.6 v1.6.5 diff --git a/info.json b/info.json index 1c4dbad..9d0fbf7 100644 --- a/info.json +++ b/info.json @@ -1 +1 @@ -{"description": "\uc720\ud29c\ube0c, \ub124\uc774\ubc84TV \ub4f1 \ub3d9\uc601\uc0c1 \uc0ac\uc774\ud2b8\uc5d0\uc11c \ub3d9\uc601\uc0c1 \ub2e4\uc6b4\ub85c\ub4dc", "name": "youtube-dl", "more": "", "version": "1.6.6", "home": "https://github.com/joyfuI/youtube-dl", "category_name": "vod", "developer": "joyfuI"} \ No newline at end of file +{"description": "\uc720\ud29c\ube0c, \ub124\uc774\ubc84TV \ub4f1 \ub3d9\uc601\uc0c1 \uc0ac\uc774\ud2b8\uc5d0\uc11c \ub3d9\uc601\uc0c1 \ub2e4\uc6b4\ub85c\ub4dc", "name": "youtube-dl", "more": "", "version": "1.6.7", "home": "https://github.com/joyfuI/youtube-dl", "category_name": "vod", "developer": "joyfuI"} \ No newline at end of file diff --git a/my_youtube_dl.py b/my_youtube_dl.py index 25766ef..90fd5bb 100644 --- a/my_youtube_dl.py +++ b/my_youtube_dl.py @@ -120,7 +120,7 @@ class MyYoutubeDL(object): ydl_opts.update(self.opts) with youtube_dl.YoutubeDL(ydl_opts) as ydl: ydl.download([self.url]) - if self.status == Status.FINISHED: # 다운로드 성공 + if self.status in (Status.START, Status.FINISHED): # 다운로드 성공 for i in glob2.glob(self.temp_path + '/**/*'): path = i.replace(self.temp_path, self.save_path, 1) if os.path.isdir(i): diff --git a/plugin.py b/plugin.py index e273dc1..5cc284d 100644 --- a/plugin.py +++ b/plugin.py @@ -34,7 +34,7 @@ menu = { } plugin_info = { - 'version': '1.6.6', + 'version': '1.6.7', 'name': 'youtube-dl', 'category_name': 'vod', 'developer': 'joyfuI',