Commit Graph

4299 Commits

Author SHA1 Message Date
Eric Le Lay 831186b0c7 fix overlooked stream.text in conversion to util.response_text 2020-07-23 22:33:15 +02:00
Eric Le Lay 7c551ee6aa gpodder escapist_videos doesn't work with escapist magazine v2 2020-07-18 15:13:43 +02:00
Eric Le Lay 12912bed3e fix naive access to response.text
bytes for xml, utf-8 fallback for html, known encoding if available
2020-07-18 15:04:04 +02:00
Eric Le Lay d59bba5b6d fix invalid encoding used to parse feeds
eg. http://podcast.hr-online.de/hrinfo_wissenswert/podcast.xml
2020-07-14 18:45:38 +02:00
Eric Le Lay 48d851d292 rework feedcore.Fetcher interface to allow reusing it in custom channel parsers 2020-07-14 18:43:44 +02:00
Eric Le Lay 818441d588 test server: add podcast with space in the filename, not encoded 2020-07-12 18:28:45 +02:00
Eric Le Lay 3ae875d5a0 add requests to travis build 2020-07-12 18:27:41 +02:00
Eric Le Lay bb30191350 add requests to windows deps 2020-07-12 18:07:26 +02:00
Eric Le Lay 1c806ed959 gtk: make error dialog message copyable 2020-07-12 17:52:38 +02:00
Eric Le Lay ef82eba85f add more cases to the test server 2020-07-12 17:07:42 +02:00
Eric Le Lay 8d3e65bb4a add 'Show Password' checkbox to password prompt 2020-07-12 17:07:42 +02:00
Eric Le Lay 39675723b4 escape download task error message before using it as markup 2020-07-12 17:07:42 +02:00
Eric Le Lay 6188efc24e use requests for download 2020-07-12 17:07:42 +02:00
Eric Le Lay d88a9097b5 set requests timeout 2020-07-12 17:06:34 +02:00
Eric Le Lay d40bc49e0e move download's get_header_param() to util, to use in soundcloud plugin 2020-07-12 17:06:34 +02:00
Eric Le Lay a56651ad79 fix linter warning 2020-07-12 17:06:34 +02:00
Eric Le Lay 3babb86c70 use requests package for util.urlopen
now a requests.Response is returned instead of the file-like object from urllib.
Fixed all usages of util.urlopen: it simplifies getting json, text encoding detection.
In particular feedcore (responsible for fetching feeds) is simplified.

This is a first pass and could benefit from better usage of the requests api
(Sessions for instance, to keep connection pools)

TODO: download.py
2020-07-11 17:42:28 +02:00
Eric Le Lay 9fd26f2f96 remove python2 import check 2020-07-10 16:49:14 +02:00
Eric Le Lay 70e30d03cf Fix #830 Shortcut key conflict Episode descriptions vs Discover new Podcasts 2020-07-10 16:06:09 +02:00
Eric Le Lay 913b386294 fix tagging extension exception on mkv files 2020-07-06 12:48:52 +02:00
Eric Le Lay c00e0cf697
Merge pull request #834 from auouymous/commandondownload-gpo
allow command_on_download in gpo
2020-07-06 12:08:09 +02:00
Eric Le Lay 248a963540
Merge pull request #838 from auouymous/youtubedl-outtmpl
rename youtube-dl partial file when it contains % or $ characters
2020-07-06 12:03:36 +02:00
auouymous f02f592dc8 rename youtube-dl partial file when it contains % or $ characters 2020-07-04 13:51:21 -06:00
auouymous 85404df532 allow command_on_download in gpo 2020-06-30 17:33:52 -06:00
Eric Le Lay c71c8fb834 prepare 3.10.16 release 2020-06-21 16:15:58 +02:00
Eric Le Lay 24cc689c18 update macOS base deps 2020-06-21 16:13:49 +02:00
Eric Le Lay 61375aa1d5
Merge pull request #826 from huftis/update-nn-translation
Update the Norwegian Nynorsk translation
2020-06-21 15:43:21 +02:00
Karl Ove Hufthammer c08e39cf73 Update the Norwegian Nynorsk translation 2020-06-21 11:11:38 +02:00
Eric Le Lay a55d221cb3 update youtube-dl and certifi deps 2020-06-16 21:02:33 +02:00
Eric Le Lay 227d0d2f82
Merge pull request #822 from TZocker/patch-16
Update de.po
2020-06-16 20:51:58 +02:00
Eric Le Lay bf7c86676f
Merge pull request #823 from Vistaus/master
Updated Dutch translation
2020-06-16 20:51:15 +02:00
Heimen Stoffels 95aa7361a8 Updated Dutch translation 2020-06-15 13:22:02 +02:00
TZocker 0cc405906d
Update de.po 2020-06-14 16:39:51 +02:00
Eric Le Lay 97462908a2 update fr translation 2020-06-14 16:23:11 +02:00
Eric Le Lay 7d5c898a57 make messages 2020-06-14 16:16:25 +02:00
Eric Le Lay 3a9f7312fc fix #815 Ctrl-q does not quit
Couldn't find a way to get this info from the Gio.MenuModel from Gtk.Builder,
so I reparse the menus.ui file
2020-06-14 16:01:32 +02:00
Eric Le Lay c8454cb87d fix #807 - outdated podcastparser on windows 2020-06-09 21:35:00 +02:00
Eric Le Lay 2371212bfd
Merge pull request #803 from auouymous/better-indicate-optional-imports
better indicate optional imports (gpod and eyed3.mp3)
2020-06-09 20:54:43 +02:00
Eric Le Lay de7a8b1fd9
Merge pull request #820 from auouymous/eql-podcast-section
add podcast and section EQL variables for use with SsRr functions
2020-06-09 20:52:53 +02:00
auouymous d8320aa204 add podcast and section EQL variables for use with SsRr functions
(s('...', podcast))
(s('...', section))
2020-06-08 21:17:30 -06:00
Eric Le Lay d2db5b001c update extension doc links 2020-05-25 18:39:14 +02:00
Eric Le Lay cbb5104185
Merge pull request #791 from gpodder/gnome3-header-bar-csd
Gtk UI: Add support for GtkHeaderBar / GNOME3 CSDs
2020-05-14 21:39:35 +02:00
auouymous a955f7257a Move optional import errors to time of use to avoid spamming all users
with sync-only warnings. And better indicate why the modules are needed.
2020-05-13 01:30:48 -06:00
Eric Le Lay ce94c09de7 fix linter warnings 2020-05-13 08:44:24 +02:00
Eric Le Lay 0ed6318413
Merge pull request #805 from gpodder/dark-theme-hyperlinks
shownotes: don't use blue hyperlinks on dark themes
2020-05-13 08:42:01 +02:00
Eric Le Lay b18fa6674d fix linter warnings 2020-05-13 08:36:22 +02:00
Eric Le Lay 233d4adf48 remove dark-theme detection 2020-05-10 16:56:19 +02:00
Eric Le Lay 5340667b82 use TextView foreground, background, link colors 2020-05-10 16:55:47 +02:00
Eric Le Lay 0e04659d30 fix state unused in dray get_xx_color functions 2020-05-10 16:53:36 +02:00
Eric Le Lay 241aa360a9 smaller episode shownotes font size 2020-05-09 16:31:02 +02:00