Commit graph

3291 commits

Author SHA1 Message Date
Thomas Perl
ad6523b74e Merge pull request #115 from pieska/youtube-no-more-extra-signature
signature is in the url itself now, not as an extra parameter any longer
2014-03-01 11:14:23 +01:00
Andreas Piesk
a628d07356 signature is in the url itself now, not as an extra parameter any longer 2014-02-28 21:23:08 +01:00
Thomas Perl
32c716ec95 gPodder 3.6.0 "Population: Zero" released 2014-02-27 22:05:16 +01:00
Thomas Perl
553e35f219 Update copyright years (2014) 2014-02-27 21:55:13 +01:00
Thomas Perl
1d88fe790b README: Update list of dependencies 2014-02-27 21:51:45 +01:00
Thomas Perl
196502189d Updated German translation 2014-02-27 21:48:22 +01:00
Thomas Perl
7a8c6fe741 i18n: Update translation templates from source 2014-02-27 21:45:24 +01:00
Dov Feldstern
07ac3c3c83 Gtk UI: display episode's last played position (not duration only) 2014-02-27 21:27:27 +01:00
Dov Feldstern
5b4d0b0bb5 gpodder.model: return "Finished (##:##)" from get_play_info_string()
This reverts the change made in f02063beea.
2014-02-27 21:27:01 +01:00
Thomas Perl
14cffeda5e Merge pull request #114 from dovf/master
Restoring download progress bar functionality to Gtk status icon
2014-02-27 21:07:27 +01:00
Dov Feldstern
3665adb799 Gtk status icon: load icon by name except when actually drawing on it
The icon image quality degradation described in the previous changeset is
actually a result of loading by pixbuf, regardless of whether we then draw on
it or not. Interestingly, if the initial load is done by name, then subsequent
loads by pixbuf maintain the higher quality. In any case, in order to minimize
the quality impact, only load the image by pixbuf when actaully doing the
drawing. And the entire thing is still optional -- if download_progress_bar is
not set, the icon is only ever loaded by name.

--HG--
extra : rebase_source : 21233543a2e668bacdd43af1055c99d3e4b8e8e8
2014-02-07 14:24:35 +02:00
Dov Feldstern
8773a044e0 Gtk status icon: make drawing of download progress bar optional
On some window manager / panel combinations, drawing on the icon degrades its
quality; make the drawing optional.

--HG--
extra : amend_source : 689f688dc46159cf240773bd9ec39fc02ea1dcbc
2014-02-05 01:18:07 +02:00
Dov Feldstern
d77c5886e5 Gtk status icon: fix unloading and reloading of the extension
--HG--
extra : rebase_source : 0321ab421a6b523a2311c7ebec27ef19597d59d4
extra : __touch-noise__ : 3693677836
extra : amend_source : 85531ad5ffc889210203a2b0cfb37727367f546c
2014-02-03 01:53:21 +02:00
Dov Feldstern
24b6e64762 Gtk status icon: restore download progress bar functionality
The old (gpodder 2) trayicon.py (which was removed in
a198ecc400) had the functionality of showing a
download progress bar on the tray icon itself. The new Gtk status icon
extension did not copy over this functionlity. This changeset ports that
functionality over, and is heavily based on that original code.

--HG--
extra : amend_source : b6cd3349db7f54b8e30b86b9d514073cb80a15fd
2014-02-03 01:44:25 +02:00
Dov Feldstern
17b48d0df5 Restore "progressbar_pixbuf" from gpodder.gtkui.draw
This was removed in 34b54e94b8, since it was no
longer used. However, in the next changset we will start using it again.

Although we're about to use it from the extension, it makes a certain amount of
sense to add it back into draw rather than into the extension, since it uses
some other functions from draw, and is also generic in the sense that it could
conceivably be used elsewhere.

--HG--
extra : rebase_source : ef7edc382dfcd2537c2b3b08ded9cf103d13c41b
2014-02-03 01:13:08 +02:00
Thomas Perl
7ad8417989 gpodder.model: Do not add files without filename 2014-01-30 08:29:38 +01:00
Dov Feldstern
fa2104de1f gpodder.model: Fix problems with migrated databases
I'm finally migrating from gpodder 2 to 3, and when starting up gpodder3
after running the migration, I ran into the following uncaught exception
(which aborted gpodder):

TypeError: coercing to Unicode: need string or buffer, NoneType found
2014-01-30 08:24:28 +01:00
Thomas Perl
b325c7db18 sync: Require eyed3 version 0.7 (Fixes #100)
eyed3 has updated their API with version 0.7. Use the
new API. The old API version of eyeD3 is not supported.
2014-01-29 21:27:22 +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
6662e93fff Gtk UI: Show duration column instead of size by default
Makes the "duration" episode column shown by default instead of the
"size" episode column.
2014-01-28 22:02:42 +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
Wes Morgan
2e6ea217dc gpodder.util: Fix FreeBSD network detection (bug 1730)
The unix_get_active_interfaces() function only partially works on
FreeBSD. Wireless interfaces do not have a status of "active", but
rather "associated".
2013-12-07 12:54:51 +01:00
Tony Mancill
2008d44b4b Add manpage for gpodder-migrate2tres 2013-11-11 00:42:07 +01:00
Thomas Perl
38e2cf1122 Merge pull request #111 from pieska/youtube-findurls
fix regexp tp prevent failure if map is at the very end
2013-11-05 12:05:12 -08:00
Andreas Piesk
fb5c62e5c9 fix regexp tp prevent failure if map is at the very end 2013-10-26 16:57:30 +02:00
Thomas Perl
545a8be54b Merge pull request #110 from pieska/youtube-findurls
regexp fails if url_encoded_fmt_stream_map is first argument
2013-10-24 15:28:14 -07:00
Andreas Piesk
724467a1a7 regexp fails if url_encoded_fmt_stream_map is first argument 2013-10-16 22:18:01 +02:00
Thomas Perl
11fae3fe50 Merge pull request #108 from jnwickremasinghe/ipod-sync-oct-09
iPod sync alpha release - updated
2013-10-15 14:21:08 -07: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
Joseph Wickremasinghe
8073a87a46 iPod sync alpha release 2013-10-09 21:24:02 -07:00
Thomas Perl
f6bb2d734d Merge pull request #107 from zombie/downloads
fix some download-related bugs
2013-10-07 00:36:52 -07: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
Thomas Perl
325c86d594 Merge pull request #106 from zombie/window-positioning
fix two small window positioning bugs
2013-10-06 03:01:45 -07:00
zombie
7af6a9fd49 restored window position slightly off every time
default GTK 'gravity' setting seems slightly buggy on win32, and
'static' gravity avoids the problem. this should also work well
(better?) on other platforms, but it's untested, so..
2013-10-03 02:43:34 +02:00
zombie
5049b645d6 don't save maximized window position to config
it seems a 'configure-event' is sent before each 'window-state-event'
when the window is maximized, so the code is checking the stale value of
cfg.maximized, and saves the new position when it shouldn't.

it may be this only happens on win32, but the new code should work
correctly everywhere.
2013-10-03 02:24:29 +02:00
Thomas Perl
4cda7fecea makefile: Don't remove PKG-INFO in clean target 2013-09-29 21:29:30 +02:00
Thomas Perl
0830e76c55 gPodder 3.5.2 "The Prime Mover" released
Updated version info and manpages
2013-09-24 19:28:49 +02:00
Thomas Perl
1fa8dd1c27 Updated translations from source 2013-09-24 19:28:16 +02:00
Thomas Perl
88e65395b5 Merge pull request #103 from stefankoegl/unauthorized
disable gpodder.net on invalid password
2013-09-21 07:34:01 -07:00
Stefan Kögl
4b1d94cc93 disable gpodder.net on invalid password 2013-09-21 15:46:35 +02:00
Thomas Perl
d8530734c0 Merge pull request #102 from pluton8/bug1834_unicodeerror_finisheddownloads
Gtk UI: Fix UnicodeDecodeError after downloads are finished (bug 1834)
2013-08-05 22:48:58 -07: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
Thomas Perl
22efa71207 Merge pull request #101 from pluton8/bug1832_device_sync_progress
Gtk UI: Fix device sync progress not updating (bug 1832)
2013-06-17 22:58:34 -07:00
Eugene Nikolsky
7dc92bfde9 Gtk UI: Fix device sync progress not updating (bug 1832)
When the verbose mode is on, and the database is big, it can take
several seconds for gPodder to log all excluded from sync episodes. At
that time, the update downloads list timer stops, because there are no
sync tasks yet. This patch ensures the download list is updated after
all the sync tasks are added to the download queue.
2013-06-14 23:59:27 +03:00
Thomas Perl
1c3c6f1317 Merge pull request #95 from rigo/Bug1813
QMLUI Added option to update podcasts inside episodes page - Bug 1813
2013-05-31 00:01:34 -07:00
Rigoberto Calleja
74cb1365ac Podcast title and download status implementation as requested 2013-05-30 22:23:33 -05:00
Thomas Perl
5d6ffa1aee Merge pull request #97 from pluton8/bug1825_osx_crash
gpodder: Fix crash on OS X when displaying episode tooltip (bug 1825)
2013-05-13 15:05:58 -07:00
Eugene Nikolsky
e1ce9b0551 Gtk UI: Fix crash on OS X when truncating tooltip (bug 1825)
When displaying a long episode description in a tooltip in the
"New episodes available" dialog, gPodder cuts it at a certain
number of characters. However, Russian descriptions are regular,
non-unicode python strings, and gPodder may cut only a part of a
multi-byte UTF-8 sequence. Displaying such a string crashes
gPodder on OS X.

This patch fixes that by converting the description to a unicode
string if it's not unicode.
2013-05-13 21:16:59 +03:00
Maurizio Ballo
429ab2772b Updated Italian translation 2013-04-25 14:52:22 +02:00