Commit graph

4105 commits

Author SHA1 Message Date
Eric Le Lay
ec315df200 fix #683 Search for new episodes on startup extension broken 2019-09-29 16:43:35 +02:00
Eric Le Lay
0746dc2ff2 fix github_release.py usage 2019-09-29 16:34:38 +02:00
Eric Le Lay
ef63fc92db prepare 3.10.10 release 2019-09-26 20:17:38 +02:00
Eric Le Lay
cc86fcc5f1 win: update certifi 2019-09-26 20:13:43 +02:00
Eric Le Lay
1aa23167a5 update macOS deps 2019-09-26 20:12:14 +02:00
Eric Le Lay
d5118d972b Fix #658 update feeds on startup extension conflicts with resume download
new on_find_partial_downloads_done() hook for update_feeds_on_startup extension.
It's the only way to prevent a race condition between adding downloads
from new episodes when set to download immediatly and adding back
partial downloads.
2019-09-23 20:10:18 +02:00
Eric Le Lay
9cd2f51465 cleanup DownloadTask reference in episode when cancelled
otherwise partial downloads cancelled on restart can't be
downloaded again until gPodder restart. Because they were
not run from a DownloadQueueWorker, which would have called
recycle() after run().
2019-09-22 18:47:42 +02:00
Eric Le Lay
aeceb3cb65
Merge pull request #676 from huftis/format-counts-using-thousands-separator
Format number of episodes using (locale-aware) thousands separator
2019-09-15 10:34:58 +02:00
Eric Le Lay
d12b90d387
Merge pull request #675 from huftis/locale-aware-filesizes
Use locale-aware formatting for file sizes
2019-09-15 10:33:32 +02:00
Karl Ove Hufthammer
4f4a6c0e46 Use locale-aware formatting for file sizes
For example, for locales that use decimal commas, the file sizes are
now formatted like ‘12,3 MiB’ instead of ‘12.3 MiB’.

Fixes #671.
2019-09-15 10:16:46 +02:00
Karl Ove Hufthammer
54ccd1bf9e Format number of episodes using (locale-aware) thousands separator
The number of episodes shown in the ‘pill boxes’ in the podcast list
are now formatted like ‘12,345’ or ‘12 345’ (depending on the locale),
instead of ‘12345’.
2019-09-15 10:07:41 +02:00
Eric Le Lay
8be86ff094 win: update to latest youtube_dl 2019-09-14 18:04:51 +02:00
Eric Le Lay
d314b1cfd1 youtube-dl: add duration + file_size also when requesting X+Y formats
then filesize is not there: have to sum filesize of each requested format
2019-09-14 18:04:35 +02:00
Eric Le Lay
a682612849 youtube-dl: stop downloading pages early + remove duplicate entries
e.g. https://www.youtube.com/channel/UCYJ61XIK64sp6ZFFS8sctxw
one can downloads tens of pages, but already first 2 pages have 200+ episodes.
Also 3 episodes in the current first 222 are duplicates, causing DB constraint
error on insertion (e.g. ANNO 1800 ... 074) if not filtered
2019-09-14 17:32:50 +02:00
Eric Le Lay
1d05df4926 fix #673 downloading files with youtube-dl extension fails if format_ids is X+Y
- move .partial.mp4 file back to .partial
- add fallback format when retrieving episode infos in case requested
  format is not available and catch DownloadError
- download progress adds previous downloaded format size otherwise
  it would be downloading 0 to 380MB then back to 0 to 23MB when
  downloading 137+140
2019-09-14 16:47:12 +02:00
Eric Le Lay
10972fd7b4
Merge pull request #667 from huftis/updated-norwegian-nynorsk-translation
Update Norwegian Nynorsk translation
2019-09-12 19:34:02 +02:00
Karl Ove Hufthammer
e67bdfeafc Update Norwegian Nynorsk translation 2019-09-12 17:36:12 +02:00
Eric Le Lay
6a3851fc9b
Merge pull request #668 from huftis/add-previous-msgids-to-po-files
Embed previous msgids of changed/fuzzied messages
2019-09-12 08:40:21 +02:00
Karl Ove Hufthammer
84efeb58d6 Embed previous msgids of changed/fuzzied messages
When a string is changed (marking the translation for the old string
as ‘fuzzy’), the original string is now kept for comparison. This
makes life much easier for the translators, as they can easily see what
has changed in the string, and adjust their translation accordingly.
(Modern PO editors show the changes as a coloured (word) diff.)
2019-09-11 22:07:12 +02:00
Eric Le Lay
606e6ef609
Merge pull request #663 from TZocker/patch-11
Update de.po
2019-09-11 20:00:38 +02:00
Eric Le Lay
4a7058b5d1
Merge pull request #664 from K4rBie/update_pl.po
update pl.po
2019-09-11 19:59:52 +02:00
Karol Bieńkowski
11f78360ee update pl.po 2019-09-11 14:57:48 +02:00
TZocker
028d38fcf3
Update de.po 2019-09-10 22:26:09 +02:00
Eric Le Lay
ba955e27f2 stop feed.get_next_page() loop when no new episode found
see https://gallica.bnf.fr/services/engine/search/opds?
operation=searchRetrieve&version=1.2&exactSearch=false
&query=dewey%20all%20%225%22%20and%20dc.format%20all%20%22epub%22
&filter=provenance%20all%20%22bnf.fr%22
2019-09-10 21:32:15 +02:00
Eric Le Lay
cd20e626a3 translate youtube-dl extension 2019-09-10 21:28:06 +02:00
Eric Le Lay
8180ce1858 update fr translation 2019-09-10 21:22:35 +02:00
Eric Le Lay
f52ab2d409 make messages 2019-09-10 21:20:30 +02:00
Eric Le Lay
3c58c27b2c replace cgi.escape with html.escape everywhere
cgi.escape is deprecated
2019-09-08 18:14:52 +02:00
Eric Le Lay
635c2e1800 deprecated cgi.escape to html.escape + escape every self.show_message
Otherwise an empty Download Error popup happens
if episode title contains '&' when important=True and we set
the popup's text using pango markup.
2019-09-08 18:14:52 +02:00
Eric Le Lay
1a82f1d77c
Merge pull request #659 from Hiltronix/master
Fix never deleted Win32 Powershell Notifications on Win7
2019-09-07 16:18:18 +02:00
Eric Le Lay
f583d19857
Merge pull request #652 from gpodder/youtube-dl
Extension to manage Youtube subscriptions using youtube-dl
2019-09-07 15:41:06 +02:00
Eric Le Lay
58d1f5c38a fix linter warning and update doc link 2019-09-07 15:30:45 +02:00
Eric Le Lay
25ca3593bf Merge remote-tracking branch 'origin/master' into youtube-dl 2019-08-27 21:58:11 +02:00
Eric Le Lay
8cafd22161 fix edit config boolean editor: align left 2019-08-27 21:57:54 +02:00
Eric Le Lay
ded38eda51 youtube description: fix log + translate No description available 2019-08-27 21:56:13 +02:00
Eric Le Lay
dfb245fd85 don't override custom feed descriptions 2019-08-27 21:55:49 +02:00
Eric Le Lay
7127797af1 add youtube description 2019-08-27 21:52:33 +02:00
Eric Le Lay
5e9d2923db Merge remote-tracking branch 'origin/master' into youtube-dl 2019-08-27 20:49:51 +02:00
Eric Le Lay
28f729f15e use stream_url or download_url when applicable 2019-08-26 20:56:16 +02:00
Hiltronix
b6889c0eb3 Update notification-win32.py 2019-08-24 15:55:30 -05:00
Hiltronix
232b3b8b28 Update notification-win32.py 2019-08-24 15:52:36 -05:00
Hiltronix
8e2368e6ab Fix Win32 Powershell Notifications
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.
2019-08-24 15:34:29 -05:00
Eric Le Lay
e82f1f97f8 fix View > Show Toolbar always disabled
broken since Feb (e4a16f1526)
2019-08-24 16:26:57 +02:00
Eric Le Lay
31e8de4355 fix #547 Download progress not updated on auto download
- 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.
2019-08-24 16:02:22 +02:00
Eric Le Lay
54925234a1
Merge pull request #654 from Hiltronix/master
Fix Podcast Description None
2019-08-20 19:11:42 +02:00
Hiltronix
39e45f353f Update util.py
Change so there is no blind except.
2019-08-20 11:04:09 -05:00
Hiltronix
da3e2391f7 Update youtube.py
Fix white space.
2019-08-19 23:06:52 -05:00
Hiltronix
3b56118daf Update youtube.py
Fix blank line spacing.
2019-08-19 23:03:24 -05:00
Hiltronix
b49327fe09 YouTube Updates
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.
2019-08-19 22:53:34 -05:00
Hiltronix
08a0b8255b Fix Podcast Description None
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.
2019-08-19 22:29:34 -05:00