MrS0m30n3
32ebbbec99
Disable automatic check for youtube-dl when disable_update is set
6 years ago
MrS0m30n3
77cfd53058
Reset filenames, extensions & filesizes lists
Reset filenames, extensions & filesizes lists when changing playlist item
else the filesizes for the post processed files will be wrong. See #162
7 years ago
MrS0m30n3
1ea81dae03
Check filesizes list length instead of filenames list
7 years ago
MrS0m30n3
e08dcaabd6
REFACTOR: Pull if statements outside for loop
7 years ago
MrS0m30n3
1c163f880b
Fix #162
7 years ago
MrS0m30n3
d6f6c7aead
Calculate size of post process output file
8 years ago
MrS0m30n3
932a968e1b
Count 'Warning' return code as success
Use the same behaviour as the DownloadItem object and
count the 'Warning' YoutubeDLDownloader return code as
success
8 years ago
MrS0m30n3
53ccf5f67c
Do not show 'Total Progress' message while updating
The code looks pretty bad i should come back and change
all this stuff on the refactor phase
8 years ago
MrS0m30n3
01602d5439
DownloadItem: Add 'Error' stage
8 years ago
MrS0m30n3
f5edf81cbb
Worker._data_hook: Remove caching
8 years ago
MrS0m30n3
56b95055fe
DownloadItem: Add playlist support
8 years ago
MrS0m30n3
1abb00ab21
DownloadItem.update_stats: Do not check for duplicates
8 years ago
MrS0m30n3
bf38a822f9
Update TODO file & tags
8 years ago
MrS0m30n3
0a8dbec082
DownloadList add index method
8 years ago
MrS0m30n3
9e935e07c0
Add wx.Timer
8 years ago
MrS0m30n3
a10a08a949
Add _get_worker method and refactor run method
8 years ago
MrS0m30n3
fd2229dc12
Add change_stage method to DownloadList and use that to update the items stage
8 years ago
MrS0m30n3
5ad37c1646
Check input on update_stats method
8 years ago
MrS0m30n3
bd0de89ba3
Implement _on_start method
8 years ago
MrS0m30n3
720437cfcb
Add reset method in DownloadItem
8 years ago
MrS0m30n3
afce63727d
Automatically update progress status when updating stage
8 years ago
MrS0m30n3
3d59782aaf
Add return value to move_up-down methods
8 years ago
MrS0m30n3
93e06be4f3
Fix TestGetFiles.test_get_files test case & patch DownloadItem
8 years ago
MrS0m30n3
8711d1cf37
Add clear() method on DownloadList
8 years ago
MrS0m30n3
9f49f613a2
Add DownloadList & DownloadItem objects
8 years ago
MrS0m30n3
638d4e70ed
Convert between str-unicode on app bounds, fixes #57
8 years ago
MrS0m30n3
6377928119
Add back & forward communication between Worker and Main thread
9 years ago
MrS0m30n3
ad4bf6e1e1
Send only the updates back to the GUI
9 years ago
MrS0m30n3
6b3c6ac306
Move download info to the Worker class
Move download informations from the downloaders.py module
to the downloadmanager.py Worker class. By moving those
informations to the Worker class we don't need to add them
in each downloader separately every time a new one gets
implemented, giving us a better design overall.
9 years ago
MrS0m30n3
d142867886
Fix active urls report
9 years ago
MrS0m30n3
b646af4102
Use threads to read from subprocess to avoid deadlocks #49
9 years ago
MrS0m30n3
053112c736
Change the way worker threads close
9 years ago
MrS0m30n3
3a1c09a092
Add synchronization lock to the log manager
9 years ago
MrS0m30n3
76b4138fb5
Change the way DownloadManager collects the number of successful downloads
Before a callback was used to increase the number of successful downloads
resulting in multiple worker threads trying to edit the same variable.
Now each worker thread stores the number of successful downloads for itself
and the DownloadManager collects this number after download process
has finished.
9 years ago
MrS0m30n3
afae6cfb27
Check options type when loading from settings.json
Also add utf-8 encoding and change the literals to unicode
characters to match the GUI and the loaded json
9 years ago
MrS0m30n3
0f63f956bf
Add workers_number option
9 years ago
MrS0m30n3
8cf53afba8
Move publisher topics to module level
9 years ago
MrS0m30n3
29269bf51c
Check with auto-tools (pyflakes, pylint)
10 years ago
MrS0m30n3
f224e32636
Rename dlthread and updthread modules
10 years ago
MrS0m30n3
f84316d264
Update docstrings
10 years ago
MrS0m30n3
d2e57cb02e
Update docstrings
10 years ago
MrS0m30n3
7a956c5ca5
Update docstrings dlthread.py
10 years ago
MrS0m30n3
3d4b78ad93
Re-write DownloadManager using Thread Pool
Re-write DownloadManager, DownloadThread(Worker) using
a custom thread pool implementation for speed. We don't
want to create a new thread for each url when the same
thread can be re-used.
10 years ago
MrS0m30n3
997278f1f2
Small changes on downloader stdout hook
10 years ago
MrS0m30n3
8227ca5d0f
Move status messages
Move all status messages from dlthread (DownloadThread) to
downloaders (YoutubeDLDownloader). Now all the status updates
(status, percent, eta, etc..) come from the downloader.
10 years ago
MrS0m30n3
c1c5d7a6d9
Rename module names to much PEP8
"Modules should have short, all-lowercase names.
Underscores can be used in the module name if it improves
readability."
10 years ago
MrS0m30n3
1daa78cdb2
Rewrite OptionsParser.py
10 years ago
MrS0m30n3
48ac33e4ee
Refactor utils.py
10 years ago
MrS0m30n3
7adb418e4f
Small refactor (DownloadObject.py)
10 years ago
MrS0m30n3
6d200bd9a8
Remove 'clear dash files' option under video tab
https://github.com/rg3/youtube-dl/issues/2108#issuecomment-49556100
10 years ago