-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
basically, in line 44 we should no longer only look at the size, but implement a more complex comparable function. Maybe the mediathekwrapper should no longer be a pandas array, but a list of objects that implement le magic function. than they could be compared.
Currently the tatorts from zürich are "playlist downloads" meaning its not possible to determine the download filesize beforehand. therefore they will not be considered larger than the version from ARD.
tripper/tripper/exec/runner.py
Lines 42 to 46 in 9a609bd
| tid = ids[0] | |
| new_size = model.get_size_if_missing_or_smaller(tid, tatort.url) | |
| if new_size is not None and new_size > processed.get(tid, 0): | |
| processed[tid] = new_size | |
| downloads[tid] = (tatort, model.filename(tid)) |
Metadata
Metadata
Assignees
Labels
No labels