Commit Graph

26 Commits

Author SHA1 Message Date
luzpaz 8a995cb097 Fix various typos
Found via `codespell -q 3 -S *.po -L bloc,extracter,parms`
2023-07-14 12:13:50 +00:00
Teemu Ikonen 6bd0bb0530 Remove unused imports and pass statements
Fixes flake8 error F401.
Most errors were fixed by running

autoflake -i -r --remove-all-unused-imports .

which also removes unnecessary 'pass' statements, some by hand-editing.
2022-11-14 18:32:09 +02:00
auouymous 41c312dd68 Change deprecated logger.warn() to logger.warning(). 2022-04-29 02:54:32 -06:00
auouymous 73a83f7a4e Add Strawberry player to the enqueue extension.
Closes #1078
2021-06-27 04:00:41 -06:00
Eric Le Lay d2db5b001c update extension doc links 2020-05-25 18:39:14 +02:00
Eric Le Lay a05bd85d76 registry.custom_downloader + registry.download_url
for extensions to be able to register custom downloaders,
not only resolving episode to a real download url.
refactor {escapist,youtube,vimeo}.get_real_download_url to use registry.
2019-08-17 16:25:00 +02:00
MarkusHackspacher 82f41f4c21 sorting imports
with isort -y -rc
see #393
2018-07-24 11:08:10 +02:00
Eric Le Lay b307b41a40 apply util.Popen everywhere
It will default to close_fds=True.
On Windows, it will log an explanation message on incompatible use of close_fds+redirection.
2018-05-28 21:14:08 +02:00
Vhati 7698b0dc41 Fixed file descriptor leaks into child processes 2018-04-29 17:12:47 -04: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
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
Adam Voss bcfdc395d5 Ran `2to3` on 'share' and accepted appropriate changes 2017-03-25 19:25:49 -05: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 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
Christian Boxdörfer 10d1af5a7e enqueue extension: add a variety of audio players 2014-04-22 17:27:26 +02:00
Bernd Schlapsi bbfcd58ba6 Add option to flattr an extensions and to show documentation
If an extension author adds an flattr url to the extensions metadata
gPodder shows the "Flattr this" menu entry in the popup menu for an
extension in the preference dialog.
Alternative the extension author can add an url to the extensions
metadata to link to the authors donation page (Support the author).

Also the extension author can add an url to the extensions metadata
to link to the extensions user documentation.
2013-04-13 12:27:13 +02:00
Thomas Perl a352c0779b Remove "print" statement in enqueue_in_mediaplayer 2013-03-09 11:58:11 +01:00
Thomas Perl 7e1a081c60 Extensions: Cleaned up "Enqueue in Media Player" 2013-03-09 11:53:07 +01:00
Bernd Schlapsi 7fcbb39fc9 Enqueue episodes in Totem also (bug 1775)
Thanks to Eric Le Lay for the patch
2013-03-09 10:45:19 +01:00
Bernd Schlapsi d7020a8ea7 marked episode(s) as played when enqueue (bug 1749) 2013-02-17 10:45:23 +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 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
Bernd Schlapsi 825216ba79 Add extension to enqueue in media player (bug 1583)
At the moment this extension supports VLC and Amarok,
but it would be possible to add more media players
in the future.
2012-10-23 13:35:11 +02:00