Commit graph

110 commits

Author SHA1 Message Date
Thomas Perl 98ec45a712 Update copyright years (2018) 2018-01-28 19:39:53 +01:00
Eric Le Lay 48c1e18a02 fix tagging extension can't add tags to MP4 with no existing tag 2018-01-01 18:20:42 +01:00
Thomas Perl 7b46a0ee72 Update copyright years (2017) 2017-12-16 13:54:59 +01:00
Eric Le Lay 56ad895cb8 Merge branch 'master' into gtk3
on_application_started
2017-09-17 18:57:23 +02:00
Eric Le Lay f75723311f Merge pull request #322 from elelay/extensions-extras-menu
new on_create_menu and on_application_started extension points.
2017-09-17 18:48:36 +02:00
Eric Le Lay 00e730ebcd convert update_feeds_on_startup to on_application_started
doesn't need to be run when the extension is enabled
2017-09-15 19:48:09 +02:00
Eric Le Lay b18431d002 new extension hook: on_application_started
called after on_ui_object_available and on_ui_initialized
at application startup
2017-09-13 20:32:23 +02:00
Eric Le Lay 01afba8b05 Merge branch 'master' into gtk3
- remove credits
- python2/python3 extensions
2017-06-25 09:54:53 +02:00
Eric Le Lay 9f9c2230ae add a python2 ui flag for extensions
to mark python2/python3 only extensions.
TODO: change flag to python3 when merging to gtk3 branch.
Fixes #252.
2017-06-24 14:47:24 +02:00
Eric Le Lay 81d2c152aa Merge branch 'master' into gtk3
disable MPRIS listener on windows
2017-04-23 19:09:01 +02:00
Eric Le Lay 0b4a6de4f1 Merge pull request #273 from gpodder/freedesktop-detection
Disable MPRIS listener extension in Windows and macOS
2017-04-23 14:11:17 +02:00
Eric Le Lay 35870290ed Merge branch 'master' into gtk3 2017-04-23 13:44:56 +02:00
Eric Le Lay accc8c91cf better method name 2017-04-23 13:40:54 +02:00
Eric Le Lay 2169161017 resume playback: fixes following review 2017-04-17 18:28:29 +02:00
Thomas Perl 32c3e8cf51 Disable MPRIS listener extension in Windows and macOS 2017-04-16 10:25:46 +02:00
Eric Le Lay f34447aabe extension: entry in context-menu to resume playback
Uses the MPRIS2 dbus interface to enqueue and seek the episode
in supported media players.
2017-04-01 22:15:42 +02:00
Eric Le Lay d8bf98c69b python3 mpris-listener extension fix
At first, when self.pos is None, < and - raise exceptions.
Also, in on_playback_stopped, we must keep as str to call
startswith, etc.
2017-04-01 15:31:01 +02:00
Adam Voss 7b8e7b8779 Merge pull request #204 from elelay/mprisExtFix
MPRIS listener extension: fix error when VLC stops
2017-03-25 21:28:17 -05:00
Adam Voss a84560e385 Merge pull request #197 from elelay/taggingBasic
tagging extension: basic support for spx and more formats
2017-03-25 19:28:36 -05:00
Adam Voss bcfdc395d5 Ran 2to3 on 'share' and accepted appropriate changes 2017-03-25 19:25:49 -05:00
Adam Voss d2a9d58524 Changes since Python3 does floating point division
This was done based on a manual search for the '/' character.  No efforts were made to try to run all affected code paths.
2017-02-14 08:53:47 -06:00
Eric Le Lay 68702f7f27 MPRIS listener extension: fix error when VLC stops
then, there is no xesam:url.
Also consider all the mpris2 interfaces before logging a warning
about unexpected interface.
2017-01-08 17:39:52 +01:00
Eric Le Lay ba9f491ecd tagging extension: basic support for spx and more formats
no cover art, but title, etc. tags if supported by Mutagen
2016-12-22 21:16:50 +01:00
Adam Voss 0d0ce6903f Additional python3 syntax fixes
Found by `python3 -m compileall .`
2016-12-06 21:36:20 -06:00
Thomas Perl de69c4b770 Remove unused parameter in util.sanitize_filename() 2016-11-21 23:42:14 +01:00
Thomas Perl dd9ca2a386 Remove util.sanitize_encoding() 2016-11-21 23:40:05 +01:00
Eric Le Lay a87609ccdc fix #148 - tag downloaded extension broken 2016-10-02 19:52:44 +02:00
Eric Le Lay 46c05218a1 fix #148 - tag downloaded extension broken 2016-10-02 19:46:39 +02:00
Eric Le Lay c4cf3832c6 catch exception if Notify is not available 2016-10-02 19:31:04 +02:00
Eric Le Lay 303ee70c47 fix notifications 2016-09-28 11:58:37 +02:00
Thomas Perl 9b8dbdc3a6 New try to do a minimal Gtk+3 port 2016-09-25 14:31:58 +02:00
Brian J. Cohen e09b6f9d27 Add 'set_artist_to_album' config option to 'tagging' extension. Effect is to set the 'artist' tag equivalent to whatever the 'album' tag value is.
Signed-off-by: Brian J. Cohen <brian@intercarve.net>
2016-02-19 12:13:31 -05:00
Thomas Perl 28075c09dd Remove QML UI 2016-02-03 19:54:33 +01:00
Thomas Perl 36eefc8a30 Update copyright years (2016) 2016-01-15 15:22:52 +01:00
Thomas Perl 1e2cc738a4 Ubuntu AppIndicator extension: 'visible' config option 2016-01-15 13:49:56 +01:00
Thomas Perl ef76d0309f Enqueue episodes after download (Closes #133)
Based on an initial patch by boyska <boyska at gmail dot com>.
2016-01-15 13:36:03 +01:00
Thomas Perl bf31b911b6 rename_download: Add add_sortdate and add_podcast_title option
Based on a patch by Rob <rob_is@jabawok.net>.
2015-09-29 09:18:41 +02:00
Thomas Perl aa72634950 Update copyright years (2015) 2015-05-24 19:33:39 +02:00
Stefan Kögl a8d470f3ff Update Sonos Extension
Update link in comment
Update call to soco API
2014-11-26 18:37:37 +01:00
Thomas Perl 823143c9d7 Extension: Open website in episode list (bug 1958) 2014-10-30 12:15:53 +01:00
Thomas Perl f6e7d05dd2 Windows: Support for detecting media players
For now, we can only detect a hardcoded list, but it's better than
previously where we didn't have any support for players on Win32.
2014-10-22 13:52:12 +02:00
dmaglio 8b90139ea4 Update enqueue_in_mediaplayer.py
Add support to Parole Media Player (XFCE Mediaplayer)
2014-10-16 14:17:03 +02:00
Thomas Perl f26aa50e60 rockbox_coverart: Use logger instead of print() 2014-05-17 11:04:27 +02:00
Thomas Perl 8a73027334 Merge pull request #118 from amayer5125/rockbox_coverart
Extension: Rockbox Cover Art Sync
2014-05-17 11:03:08 +02:00
Thomas Perl 2dce352d2f Merge pull request #120 from dovf/master
New extension: MPRIS Listener
2014-05-17 11:02:02 +02:00
Vladimir Rutsky 975a0fcde1 Made into duration parsing more robust 2014-05-09 01:49:18 +04:00
Vladimir Rutsky 430f1fa60c Fix TED subtitles downloading plugin
Looks like page format changed.
2014-05-09 01:45:11 +04:00
Dov Feldstern 458a049fd8 mpris listener: factor out check of whether update is needed (avoid for... else)
I'm not opposed to 'for... else' myself, but I admit that even so I still have
to check [1] every time to remember what Raymond Hettinger suggests the 'else'
*should* have been called (hint: 'nobreak')...

[1] https://www.youtube.com/watch?v=OSGv2VnC0go&t=15m50s
2014-05-05 00:32:56 +03:00
Dov Feldstern a3b2e8230f mpris listener: rename 'same_second' -> 'subsecond_difference'
'same_second' is a bit of a misleading name: it could be understood to check
whether or not two times are "in the same second" rather than whether two times
are "within a second of each other" (so, 1.999 and 2.001 might be thought to
fail this check).

Indeed, the function was originally implemented as "in the same second"; but
that implementation was incorrect in the context in which we use it, and the
implementation was fixed in [1]; unfortunately, the name was not changed as
part of that fix... Fixing the name, too, now.

[1] da2c5444fe

--HG--
extra : amend_source : 0da64760fe6926460641f9ef158bcd23963bf963
2014-05-04 19:45:36 +03:00
Dov Feldstern ae405f5f6a mpris listener: pass arguments to logging functions, instead of %-formatting
this allows the formatting to occur only when the specific logging is enabled

--HG--
extra : amend_source : 290ff6bdb429f67c19e9f6bf393e612b61e19ff7
2014-05-04 19:23:35 +03:00