1. initialize description_html when description used to contain HTML
2. strip HTML tags from description
3. reset last updated from feed to force fetch description/description_html
At least in FreeBSD status of wireless interface is show as
status: associated
not
status: active
So unix_get_active_interfaces() routine fails here. Add 'associated' to regex
to fix up things.
The current Sailfish UI is maintained as part of gPodder 4 in
gpodder-core, gpodder-ui-qml and gpodder-sailfish. The code
removed here was part of the old, Qt4-based Sailfish Alpha
SDK-based port that was still using PySide and Python 2.
The bug could have caused an empty directory in the current working
directory to be removed if an empty folder of the same name exists in
the download directory.
The unix_get_active_interfaces() function only partially works on
FreeBSD. Wireless interfaces do not have a status of "active", but
rather "associated".
If we don't have "ifconfig" and "ip" assume we're online
(because we can't determine that we're offline), and if
detecting the network connection fails for some reason,
also assume that we're online. This avoid bogus "you're
offline" messages while still giving good feedback to
users who try to check for new episodes while offline.
I've also been hit with this bug on FreeBSD where
iproute2 is not available.
FreeBSD 8.2-STABLE i386
I wrote a little patch to make gpodder work on FreeBSD.
- 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
PPP connections on Linux have state "UNKNOWN", and are
therefore not detected as such. We fix this now by assuming
that all "UNKNOWN" connections are actually working Internet
connections, and filter the loopback interface (which is also
an "UNKNOWN" connection).
Thanks to Sudaraka Wijesinghe for the bug report, initial
patch and testing/feedback.
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.
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.
Better flattr integration when offline (bug 1576)
Reset the worker_thread variable when the worker thread is finished (bug 1576)
change the name of the flattr cache database
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.
Fix some issues when using gPodder with Python 3.
This also fixes problems with gPodder's QML UI, so
PySide and the QML UI are now working with Python 3.
This changeset makes gPodder's codebase convertable
to Python 3 using the "2to3" utility. Right now, only
the CLI module (bin/gpo) has been tested.
See the README file for instructions and remarks.
For YouTube and Soundcloud feeds (among others), we try
to avoid renaming downloads even for HTTP redirects,
because the initial filename that we have is usually okay.
Create a temporary M3U playlist and send its
filename to the Nokia Media Player, as this
is the only way to open multiple files at once
with the built-in Media Player.
Spaces in username or password for HTTP auth were
quoted in a wrong way (quote_plus), which made the
rest of the code not decode the URL correctly.
This patch makes quoting of spaces work correctly
and produce URLs that have correct semantics. Unit
tests were also added to verify this special case.
This patch adds two methods for detecting the
episode length (time units, not bytes):
* iTunes-specific "duration" in the RSS feed
* GStreamer-based length detection after download
The patch also adds duration information to the
tooltip in the episode list as a first step for
displaying this information in the UI.
Downloading subscriptions from gpodder.net after
a fresh re-install should now be possible. All
subscriptions from the user will be shown in the
OPML selector after logging in to gpodder.net.
This can obviously be extended to support more
platforms and give better results. For now, only
Maemo and Linux (Laptops, via ACPI battery) are
supported.
This fixes issues where previously downloaded
episodes would not get their extension fixed,
because the mime type does not change, although
the filename is still wrong.
Replace the JSON-based persistence layer with
"minidb", a SQLite-based object persistence
layer, and make the UI request changes from
the API client when it thinks it fits best.
Also, add a Hildonized UI of the mygpo settings
dialog for Maemo 5.
Make sure to quote filenames so that '#' in
filenames does not make the media player fail.
Also add support for opening PDF files with
the PDF viewer and image files with "Images".
Thanks to Bartosz Taudul and Brian May for
the bugs reports on bugs.maemo.org :)
The following command has been used:
grep -r '2005-2009 Thomas Perl and the gPodder Team' * | cut -d: -f1 |
xargs sed -i -e 's/2005-2009 Thomas Perl and the gPodder Team/2005-2010
Thomas Perl and the gPodder Team/g'
Implement proper plural forms for languages
with more than two plural forms by using
ungettext and properly using it for plurals.
Thanks to Tomasz Dominikowski for reporting.
Users can now set their preferred YouTube fmt_id
for downloads of YouTube videos. The default has
been changed to 18, because that's a known-good
video format that should work on most machines.
This is still a work-in-progress, but it works
fine for me so far. Still needs lots of work to
be more accessible and robust.
You can use the "sc:" prefix to add Soundcloud
users (or use http://soundcloud.com/username).
It's now possible to have some prefix shortcuts
when adding URLs. This should make the life of
lazy typists easier, especially on mobile devices.
At the moment, the only available prefix is "fb:".
If you want to add a FeedBurner URL, simply take
the name of the podcast and prefix it with "fb:".
Added some doctests to normalize_feed_url.
Don't fail hard when we cannot get the real
URL of an episode while searching for files.
Only partially fixes bug 573, as the reporter
has posted the traceback in the wrong bug.
This makes the media player and web browser integration
work on Fremantle/Maemo 5 and makes it work better on
Diablo (only single notification; better browser start).
Use gpodder.ui.{desktop,diablo,fremantle} for
detecting which environment and interface to use.
Fremantleized versions of the episode selector
and podcast directory windows roughly done.
Add some additional code and checks to make the use
of password-protected podcasts more stable and easier
to use. Thanks to Dan Ramos for the bug report.
If the player supports it (%U, %F or at least NOT %f, %u),
then only run one command for multiple selected episodes
and in this way support the playback of multiple episodes.
I'm attaching a patch against the current git tree which should fix
this, based on the information here:
http://mail.python.org/pipermail/python-list/2003-May/203223.html
Note that the user will need to have the Python win32 extensions
installed - see http://sourceforge.net/projects/pywin32/ - and I have no
idea how to include these in the frozen Python binary which is included
in the win32 distribution of gpodder. The patch reverts back to the old
behavior if it can't find the win32api.