On Windows 7, the Powershell notifications that gPodder 3.x is using are never deleted from the desktop. The notification icons permanently stay visible in the taskbar system tray, untill your manually roll over them with the mouse cursor.
Changing the subprocess from "run" to "Popen" so the fuction is non-blocking.
Non Win 10 Windows script will create it's own time delay, after which it removes the taskbar system tray icon, and then deletes it's own script file.
Removing the Python delete file, and have the Powershell script delete itself when it's done, because we want the script to be non-blocking and be removed from the temp folder after use.
I have not tested on Win 10 as I use Win 7, so I don't know if Win 10 has the same issues with Powershell permant taskbar system tray icons. So this fix is just for <Win10 script notifications.
- adding new tasks to download queue manager is delayed in
download_episode_list() so new tasks are in INIT state.
- download_list_update() will disable UI refresh when it sees no task
in queued downloading or synchronizing state.
So after download_episode_list(), there is a race condition between
the first execution of download_list_update() and queue_task()
Fixed by calling enable_download_list_update() after adding tasks to the
download queue manager.
Also queue_tasks() now registers all tasks at once instead of one by
one.
YouTube full size 900x900 image was never being selected, images were always 100x100, due to HTMLParser interating till all matches were found. 900x900 was found first, then 100x100px image, which was the final result. Now all results are saved in a list, the first find is the selected result.
YouTube channel description and link were not being discovered, or saved to the sqlite DB. Desc is now retreived from the YouTube channel webpage in the same manner as the cover image link, and the link is the YouTube channel URL.
Error occurs when saving changes to sqlite DB when desc is None, as SQL field "description" is set "NOT NULL" in table "podcasts". Desc must be empty string not None.
still WIP: fetching subscription entries is really slow because youtube-dl fetches and parses the whole webpage
of each video. Should there be a setting to only download?
for extensions to be able to register custom downloaders,
not only resolving episode to a real download url.
refactor {escapist,youtube,vimeo}.get_real_download_url to use registry.