Commit Graph

2815 Commits

Author SHA1 Message Date
auouymous 6e48992b31 Skip non-integer youtube formats. 2021-07-07 01:59:41 -06:00
auouymous 14bf8b44b7 Fix issues with #1073 pull request. 2021-07-06 19:05:23 -06:00
auouymous 82d926bcdd
Merge pull request #1073 from 18928172992817182/youtube-gdpr
Fix support for automatically accepting GDPR youtube consents
2021-07-06 17:56:13 -07:00
auouymous 8c56e71b0b Don't parse youtube feed URLs.
This fixes a bug where the feed URL is parsed to the channel URL,
potentially causing issues subscribing to feed URLs, but causing gpo
failures when enabling or disabling youtube channels.
2021-06-30 22:30:40 -06:00
auouymous 63196ae0e1 Fix "gpo sync" failure.
The skip_lock parameter was not removed from one of the
delete_episode_list() calls, causing a failure syncing with gpo.

Fixes #1077
2021-06-23 21:17:26 -06:00
gustaf 3003c8a4c0 Fix support for automatically accepting GDPR youtube consents 2021-06-18 15:40:26 +02:00
auouymous c31ba52f99
Merge pull request #1065 from auouymous/fix-soundcloud
Prevent soundcloud from downloading existing episodes each update.
2021-06-15 01:02:30 -07:00
auouymous 140a351bce Fix DRM content detection for youtube episodes. 2021-06-11 04:52:36 -06:00
Eric Le Lay 8dd8b6b2cd fix 'msgid' format string with unnamed arguments cannot be properly localized warning 2021-06-10 10:28:54 +02:00
auouymous 91cf6c9410 Prevent soundcloud from downloading existing episodes each update.
GUIDs are stored in the database as strings, but soundcloud creates them
as integers. Python no longer succeeds when comparing these integers to
the string keys from the existing database entries. This produces new
episodes on every update which then collide with the existing GUIDs.
2021-06-08 00:55:35 -06:00
auouymous ad3e0a5d5d prepare 3.10.20 release 2021-06-06 20:24:06 -06:00
auouymous c0d21d1967
Merge pull request #1055 from auouymous/subscribe-to-youtube-via-video-pages
Subscribe to Youtube channels via video pages
2021-06-02 20:06:13 -07:00
auouymous fa5d28e4e0 Use translation for ERROR prefix. 2021-06-01 02:07:16 -06:00
auouymous 6f620c87f5 Skip 'best' Youtube formats when using built-in support.
The best, bestvideo and bestaudio formats can be added to
`preferred_fmt_ids` for use by the Youtube-DL extension with
manage_downloads. Hoever, the built-in support would fail if it
encountered one of these formats. Skipping allows "Download with
Youtube-DL" to use them in the same way it allows adaptive formats to be
used.
2021-05-31 22:50:26 -06:00
auouymous ae2534f9ee Subscribe to Youtube channels via video pages
This finishes what began in #869.
2021-05-31 22:27:44 -06:00
Eric Le Lay 7ef74ee43b
Merge pull request #1031 from tpikonen/narrow-podcastdir
Allow a narrower podcast directory window
2021-05-26 21:28:38 +02:00
auouymous a2fc81ee82
Merge pull request #1043 from auouymous/improve-youtube
Fix youtube support and use requests for downloads.
2021-05-23 18:05:32 -07:00
Teemu Ikonen 7598b79ee2 Make podcastdirectory toggle wider 2021-05-23 20:46:53 +03:00
auouymous 0e9c265a7c
Merge pull request #1044 from auouymous/streaming-fixes
Streaming fixes
2021-05-21 22:27:01 -07:00
auouymous 5dfce4d1e1
Merge pull request #1037 from auouymous/cancel-failed-download-when-deleting-episode
Cancel failed download in progress tab when deleting episode.
2021-05-21 22:22:05 -07:00
auouymous fe015753d4
Merge pull request #1035 from auouymous/refresh-cover-from-channel-menu
Make refreshing channel image more discoverable and easier to do.
2021-05-21 22:18:44 -07:00
auouymous 2ba4ada3ea Fix "Open" item on episode context menu and give it an icon.
Gtk.STOCK_OPEN was displaying "gtk-open" as the label. The new name and
icon matches those in the toolbar.
2021-05-21 23:06:38 -06:00
auouymous 90682b7413 Use 'stream' instead of 'download' in error message when streaming. 2021-05-21 21:22:57 -06:00
auouymous 7177834d24 Fix youtube support and use requests for downloads.
The `get_video_info` URL no longer exists (without html5=1) and instead
of throwing a 404 not found error, http_request() was returning an empty
page which threw a no formats found error. The new requests code will
throw the correct error if this happens in the future.

The player response data is still fetched from `get_video_info` but will
fallback to the `watch` URL if `get_video_info` is eventually removed.
The `watch` URL will fail for anyone in Europe due to it redirecting to
a GDPR cookie consent page.

Error messages have been shortened by removing video ID, which could be
removed from the code in the future.
2021-05-21 06:06:02 -06:00
auouymous 2101cff414 On playback, clear download error and set new error, if one.
Downloading a live stream sets an error, streaming it then resets
errors. Streaming DRM youtube content now sets an error instead of
throwing a stack trace to console.
2021-05-20 07:00:55 -06:00
auouymous 5fc0871078 Delete empty partial files immediately after download failure. 2021-05-20 06:35:18 -06:00
auouymous 39db5f4c09 Show section if any of its channels have an update error.
A channel with an update error might not any have visible episodes. When
its section has no other visible channels, the section must still be
displayed to prevent the channel with an error from appearing to be in a
different section.
2021-05-17 20:26:56 -06:00
Eric Le Lay 56e8f4755f
Merge pull request #949 from tpikonen/ytdl-streaming
Allow episodes with youtube-dl compatible URLs
2021-05-16 17:44:48 +02:00
Eric Le Lay 5a0aacdc47
Merge pull request #1039 from auouymous/episode-error-icon
Show error icon on episodes that fail to download.
2021-05-16 17:41:19 +02:00
Eric Le Lay 9a6cdf83af
Merge pull request #1034 from auouymous/fix-drag_data_received
Fix "GtkSelectionData has no 'data'" exception in drag_data_received().
2021-05-16 17:02:44 +02:00
auouymous 1e10a4f9bd Show error icon on episodes that fail to download. 2021-05-14 20:24:50 -06:00
auouymous a13ca1b99b Cancel failed download in progress tab when deleting episode. 2021-05-13 21:54:26 -06:00
auouymous 1e6316bb99 Make refreshing channel image more discoverable and easier to do. 2021-05-13 18:07:18 -06:00
auouymous 8b4a4e381a Support dragging https cover images. 2021-05-13 00:55:47 -06:00
auouymous e43686b2ea Fix "GtkSelectionData has no 'data'" exception in drag_data_received().
This happens when dragging an image URL to the cover art in channel
dialog.
2021-05-13 00:26:34 -06:00
Teemu Ikonen 482f3d40dc Improve media detection when parsing feeds
Skip image and application URLs in enclosure if media with audio or
video is found, or if a CustomDownloader exists for episode.link URL.
2021-05-12 19:16:35 +03:00
Eric Le Lay 5d4345b8cd
Merge pull request #1028 from juergenhoetzel/config_permissions
Create config file with group/world permissions revoked on unix-like platforms
2021-05-10 20:58:52 +02:00
Juergen Hoetzel 166f6618a2 Create config file with group/world permissions revoked
The config file contains sensible information (user/password).

Also remove unused import.
2021-05-10 19:41:10 +02:00
Teemu Ikonen 124d7b38a2 Add more episode details to shownotes
Add a line after subheading in shownotes with episode release date,
length and size.
2021-05-10 16:37:35 +03:00
Teemu Ikonen d1683d2203 util.format_filesize(): Use non-breaking space between value and unit 2021-05-09 22:02:49 +03:00
auouymous 45797eeaea Improve channel and episode searching.
Hide the "All episodes" channel proxy while performing a channel search.
Replaces #1019.

Hide sections that don't contain channels matching the query.

Reset the channel or episode view when query is cleared with backspace.
This is especially useful when "Always show Find entries" is enabled.
2021-05-08 03:28:38 -06:00
auouymous 49a1e57eb3 Only show 5 titles. 2021-04-23 12:01:02 +02:00
auouymous bac622c045 Remove blank line between multiple titles. 2021-04-23 12:01:02 +02:00
auouymous 58b47945d6 Indent title with a bullet prefix 2021-04-23 12:01:02 +02:00
auouymous d68368dd39 Escape HTML entities in titles 2021-04-23 12:01:02 +02:00
auouymous 9ddf15746e Show channel or episode titles in delete dialog
Provides a second, and better, indicator of which channel or episode is
being deleted. Only 8 titles up to 60 characters each are shown to avoid
excessively large dialogs.
2021-04-23 12:01:00 +02:00
Eric Le Lay 59ee5c752a
Merge pull request #990 from auouymous/delete-lock
Remove skip_locked to avoid accidental deletion of episodes
2021-04-23 11:47:24 +02:00
Eric Le Lay 54bd1ac5bc
Merge pull request #991 from auouymous/toggle-new
Properly toggle deleted episodes to new.
2021-04-23 11:46:50 +02:00
Eric Le Lay 64d55dd3b2
Merge pull request #996 from auouymous/no-episode-url
Do not attempt to download episodes without an URL.
2021-04-23 11:45:41 +02:00
auouymous 844aef7c1b Add checkbox to disable connection checking.
This avoids issues with connection checking from breaking gPodder until
an update becomes available.
2021-04-23 03:42:19 -06:00