Commit graph

120 commits

Author SHA1 Message Date
Thomas Perl
678adda20a Redesign about dialog 2016-02-03 20:46:48 +01:00
Thomas Perl
24ec3e0a9d Remove broken Flattr integration 2016-02-03 20:26:07 +01:00
Thomas Perl
36eefc8a30 Update copyright years (2016) 2016-01-15 15:22:52 +01:00
Thomas Perl
39ed1bc444 Gtk UI: Use episode_list_status_changed more often 2015-11-17 19:37:09 +01:00
Thomas Perl
b251ae0410 youtube: Improve channel migration code 2015-07-01 22:58:44 +02:00
Thomas Perl
63e5c73337 Gtk UI: Always return values in play_or_download 2015-06-14 12:08:19 +02:00
Aaron Wright
ce6ddb6db0 Updated to handle sync failure when no space left
Changed sync code to check needed pace against available space and raise
error if there is not enough room for the track.  This causes the track
to be listed in the failed_sync list.  I could not get it to be in the
failed_sync list without raising an exception.  Added a new sync failed
exception.

Also changed the main gtkui code to not include the failed_sync tracks
in the list of tracks to perform post-sync processing on.  This prevents
tracks that were not copied from being marked as played.
2015-05-27 12:09:04 -04:00
Thomas Perl
aa72634950 Update copyright years (2015) 2015-05-24 19:33:39 +02:00
Thomas Perl
ed1ea2d68e QML UI: Add YouTube API key text entry + migrate button 2015-05-20 21:50:10 +02:00
Thomas Perl
4e74b0bf99 YouTube: Auto-resolve URLs also in CLI and QML 2015-05-20 21:19:20 +02:00
Thomas Perl
fd1002060c YouTube: Support V3 API via user-supplied key (bug 1999)
This adds auto-discovery of the channel ID and new-style feed for old-style
(username-based) feed URLs when the V3 API key is available, and also adds an
extra menu item for migrating subscriptions.
2015-05-20 21:10:57 +02:00
Thomas Perl
c022d9e453 Gtk UI: New podcast directory UI 2014-10-22 21:23:06 +02:00
Thomas Perl
e215a5d5a3 Vimeo: Support for selecting file format (bug 1954) 2014-09-30 13:35:23 +02:00
Thomas Perl
7544a51026 Install scheme handler for gpodder://, feed://, podcast:// and pcast://
This allows subscribing from within a webbrowser by linking to
gpodder:// (and then the full URL of the feed).
2014-09-27 15:02:49 +02:00
Thomas Perl
6f77fa1c58 Gtk UI: Keep reference to last "add podcast" dialog (bug 1021) 2014-09-27 15:02:49 +02:00
Thomas Perl
14fad9d3ec Downloads: Chronological order config option (+add to CLI) 2014-05-17 11:46:09 +02:00
zombie
c76df73ab4 download older episodes first
(remove commented-out debug code)
2014-03-10 01:11:35 +01:00
zombie
d12d1a9962 download older episodes first 2014-03-10 01:06:37 +01:00
Thomas Perl
553e35f219 Update copyright years (2014) 2014-02-27 21:55:13 +01:00
Ben Hummon
4b86d4cf6c Gtk UI: Move podcast list view options to preferences dialog
This change moves the "'All episodes' in podcast list" and
"Use sections for podcast list" from the view menu to the
preferences.
2014-01-28 22:08:21 +01:00
Ben Hummon
9a828e3cf0 Gtk UI: Update shownotes behavior
The 'Episode details', or shownotes, could be displayed but not
hidden. Further, the menu item and the context sensitive menu gave
inconsistent behavior when multiple episodes were selected. And
I've removed the 'Episode details' context sensitive menu from the
'Progress' notebook page since this displays the shownotes on the
hidden 'Podcasts' notebook page.
2014-01-28 22:00:28 +01:00
Thomas Perl
45a207f75e Merge pull request #109 from zombie/flush-warn
check if mygpo is enabled before calling .flush()
2013-10-14 12:17:45 -07:00
zombie
0b07b4f6b3 check if mygpo is enabled before calling .flush()
to avert a warning..
2013-10-14 20:55:26 +02:00
zombie
6b0654c41d fix double episode download bug
steps to reproduce:
0) have update setting on "download immediately"
1) when a new episode starts downloading
2) pause and then resume the download
3) manually update the podcast

result: a duplicate download task gets added/queued, can lead to corrupt
downloads.

there are other circumstances that can trigger the bug, but this one is
simplest/most reliable to reproduce.

while i can't claim to understand all of the download-handling code,
this seems (more) correct, and fixes the problem.

note: if the code looks confusing, the git diff patch just came out
weird -- compare the "before" and "after" files manually..
2013-10-07 01:49:06 +02:00
Eugene Nikolsky
0274a92da4 Gtk UI: Fix UnicodeDecodeError after downloads are finished (bug 1834)
When all downloads/syncs are finished, gPodder displays a summary of
downloaded episodes, having cut the titles if they are too long.
However, Russian descriptions are regular, non-unicode python strings,
and gPodder may cut only a part of a multi-byte UTF-8 sequence. It
causes an exception like this:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbe in position 51:
invalid start byte

This patch fixes that by converting the title to a unicode string if
it's not unicode.

This bug is similar to bug 1825, commit
e1ce9b0551.
2013-08-03 12:56:53 +03:00
Bernd Schlapsi
c10bbe9969 Gtk UI: Show notification bubbles when downloads fail (bug 1265)
Don't show the GTK message dialog when downloads fail.
Just show the pyNotify message dialog.
2013-03-09 12:02:17 +01:00
Thomas Perl
a09b204ad6 Gtk UI: Fix submenu activation/focus issues (bug 1778)
This fixes the same problem as outlined in bug 1778, but also
makes sure that keyboard navigation still works.
2013-03-09 11:35:36 +01:00
Thomas Perl
bda982be02 Update copyright years for 2013 2013-03-05 16:38:48 +01:00
Thomas Perl
7de1a3e01d Gtk UI: Resizable shownotes view in main window 2013-03-05 11:36:41 +01:00
Thomas Perl
2ae85c3a4c Gtk UI: Fix context menu UI blocking (bug 1778) 2013-02-27 12:15:12 +01:00
Thomas Perl
79dc6882e1 Style cleanups: Trailing whitespace, "is None"
In src/gpodder/gtkui/main.py: Use "callback is None"
instead of "callback==None", and also make the function
signature nicer (spacing, newline).

Remove trailing whitespace in all files affected by the
latest device sync patch:

  git show HEAD | diffstat -l | xargs sed -i 's/\s\+$//g'
2013-02-08 11:08:28 +01:00
Joseph Wickremasinghe
b9b752df40 Device playlists & two-way sync 2013-02-08 11:03:33 +01:00
Eric Le Lay
9e34eb1e0e Mac OS X: GtkOSXApplication 2.0.1 fixes (bug 1759) 2013-01-26 11:30:47 +01:00
Sean Munkel
4210a3948b Fix: Switching between shownotes can cause window to expand (bug 1736) 2012-12-29 14:27:54 +01:00
Thomas Perl
f7313d98bb Model: Various cleanups/simplifications 2012-12-28 18:31:39 +01:00
Bernd Schlapsi
7e142cca0f Add smart grouping of extension context menu
Context menues from extensions were grouped by string parsing.
If "/" is in the string the string before the seperator is used as
root menu entry and the string after the seperator is used as
sub-menu entry
2012-12-23 00:55:46 +01:00
Bernd Schlapsi
6eab50ab07 Add flattr option to the episode context menu 2012-12-22 16:28:31 +01:00
Bernd Schlapsi
d5eae16b9f Improvements to the extension system
- Add category metadata in every extension
- Show this category in the extension list gui
- Add "mandatory_in" and "disable-in" configuration for an extension
- Add Ubuntu unity check to enable/disable unity specific extensions
- Move "gpodder.win32" and "gpodder.osx" setting to the "gpodder.ui" namespace to be able to use it in the extensions category settings
- Only show metadata information in the right-click dialog of an extension
2012-12-07 10:30:28 +01:00
Thomas Perl
83d779feeb Gtk UI: Integrate shownotes into main window
For now, this removes Flattr integration, but I'm sure
Bernd will fix this sooner or later.
2012-11-17 16:24:18 +01:00
Thomas Perl
672ae57e49 Gtk UI: Import titles from OPML / directory (bug 1711)
We now prefer titles from the podcast directory and OPML
files to the title in the feed. For URL-only adds, we still
use the title from the feed.
2012-11-17 12:53:00 +01:00
Thomas Perl
9e218bc3b5 YouTube: Cleanup the format selection patch 2012-10-23 13:41:40 +02:00
Chionsas
14ab2d0478 YouTube: Gtk UI for video quality selection (pull request 19)
1) Redid the youtube video format list (added fallbacks for each quality
setting) and added a new config key youtube.preferred_format_ids, that
accepts a list of supported quality ids.

2) Added a GUI setting switcher that lets a user pick between predefined
video quality settings and respects the 'custom' setting.  'Custom'
should currently only be used if the user prefers 3D formats or 3GP.
All other variants are in the normal settings with sane fallbacks.

Existing users will not feel any change (current fmt=18 default is
respected). Only the default fallback for get_real_download_url() was
changed (to 720p), but that will never be called unless the user clears
her youtube.preferred_fmt_id variable.
2012-10-23 13:41:31 +02:00
Thomas Perl
665ca1f2b5 Gtk UI: Don't auto-update when offline (bug 107) 2012-10-16 10:40:48 +02:00
Bernd Schlapsi
4236254da9 New extension: update_feeds_on_startup (bug 1656)
It's an gtk-only feature
2012-10-13 16:57:11 +02:00
Thomas Perl
236ee1f6a7 Download strategy: Only keep latest (bug 188)
Add per-podcast option to only keep the latest episode of a
channel (default strategy is still the current setting).
2012-10-13 16:21:25 +02:00
Thomas Perl
e3f5360073 Basic Offline mode support (bug 107)
Detect network connections on Linux (still need to find a way to
implement it for Windows and OS X - on these platforms, this
implementation acts as if the connection is always available).

We might need to use this in more places in the code, but for starters
this should work nicely.

The Linux implementation assumes the "ip" command is available.
2012-10-13 13:52:14 +02:00
Thomas Perl
61f2cfa379 QML UI: Remove remaining Maemo 5 (Fremantle) support
After a year of basically no work towards Maemo 5 support,
I consider gPodder 3-on-Maemo 5 something that we won't ever
do, so the remaining codes goes. This also cleans up some
dead code in the Gtk UI that's been sitting there.

If anybody wants to step up and do something about that, be
my guest. If anything, I'd assume that if anything on the N900,
gPodder 3-on-Nemo Mobilemight be feasible, and in that case, it
should be "just like Harmattan" in most ways.
2012-09-15 20:22:06 +02:00
Thomas Perl
3a9eb69cd0 QML UI: Download resuming (bug 1487)
Move download resuming code from Gtk UI module to
gpodder.common (new module) and use it from the QML UI
for a simple "Resume downloads" dialog at startup.
2012-08-16 11:08:35 +02:00
Thomas Perl
7894ab25eb Flattr: Flattr-on-play for QML UI, fixes for Gtk UI 2012-07-24 20:28:48 +02:00
Thomas Perl
2d01c507a9 Flattr: Implement flattring in QML UI 2012-07-14 18:12:05 +02:00