On Windows systems the command-name includes the extension .exe
When reading the dictionary for the right command parameters we
have to remove the extension to find the correct entry
Also remove a false variable name (e instead of episode)
Dear libav and ffmpeg developers, thanks for having two
different codebases, and thanks for making it even harder
to use a single command (either "ffmpeg" or "avconv") from
third party applications. If it weren't for you, we would
not have spend some quality time fixing this bug...
When in landscape the play queue button would not be visible.
This change detects the orientation and changes the number of
columns on the grid, so the buttons are either arranged in the
horizontal or vertical.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
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'
Makes the gpodder.net and Flattr tabs behave the way the rest of the
tabs in the preferences dialog do (the widgets dont expand in the y
direction).
Sets the vertical and horizontal scrollbars in the Extension tab so that
they are only used if necessary.
After the simplifications of the model objects, the
Woodchuck extension is broken for now. If somebody
wants to take ownership of that extension and fix it
up for re-inclusion, please get in touch.
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
This avoids issues when the user clicks on the back
button and accidentally hits the refresh button on
the start page. Hope this is discoverable enough.
- 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
the introDuration parameter on tedtalks page has changed a little, now the
parameter appears using htmlentities, so I had to change the split for it to be
able to find the subtitles.
Also now the subtitles appears in seconds.
And I've provided 15 as a default value, since it's a good guess for modern
tedtalks (older ones have longer introductions)
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.
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.
* Added thumbnails and descriptions for podcasts and episodes
* Changed Ajax calls to jQuery
* Added support for video files
* Stubbed out some methods to track played and position
* Copied images from QML UI (audio.png and video.png)
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.
the possible guid can have http:// in the beginning, or another number after
the talkId (the TED theme number, if it is a theme feed), so the regex
considers all these possibilities
Somewhere along the line, the GUID for an episode
might be appended to the base URL for the feed. For
this reason, we simply look at the last part of the
GUID (split by ':') and take that as the talk ID.
The Flattr integration was causing the dialog to re-appear if
it is closed to quickly, because of its asynchronous nature,
so it has been ripped out for now.
Also, the section changing wasn't working, so instead of having
a comboboxentry, we now have a combo box and a button that will
open a text entry dialog and allow a new section name to be
entered. This will arguably also improve the user experience.
Add a configuration option and helper class to add
or remove the gPodder downloads directory to the
Tracker miner configuration, so that users can opt
to hide all downloads from the built-in Music app.
The episode multi-action sheet now has got a context
menu that will allow selecting all episodes or just
downloaded episodes. This can be useful for quickly
creating a playlist of e.g. all downloaded episodes
of a podcast.
The check can be carried out on Linux and OS X
as well, but it's mainly targetted at Windows
users, as Linux users will usually get updates
via package repositories. Only for the Gtk UI.
By default, the check is only enabled on Windows
and can be disabled manually via the config editor.
This is still not perfect (has to launch as new process),
but it works for the normal use case as an extension.
Also added support for localized metadata in extensions.
Restructure the source tree to be more like the
target installation directory (share/...).
Rewrite setup.py to only install a subset of the
available UIs and to be more flexible and cleaner
in general.
I hope this doesn't cause too much breakage, but
should result in a cleaner build/install system and
more happy developers and packagers in the long run.