This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
If the file is already downloaded include the size in the progress hook
rtmp_test
Jaime Marquínez Ferrándiz
11 years ago
parent
4ae720042c
commit
dd5d2eb03c
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
youtube_dl/FileDownloader.py
+ 1
- 0
youtube_dl/FileDownloader.py
View File
@ -398,6 +398,7 @@ class FileDownloader(object):
self
.
_hook_progress
(
{
'
filename
'
:
filename
,
'
status
'
:
'
finished
'
,
'
total_bytes
'
:
os
.
path
.
getsize
(
encodeFilename
(
filename
)
)
,
}
)
return
True
Write
Preview
Loading…
Cancel
Save