Commit graph

157 commits

Author SHA1 Message Date
Thomas Perl
a2c2bafa7b Util: Improve Windows support in find_command() 2011-11-05 21:22:21 +01:00
Thomas Perl
4582c98cfb Fix copyright year in util.py 2011-10-19 14:00:38 +02:00
Neal H. Walfield
afc1b072c0 Implement util.idle_add for multi-threaded Qt 2011-10-17 12:59:49 +02:00
Thomas Perl
3b64aff2c4 Add Qt support to gpodder.util.idle_add 2011-10-12 12:25:08 +02:00
Thomas Perl
a1253753c3 Remove conditionals on gpodder.ui.desktop
The only place where the Gtk UI is used right now
is on the Desktop, so avoid unnecessary checks.
2011-09-19 10:20:04 +02:00
Thomas Perl
69b38badb4 More cautious use of redirect URLs for YT and SC
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.
2011-09-18 22:04:33 +02:00
Thomas Perl
c077f38b8c Title-related changes, better sanitization (bug 1351) 2011-08-08 13:06:20 +02:00
Thomas Perl
714251a7a9 Various fixes to download file/folder handling 2011-08-07 23:39:46 +02:00
Thomas Perl
2ceba6d99f Support for YouTube playlists 2011-08-05 23:58:55 +02:00
Thomas Perl
7fef70e658 Remove support for Fremantle Gtk+ UI
We will only support the QML UI on Fremantle in "tres".
2011-07-16 18:35:14 +02:00
Thomas Perl
2402955bc5 Remove unused functions from gpodder.util 2011-07-15 17:35:43 +02:00
Thomas Perl
8e87300c04 Logging: Deprecate liblogger, use standard logging module 2011-07-15 16:32:06 +02:00
Dov Feldstern
505ea625c0 Support %p (position) in player command (bug 1140) 2011-07-05 16:08:25 +02:00
Thomas Perl
6a15e7ceb4 Normalize URLs without path to "/" as path
This is the same way that mygpo-feedservice and
the mygpo web service normalize feed URLs.
2011-05-09 12:34:23 +02:00
Thomas Perl
30d31a6f75 Improve normalizing of feed URLs
Make sure that domain names are always lowercase.
2011-05-07 18:52:33 +02:00
Thomas Perl
521238cbd3 Win32: Fix issues with backslashes in commands 2011-04-08 14:16:17 +02:00
Thomas Perl
4376057001 Update copyright years 2011-04-01 18:59:53 +02:00
Thomas Perl
fa169718d1 Mac OS X: Avoid exit when set locale fails 2011-03-03 13:09:23 +01:00
Thomas Perl
4414616b43 Remove gpodder.ui.maemo / replace with ui.fremantle 2011-02-01 18:23:37 +01:00
Thomas Perl
61b3179a1b Remove support for Maemo 4 (Diablo) 2011-02-01 17:59:00 +01:00
Thomas Perl
495b1658f5 Add support for file:// URLs for feeds (bug 1229) 2010-12-16 19:24:06 +01:00
Thomas Perl
b875481241 Remove broken iTunes podcast code (bug 1218) 2010-12-06 13:06:32 +01:00
Thomas Perl
a31fe42eb0 Use dict-based format strings for numbers (bug 1165) 2010-11-22 21:52:58 +01:00
Thomas Perl
2e3ee6f9fa Remove broken doctest for run_external_command 2010-10-10 14:06:58 +02:00
Vladimir Voroshilov
54cf803159 Make date formatting locale-aware (bug 663) 2010-09-26 23:42:05 +02:00
Thomas Perl
b50ee225d0 Better OS filesystem encoding detection 2010-08-23 22:48:36 +02:00
Thomas Perl
84b00c8cc1 Basic support for FM4 XSPF playlists 2010-08-20 22:44:06 +02:00
Thomas Perl
82e5f51768 Playback multiple files on Maemo (bug 1037)
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.
2010-07-18 20:55:08 +02:00
Thomas Perl
505ac444e2 Maemo 4: Support for sending files via Bluetooth 2010-07-05 20:46:25 +02:00
Thomas Perl
bcde6ca393 Fix credentials-with-space bug (bug 1065)
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.
2010-07-02 21:37:59 +02:00
Thomas Perl
7c20ffd167 Determine episode duration (bug 811)
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.
2010-06-04 20:43:38 +02:00
Thomas Perl
cf44f7c30e Code cleanup: Remove unused imports 2010-05-17 18:26:13 +02:00
Thomas Perl
e6158c4f17 Fix "Download from gpodder.net" (Maemo bug 9093)
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.
2010-05-12 13:38:31 +02:00
Thomas Perl
cd609dc318 gpodder.net device type auto-detection
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.
2010-05-03 20:11:12 +02:00
Thomas Perl
9c8fd358c3 Simplify delete_file in gpodder.util 2010-04-30 13:22:50 +02:00
Thomas Perl
ccf590328e Better detection for wrong file extensions
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.
2010-04-09 02:28:11 +02:00
Thomas Perl
23992c42f9 Fix YouTube filename extensions on Maemo 5 2010-04-09 01:57:05 +02:00
Thomas Perl
a02f6774f5 Fix issue with floating-point time values
Formatting a time span only works if the
input data is an integer value.
2010-03-02 00:45:47 +01:00
Thomas Perl
25210dfc2d Fix streaming for Maemo 5 (bug 8861)
Make sure that only local file names are
prefixed with "file://" when invoking the
media player (or other viewer apps).
2010-02-07 23:25:36 +01:00
Thomas Perl
f5b6cebfad mygpo: Better integration + Fremantle UI
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.
2010-01-28 17:39:10 +01:00
Thomas Perl
7287ddb0a6 Better file opening (Maemo bugs 7162, 5588)
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 :)
2010-01-25 14:25:05 +01:00
Thibauld Nion
64fcdd83ad Support 'image' in file_type_by_extension (bug 740)
file_type_by_extension formerly filtered out content
that was not a video nor an audio file.
2010-01-07 22:10:37 +01:00
Thomas Perl
afe9581c76 Remove "feeds2" from FeedBurner URLs
It seems like feedburner has stopped
redirecting "feeds.feedburner.com" to
"feeds2.feedburner.com", so we should
update the URLs accordingly.
2010-01-07 22:07:14 +01:00
Thomas Perl
181564f1b7 Add 2010 to the years in copyright notice
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'
2010-01-02 17:35:42 +01:00
Thomas Perl
63dc89e6f4 Fix gettext plural forms (Maemo bug 6885)
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.
2009-12-21 23:18:00 +01:00
Thomas Perl
6ab9856fe9 Configurable preferred YouTube fmt_id (bug 578)
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.
2009-12-17 13:08:55 +01:00
Thomas Perl
6fd48bbeef Detect .mp4 as video extension 2009-12-06 01:09:52 +01:00
Thomas Perl
3bf38383f7 Custom handler support + Soundcloud integration
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).
2009-12-04 00:14:29 +01:00
Thomas Perl
dc849c1bec User-agent header for all HTTP requests (bug 626)
This includes shownotes images (from the HTML widget),
OPML downloads, YouTube resolving and my.gpodder.org.
2009-11-14 02:09:21 +01:00
Thomas Perl
9f227a282d Add support for the "yt:" prefix shortcut
Another useful shortcut to subscribe to YouTube
users. Instead of typing the full URL, just use
"yt:<username>" and get the correct feed added.
2009-11-04 14:58:23 +01:00