Commit graph

4237 commits

Author SHA1 Message Date
Eric Le Lay
a66e70cf20
Merge pull request #722 from gpodder/yt-auoumous
Youtube fixes and improvements:
 - restore download functionality
 - add adaptive-formats to video preferences ; fail if no selected format is available
 - download with youtube-dl context-menu
 - get duration
2020-01-07 19:20:01 +01:00
auouymous
2fd6eb84b1 #723 get duration for youtube episodes 2020-01-07 18:57:47 +01:00
Eric Le Lay
bc1e735ef1 remove useless button/model updates
they are not called from new episodes dialog or extension download
2020-01-06 08:27:36 +01:00
Eric Le Lay
b1b8cdaf37 fix #718 Add episode menu option to download with youtube-dl extension 2020-01-05 21:57:23 +01:00
Eric Le Lay
12bbd23fed a custom downloader can be passed to download_episode_list
to prepare for #718 Add episode menu option to download with youtube-dl extension.

Not all code paths will forward custom downloader to the DownloadTask.
It can be added later
2020-01-05 21:57:23 +01:00
Eric Le Lay
88d7dabb4b id might be an int in preferences in preferred_fmt_ids 2020-01-05 17:56:09 +01:00
Eric Le Lay
df7d3a6e33 Merge remote-tracking branch 'origin/master' into yt-auoumous 2020-01-05 17:46:13 +01:00
Eric Le Lay
74def1d893 pin coverage: error on travis python 3.5 2020-01-05 17:42:13 +01:00
Eric Le Lay
5601869f18 fix #720 warning: internationalized messages should not contain the '\r' escape sequence 2020-01-04 14:57:22 +01:00
Eric Le Lay
93b64230c9 fix #714 Youtube download fail when preferred formats aren't available
thanks to @auouymous for the fix
2020-01-04 12:30:55 +01:00
auouymous
97a0c2d5d1 #719 support adaptive formats for youtube-dl extension 2020-01-04 12:28:00 +01:00
auouymous
cce3ba90d8 #711 [youtube] unsupported DRM content error message 2020-01-04 12:27:02 +01:00
auouymous
42d4cbd87c #711 [youtube] support player_response.streamingData.formats
and player_response.streamingData.adaptiveFormats
2020-01-04 12:26:28 +01:00
Eric Le Lay
8378c5c4b2 fix #717 quieter youtube-dl 2020-01-01 14:45:50 +01:00
Eric Le Lay
68b49ed2ca save flag about gPodder running in verbose mode 2020-01-01 14:45:35 +01:00
auouymous
a46f131785 #704 save position and size for preferences and editcfg windows
Signed-off-by: auouymous <au@qzx.com>
2020-01-01 14:33:46 +01:00
Eric Le Lay
da06ae8f83 make messages 2020-01-01 12:58:25 +01:00
Eric Le Lay
0fef88377e
Merge pull request #713 from ciampix/master
Updated Italian translations + removed carriage-return in translated string
2020-01-01 12:55:37 +01:00
auouymous
4f61f921da #715 use box instead of table to fix size of channel tooltips 2019-12-30 17:11:06 +01:00
Eric Le Lay
fd7c861a59 fix #716 Possible channel tooltip coordinate bug 2019-12-30 17:09:41 +01:00
Marco Ciampa
ee41adde39 Added .desktop, .service and locale products of compilation to .gitignore 2019-12-27 01:47:58 +01:00
Marco Ciampa
22a43c2665 Updated Italian translation 2019-12-26 17:51:12 +01:00
Marco Ciampa
957dc12f8c Added build directory build to the .gitignore list 2019-12-25 18:25:39 +01:00
Marco Ciampa
876f108c6c Deleted illegal character in gettext string 2019-12-25 17:51:17 +01:00
Eric Le Lay
30586eb29c debug: log youtube format 2019-11-17 16:53:58 +01:00
Eric Le Lay
f0b33227b5 fix #686 add YouTube channel not working with YouTube DL extension activated on windows 2019-11-17 16:53:23 +01:00
Eric Le Lay
3203e706fa fix #703 The GtkNotebook in the preferences dialog doesn't resize
thanks to @auouymous for the fix
2019-11-17 15:56:18 +01:00
Eric Le Lay
14c488477a Fix #702 on_podcast_delete method is passed incorrect object
thanks to @auouymous for the fix
2019-11-17 15:45:00 +01:00
Eric Le Lay
c6860de1de Fix #681 "Change delete lock" only unlocks an episode 2019-11-02 18:39:06 +01:00
Eric Le Lay
d50c11eac9
Merge pull request #684 from AntonelloA/patch-1
tagging extension: add episode description as subtitle and comment
2019-11-02 18:26:54 +01:00
Eric Le Lay
3199f9368b prepare 3.10.11 2019-09-29 21:31:44 +02:00
AntonelloA
db077c3c36
Update tagging.py
Added "subtitle" tag to audio podcasts, taken from podcast "episode.description".
To see the change in action, try (before and after) one of the episodes of this podcast: 
http://www.radio.rai.it/radio2/podcast/rssradio2.jsp?id=80
2019-09-29 19:58:47 +02:00
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