Commit graph

137 commits

Author SHA1 Message Date
MarkusHackspacher 8eaa6a3c33 fix E251 unexpected spaces around keyword / parameter equals 2018-05-21 19:26:01 +02:00
MarkusHackspacher eecfd64f63 fix E261 at least two spaces before inline comment 2018-05-17 08:39:56 +02:00
MarkusHackspacher 039ffba236 fix E731 do not assign a lambda expression, use a def 2018-05-06 22:26:54 +02:00
MarkusHackspacher 11bf9e3ef8 fix E401 multiple imports on one line 2018-05-05 23:50:37 +02:00
MarkusHackspacher 9adb9a7d22 fix E124 closing bracket does not match visual indentation
add e124 and E220 to E229 as E22 in setup.cfg
2018-05-01 14:22:18 +02:00
Jason Lingohr 57b62e7ab8
Updates from review. 2018-04-21 12:40:59 +10:00
Jason Lingohr 288acdec67
Improve sonos.py a bit
Some modifications to better handle grouped speakers, as well as showing them as a target choice.
2018-04-20 13:27:27 +10:00
Eric Le Lay 3d64e671a4
Merge pull request #440 from elelay/soco-update
sonos extension: update to soco >= 0.7 API
2018-04-19 21:55:01 +02:00
Eric Le Lay afe8d458ba sonos extension: remove controller from any group
suggested by @lingfish
2018-04-19 21:54:18 +02:00
Eric Le Lay d468482573 fix sonos.py code 2018-04-18 21:52:18 +02:00
Eric Le Lay fa5a289396 finish fixing E226 2018-04-15 18:59:20 +02:00
Eric Le Lay ecf732d9c9 sonos extension: update to soco >= 0.7 API
fixes #431
2018-04-15 18:34:57 +02:00
MarkusHackspacher 52ddd60434 fix E228 missing whitespace around modulo operator
see issue https://github.com/gpodder/gpodder/issues/393
2018-03-18 01:00:02 +01:00
Eric Le Lay 41f893806a documentation link for Command on Download extension
fixes #317
2018-03-17 16:44:40 +01:00
Eric Le Lay 192fc3d730
Merge pull request #418 from MarkusHackspacher/codestyle7
fix W503 line break before binary operator
2018-03-17 15:37:07 +01:00
Eric Le Lay 2a811fbf30
Merge pull request #402 from gpodder/command_on_download_ext
Extension to run a command on download
2018-03-14 20:00:30 +01:00
MarkusHackspacher 41f07738ff fix W503 line break before binary operator 2018-03-04 20:27:00 +01:00
MarkusHackspacher 91e2ea9f85 Merge github.com:gpodder/gpodder into codestyle4 2018-02-17 08:09:53 +01:00
Eric Le Lay 798babad8f fix mpris-listener extension error from gpo 2018-02-15 20:59:33 +01:00
Eric Le Lay 570c9ae90f Extension to run a command on download
closes #317
2018-02-11 22:27:44 +01:00
MarkusHackspacher a90fa0b521 fix W391 blank line at end of file 2018-02-11 21:51:40 +01:00
MarkusHackspacher 0c18a43d13 fix E302 and E303, only blank line change 2018-02-11 00:22:00 +01:00
MarkusHackspacher d927b5176b Merge github.com:gpodder/gpodder into codestyle 2018-02-06 18:37:46 +01:00
MarkusHackspacher 9dca8e0506 fix E306 expected 1 blank line before a nested definition 2018-02-06 18:33:52 +01:00
Eric Le Lay 11569ca31d more pycodestyle checks
see #393 for discussion
2018-02-06 15:19:08 +01:00
MarkusHackspacher fcbaee227c Fix W291 trailing whitespace 2018-02-01 07:59:22 +01:00
MarkusHackspacher c1c841c08c Fix W293 blank line contains whitespace 2018-01-30 14:04:28 +01:00
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