mirror of
https://github.com/jely2002/youtube-dl-gui.git
synced 2021-11-01 22:46:21 +03:00
Calculate and display the total size of the download
This commit is contained in:
2
main.js
2
main.js
@@ -132,6 +132,8 @@ function startCriticalHandlers(env) {
|
||||
case "downloadInfo":
|
||||
queryManager.saveInfo(args.identifier);
|
||||
break;
|
||||
case "getSize":
|
||||
return queryManager.getVideoSize(args.identifier, args.formatLabel);
|
||||
case "size":
|
||||
queryManager.startSizeQuery(args.identifier, args.formatLabel, args.clicked)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user