Commit Graph

146 Commits

Author SHA1 Message Date
Thomas Perl 39daccbd92 QML UI: Initial support for Sailfish Silica 2013-03-01 11:19:18 +01:00
Thomas Perl aa488bccdf YouTube: Fix directory search (bug 1760)
For users who set their realname as display name,
search results resulted in non-working feeds.

Now using the username from the URI to fix this.
2013-01-27 13:24:30 +01:00
Thomas Perl 16ddd925a5 YouTube: Fix downloading on Harmattan 2012-11-23 12:03:41 +01:00
Thomas Perl 811323f5eb YouTube: Remove dependency on OrderedDict
We still need to support Python 2.6 easily, as this is
what we have on MeeGo 1.2 Harmattan.
2012-11-18 21:35:21 +01:00
Thomas Perl 9e218bc3b5 YouTube: Cleanup the format selection patch 2012-10-23 13:41:40 +02:00
Chionsas 14ab2d0478 YouTube: Gtk UI for video quality selection (pull request 19)
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.
2012-10-23 13:41:31 +02:00
Thomas Perl 6733a23f0d YouTube: Add support for https:// links 2012-09-28 16:02:50 +02:00
Andreas Piesk d1d78ed685 YouTube: Fix the new 403 issue (bug 1665) 2012-09-28 16:01:04 +02:00
Thomas Perl 6db58176f6 YouTube: Parse error messages, improve downloading 2012-09-23 20:29:29 +02:00
Thomas Perl 0d605960d9 Fix parse_qs importing for Python < 2.6 2012-09-18 09:53:10 +02:00
Thomas Perl 61f2cfa379 QML UI: Remove remaining Maemo 5 (Fremantle) support
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.
2012-09-15 20:22:06 +02:00
Thomas Perl abe01deca3 Fix YouTube download URL resolving (bug 1665)
Thanks to Andreas Piesk for the proposed patch and
to all who reported this issue in our bug tracker.
2012-09-15 19:30:02 +02:00
Thomas Perl 9f58b8eda8 Write debug output to logfile (bug 1460)
Also, various clean-ups around the logging mechanism (remove
gpodder.ui.desktop, etc..) needed to make the logging work without
problems.
2012-03-02 09:03:01 +01:00
Thomas Perl 0a6c30afa8 YouTube: Add support for WebM (bug 1336)
If you set your preferred fmt_id of YouTube
to any of the WebM formats (43, 44 or 45),
gPodder will download the WebM-format file.
2012-02-05 15:05:06 +01:00
Thomas Perl 5205a4b71d Update copyright years (add 2012) 2012-01-09 21:19:24 +01:00
Thomas Perl 653e464b59 YouTube: Duration parsing for channel feeds
The duration is parsed out of the description's
HTML content. This might not be the best way to
do it, but it "usually works" ;)
2012-01-09 19:01:45 +01:00
Thomas Perl 2ceba6d99f Support for YouTube playlists 2011-08-05 23:58:55 +02:00
Thomas Perl 05032c0b00 Fix YouTube video downloading 2011-08-04 04:51:49 +02:00
Thomas Perl 8e87300c04 Logging: Deprecate liblogger, use standard logging module 2011-07-15 16:32:06 +02:00
Thomas Perl f8eb799ade Harmattan is here 2011-07-03 18:21:37 +02:00
Thomas Perl 4b6fa1b077 QML UI: Subscription UI and compatibility fixes 2011-06-11 16:35:11 +02:00
Thomas Perl b0f24a0bcb Add episode context menu hook, refactor playback code 2011-06-08 11:04:29 +02:00
Thomas Perl 6da6bae33b YouTube: Use the API URLs for searching users 2011-04-10 23:48:22 +02:00
Thomas Perl 4376057001 Update copyright years 2011-04-01 18:59:53 +02:00
Thomas Perl ced50e47ab Fix YouTube download problems (HTTP 400) (bug 1308) 2011-03-25 18:33:47 +01:00
Thomas Perl 61b3179a1b Remove support for Maemo 4 (Diablo) 2011-02-01 17:59:00 +01:00
Thomas Perl c98ced70dd Fix broken YouTube search (Maemo bug 11756)
Thanks to Stuart Howarth for reporting the bug.
2011-02-01 12:26:20 +01:00
Thomas Perl 18650f2359 YouTube: Use preferred fmt_id in new resolver (bug 1239) 2010-12-18 15:27:10 +01:00
Thomas Perl 8f167f89a0 YouTube: Better error message for protected videos
YouTube protects pages that contain violence, etc.. by
requiring users to login to prove they are over 18. We
can't determine the fmt_url_map in that case, so this
patch adds a better error message to the failed download.
2010-12-18 14:32:33 +01:00
Thomas Perl 7e50609f89 YouTube: Use fmt_url_map for download URLs (bug 1217)
Based on an initial patch by Norbert Lataille.
2010-12-14 18:34:26 +01:00
Thomas Perl c976f85d0d Add widescreen fmt_id=18 YouTube support 2010-09-28 17:55:49 +02:00
Thomas Perl b0a00f3103 YouTube: Fix HD video downloading (bug 1122)
Make sure to strip extraneous backslashes from
the available formats list, so higher fmt_ids
are detected correctly by the YouTube client.
2010-08-23 23:14:35 +02:00
Thomas Perl 756aac8e70 Fix broken YouTube downloading
Something has (again) changed on the web server interface of
YouTube, breaking downloads for older versions of gPodder.
2010-07-24 13:28:06 +02:00
Thomas Perl 5be694f9e4 Fix YouTube video format detection (bug 1076)
YouTube have once again changed their internal
data structures (this time it's "fmt_map"). This
patch fixes these issues by updating the list of
formats known by gPodder and YouTube.
2010-07-18 21:30:32 +02:00
Thomas Perl cf44f7c30e Code cleanup: Remove unused imports 2010-05-17 18:26:13 +02:00
Thomas Perl f963f410bc YouTube streaming for Maemo 5
Enable (lower-quality) YouTube streaming for
Maemo 5, and remove the loading animation in
the Maemo 4 UI for the episode list.
2010-04-03 01:33:12 +02:00
Thomas Perl cf226f4ae9 Fix YouTube format detection (bug 967) 2010-04-01 17:09:42 +02:00
Thomas Perl 55deea0499 Fix YouTube video downloads (t parameter) 2010-04-01 17:05:30 +02: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 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 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 6974f777e6 Fix YouTube video downloads for Fremantle 2009-09-19 20:38:09 +02:00
Thomas Perl 1d0eea4465 First cut of Fremantle (Maemo 5) support
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.
2009-09-15 19:49:28 +02:00
Thomas Perl 3853d4980b Fix YouTube user cover and video downloading
Added support for fmt_id 22 (HD video!) on Desktop.
Use better quality on Maemo.
2009-09-11 02:07:54 +02:00
Thomas Perl 3464c5d347 Disallow adding non-podcast feeds (bug 554)
Also fixed some YouTube-related problems that
caused the bug and now needed some refactoring.
2009-09-09 19:53:26 +02:00
Thomas Perl 90cda4b56b Rename gpodder.resolver to gpodder.youtube and clean it up
Remove the GTK+ dependency in gpodder.youtube by making the
only function that is in there fake a opml.Importer-like object,
so we can use the model from gpodder.gtkui.opml to display the
results instead of generating the model inside gpodder.youtube.
2009-08-24 17:02:35 +02:00
Renamed from src/gpodder/resolver.py (Browse further)