Commit graph

1628 commits

Author SHA1 Message Date
Thomas Perl
d9a4963669 Use only "cgi.escape" for escaping Pango markup
Replace the usage of saxutils.escape with cgi.escape.
2011-02-25 21:05:26 +01:00
Thomas Perl
77f0c8b707 Remove obsolete M3U-generating code 2011-02-25 20:58:38 +01:00
Thomas Perl
ca02aca587 Don't move .partial files into "Unknown" folder 2011-02-25 19:14:43 +01:00
Thomas Perl
9c9b2f2333 Maemo 5: Fremantle detection fix (gpodder.ui.fremantle) 2011-02-25 19:12:23 +01:00
Thomas Perl
9a61c36cf1 CLI: Add interactive shell mode to "gpo" 2011-02-25 17:04:31 +01:00
Thomas Perl
70792fdd8b Option: Auto-download episodes when on Wi-Fi (Maemo bug 5181) 2011-02-25 16:33:26 +01:00
Thomas Perl
fb2f181757 Fix encoding issue with UTF-8 filenames (Maemo bug 11811)
Conflicts:

	src/gpodder/gui.py
2011-02-25 16:33:01 +01:00
Thomas Perl
1174ec69dc Maemo 5: Always show "Check for new episodes" (Maemo bug 11637) 2011-02-25 16:32:06 +01:00
Thomas Perl
ddf6b3c450 Maemo 5: Add OPML export to settings (Maemo bug 11504)
Conflicts:

	src/gpodder/gui.py
2011-02-25 16:31:46 +01:00
Thomas Perl
6ec217c876 Maemo 5: Move "Visit website" button to app menu 2011-02-25 16:31:04 +01:00
Thomas Perl
d6cab6245c Maemo 5: Add "Copy" button for shownotes (Maemo bug 11487) 2011-02-25 16:30:44 +01:00
Thomas Perl
d81f1f1b9b Maemo 5: Episode list style updates
Conflicts:

	src/gpodder/gtkui/frmntl/model.py
	src/gpodder/gui.py
2011-02-25 16:29:43 +01:00
Thomas Perl
9714ef8188 Implement import of externally-downloaded files (bug 902)
This only works for files that are still available in the
feed, and for which the filename can be determined easily.
For files that are supported (e.g. proper feeds and most
YouTube user channels), the import will happen automatically.

Command line users can use the new "gpo importfiles" command.

Other files that cannot be identified will be moved into
the 'Unknown' subfolder, so future versions or external
utilities can look at those files and import them.
2011-02-25 00:45:49 +01:00
Thomas Perl
269e1dc463 Maemo 5: Remove obsolete version-getting code 2011-02-24 23:33:44 +01:00
Thomas Perl
5ac4b4ded0 Gtk UI: Remove dependency manager code 2011-02-24 23:21:37 +01:00
Thomas Perl
d230bfb8f2 Web UI: Very crappy testing code ;) 2011-02-18 20:47:11 +01:00
Thomas Perl
ce01048150 Test code for a web UI (based on gpodder.core) 2011-02-12 16:40:26 +01:00
Thomas Perl
a0cb589411 Clean up gpodder.api + use gpodder.core in CLI 2011-02-12 15:21:52 +01:00
Thomas Perl
442f175157 Fix a bug in the UserEQL function (None value) 2011-02-11 16:27:57 +01:00
Thomas Perl
997bb2dfcc Add support for remembering last playback time
This makes it possible to get "recently listened
to" episodes from the database, and reload the
last-listened-to episode from the database.
2011-02-11 16:25:56 +01:00
Thomas Perl
f02063beea Don't show "finished" in the position display 2011-02-11 15:57:03 +01:00
Thomas Perl
3b077e235b Implement switcher for desktop platforms 2011-02-11 15:23:17 +01:00
Thomas Perl
7fabc344e2 Show "new" episodes in the podcast list 2011-02-07 19:15:45 +01:00
Thomas Perl
981dc89387 Unify player interface; fix resuming of streams 2011-02-07 18:46:44 +01:00
Thomas Perl
976ab670e5 Various refactoring/code-cleanup in QML UI 2011-02-07 18:23:54 +01:00
Thomas Perl
2cd547cccb Refactoring: QObjectProxy for easy property access 2011-02-06 19:48:58 +01:00
Thomas Perl
38e94d40fd Refactoring: gpodder.qtui -> gpodder.qmlui 2011-02-06 19:10:43 +01:00
Thomas Perl
b20d1fe0d6 Merge common initialization code to gpodder.core 2011-02-06 19:05:52 +01:00
Thomas Perl
4211dc5731 Fremantle QTM workaround; "Force update" 2011-02-06 15:01:17 +01:00
Thomas Perl
38b650ff79 First cut of playback tracking support 2011-02-06 13:46:20 +01:00
Thomas Perl
cb38b68367 Cleanup; self-contained "qmlviewer"-compatible test data 2011-02-05 16:32:56 +01:00
Thomas Perl
4e09b984f8 Support for grouping podcasts by content type 2011-02-04 19:06:20 +01:00
Thomas Perl
19fff36b14 Add support for titlebar buttons / search button 2011-02-04 17:57:40 +01:00
Thomas Perl
a424097a74 Transition animation duration moved to config.js 2011-02-04 17:47:45 +01:00
Thomas Perl
79c08f40ab Save database when closing QML UI 2011-02-04 16:32:34 +01:00
Thomas Perl
c85e85651b Make "now playing" a proper tab 2011-02-04 16:08:48 +01:00
Thomas Perl
afdfd5687f Don't delete episodes if max_episodes is 0 2011-02-04 02:47:30 +01:00
Thomas Perl
1baafde6dc QML UI: SelectableItem base class + episode actions 2011-02-04 02:44:42 +01:00
Thomas Perl
0731e0fb2f First working QML context menu action: update 2011-02-04 02:32:14 +01:00
Thomas Perl
682017a633 Implementation of QML context menu 2011-02-04 01:58:50 +01:00
Thomas Perl
22fbd8b0ab First cut of the new gPodder touch design 2011-02-03 19:20:29 +01:00
Thomas Perl
3c5fd0ef23 minidb: Fix encoding issue (bug 1088)
Make sure that utf-8 strings are converted
to unicode before sending to the database.
2011-02-03 13:14:45 +01:00
Thomas Perl
0471d52c06 Now playing throbber; basic audio/video playback 2011-02-03 00:38:18 +01:00
Thomas Perl
ff3d1d965f Experimental support for audio and video playback 2011-02-02 22:48:17 +01:00
Thomas Perl
bc824ad465 Use QGLWidget instead of -graphicssystem opengl 2011-02-02 21:24:35 +01:00
Thomas Perl
e0d45914d7 QML Episode List Test UI 2011-02-02 19:19:03 +01:00
Thomas Perl
3b23519ac6 QML Podcast List UI Test Artwork 2011-02-02 00:27:33 +01:00
Thomas Perl
19c36ad921 Fix unplayed podcast statistics calculation 2011-02-02 00:24:12 +01:00
Thomas Perl
b849e7b5cc Preliminary test framework for the QML UI 2011-02-01 21:48:03 +01:00
Thomas Perl
6924210ab8 Pre-compile EQL expressions for episode filtering 2011-02-01 20:01:35 +01:00
Thomas Perl
ae41616aa0 Maemo 5: Avoid destruction of the episode actions dialog 2011-02-01 18:47:19 +01:00
Thomas Perl
67cd2340a7 Use set_home in Win32 gPodder launcher 2011-02-01 18:44:26 +01:00
Thomas Perl
80e32c6ebe Move gPodderWelcome to Desktop-only; remove from Fremantle 2011-02-01 18:30:16 +01:00
Thomas Perl
4414616b43 Remove gpodder.ui.maemo / replace with ui.fremantle 2011-02-01 18:23:37 +01:00
Thomas Perl
616dbefdd5 Remove unused icon compositing code from list model 2011-02-01 18:12:20 +01:00
Thomas Perl
66cc798b02 Remove set_finger_friendly + finger_friendly_widgets 2011-02-01 18:06:24 +01:00
Thomas Perl
61b3179a1b Remove support for Maemo 4 (Diablo) 2011-02-01 17:59:00 +01:00
Thomas Perl
097d1c0a05 Fix getting episodes from DB via filename 2011-02-01 17:44:08 +01:00
Thomas Perl
0fc540c3b7 Remove GStreamer-based track length detection 2011-02-01 17:36:24 +01:00
Thomas Perl
6eb8102e70 Remove obsolete get_filesize_string 2011-02-01 17:31:29 +01:00
Thomas Perl
f4533770b2 Fix a bug in the schema upgrade code 2011-02-01 17:31:18 +01:00
Thomas Perl
64a2e214bc Schema creation, upgrade and migration for DB 2011-02-01 17:27:34 +01:00
Thomas Perl
20d629ba8d Allow re-setting of gPodder's home folder 2011-02-01 17:04:13 +01:00
Thomas Perl
d085ddfaf0 Python 2.5 compatibility: with statement 2011-02-01 16:58:56 +01:00
Thomas Perl
1eb454981f Remove "double_click_episode_action" config option 2011-02-01 16:47:03 +01:00
Thomas Perl
7252391f37 Remove *_played_dbus from config
This avoids problem with "played" status tracking
on Maemo. With this change, we always mark an
episode as "played" as soon as it is loaded into
a media player, but due to the MAFW time tracking
we don on Maemo 5, we can now determine the "finished"
state through other means, anyway.
2011-02-01 14:38:37 +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
0f5a45bc42 Reference PodcastEpisode only on model.Model 2010-12-20 15:48:29 +01:00
Thomas Perl
b04ca2c58a PodcastChannel: Remove save_dir_size 2010-12-20 15:28:52 +01:00
Thomas Perl
b7109c4301 Cleanup: Simplify delete_from_disk + cover_file 2010-12-20 15:26:11 +01:00
Thomas Perl
dedc1d1aba Remove direct references to PodcastChannel and PodcastEpisode
This will come in handy when subclassing the model classes.
2010-12-20 15:17:48 +01:00
Thomas Perl
be1c1114a2 Show filesize after download has finished 2010-12-20 15:00:41 +01:00
Thomas Perl
5a5ff375f3 Remove obsolete properties in PodcastEpisode
Simplify the episode selector list code.
2010-12-20 14:51:20 +01:00
Thomas Perl
292c82ab00 Database schema cleanup / upgrade 2010-12-20 14:35:46 +01:00
Thomas Perl
3e59385337 Remove sync_to_devices from podcast channel 2010-12-20 11:15:29 +01:00
Thomas Perl
f9eeabdc62 Remove config option: minimize_to_tray 2010-12-20 10:37:36 +01:00
Thomas Perl
8012c4f6bb Remove portable device synchronization 2010-12-20 10:29:41 +01:00
Thomas Perl
e3e4a81272 Merge download_dir and gpodder.home 2010-12-20 03:09:35 +01:00
Thomas Perl
ff1221b0e1 Rename database.sqlite to gpodder.db 2010-12-20 02:26:03 +01:00
Thomas Perl
bb3c77ac19 Remove support for channels.opml 2010-12-20 02:20:44 +01:00
Thomas Perl
cc58ca6646 Remove deprecated statistics properties of channel 2010-12-20 01:59:34 +01:00
Thomas Perl
e131e5a40c Remove device_playlist_name from podcast channel 2010-12-20 01:58:08 +01:00
Thomas Perl
052aeb6959 Config: rename "opml_url" and "toplist_url" 2010-12-20 01:37:25 +01:00
Thomas Perl
f893e7e49a Categorize configuration options 2010-12-20 01:34:04 +01:00
Thomas Perl
3f8d0d7b90 Config: Remove "apply_fixes" function 2010-12-20 01:26:15 +01:00
Thomas Perl
66f6c94b0b Remove config option: update_on_startup 2010-12-20 01:24:13 +01:00
Thomas Perl
06a665dac2 Reorder / group config options 2010-12-20 01:21:41 +01:00
Thomas Perl
420ab48842 Remove config option: on_drag_mark_played 2010-12-20 01:14:53 +01:00
Thomas Perl
f1dc81b6e0 Remove config option: open_torrent_after_download 2010-12-20 01:13:58 +01:00
Thomas Perl
1b519b27aa Remove config options: enable_fingerscroll and maemo_enable_gestures 2010-12-20 01:10:35 +01:00
Thomas Perl
62125c1b09 Remove config option: start_iconified 2010-12-20 01:00:13 +01:00
Thomas Perl
9bb08bb105 Remove config option: episode_list_thumbnails 2010-12-20 00:58:20 +01:00
Thomas Perl
d95d3ae1f6 Remove config option: allow_empty_feeds 2010-12-20 00:54:19 +01:00
Thomas Perl
45c9ace224 Clean up configuration (remove descriptions) 2010-12-20 00:52:40 +01:00
Thomas Perl
6a62fd0e90 Remove cmd_download_complete / cmd_all_downloads_complete
User hooks can now be used instead of this feature.
2010-12-20 00:26:51 +01:00
Thomas Perl
bf7c297157 Remove on_quit_systray config option 2010-12-20 00:23:10 +01:00
Thomas Perl
41054b620a String change: "Keep episode" -> "Archive" 2010-12-20 00:18:22 +01:00
Thomas Perl
fa9f1b3747 Initial Episode Query Language (EQL) draft
With EQL, users can write sophisticated queries against
episode lists to filter them down to what they want.
2010-12-19 23:46:17 +01:00
Thomas Perl
749137396f gPodder 2.11 "Dance Me A Dance" released
Updated README, credits, manpages and version info.
2010-12-19 22:55:58 +01:00
Thomas Perl
7616f61146 Episode GUID should be unique per-podcast only 2010-12-19 22:31:54 +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
7886cf5607 Desktop: only_sync_not_played for per-podcast sync (bug 1213)
The only_sync_not_played configuration option was not
followed when the per-podcast context menu item "Sync to
device" was used, as all episodes of that podcast were
forced to be copied to the device. This is now fixed, and
only unplayed episodes will be copied in this case.
2010-12-18 15:09:58 +01:00
Thomas Perl
22e24ccfcd Strings: Merge "manual only" to "manually" (bug 1215) 2010-12-18 14:55:19 +01:00
Thomas Perl
10cad7aad0 Proper single-time download notifications (bug 1161)
Only show a notification for finished or failed downloads
once, both on the Desktop version and on Maemo 5 by adding
a special function to DownloadTask to keep track whether or
not the notification has already been shown previously.
2010-12-18 14:50:43 +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
bbd5720775 Ignore invalid timestamp from iPod (bug 418) 2010-12-18 13:59:31 +01:00
Thomas Perl
495b1658f5 Add support for file:// URLs for feeds (bug 1229) 2010-12-16 19:24:06 +01:00
Sebastian Hanula
8f84d07c17 Use first Content-length header (bug 1226)
Use first matching Content-length header when multiple
found. Occured with some cache/proxy servers.
2010-12-16 18:52:05 +01:00
Thomas Perl
c183a73b9e Fix a bug with type-less content in feeds
Thanks to @baltha on identi.ca for reporting this
bug for http://www.2600.com/oth-broadband.xml
2010-12-16 12:02:13 +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
b875481241 Remove broken iTunes podcast code (bug 1218) 2010-12-06 13:06:32 +01:00
Thomas Perl
73d34b1446 Nicer download filenames for Soundcloud streams 2010-12-06 01:49:40 +01:00
Thomas Perl
4be7b6fb9c Maemo 4: Don't add file:// in M3U file (Maemo bug 11647) 2010-12-06 00:30:46 +01:00
Thomas Perl
e6fc040baf Don't paste text with spaces as URL 2010-12-02 13:41:31 +01:00
Thomas Perl
d5df6aece2 Maemo 5: Fix podcast directory selection 2010-11-29 10:58:20 +01:00
Thomas Perl
bc64b110f2 gPodder 2.10 "There Lies A Widget, Stir!" released
Updated README, credits, manpages and version info.
2010-11-28 16:56:34 +01:00
Thomas Perl
fd81a84e22 Maemo 5: Don't resume finished episodes 2010-11-27 20:12:11 +01:00
Thomas Perl
a90d615e80 Maemo 5: Fix window and button layout (Maemo bug 11499)
The main buttons and the window margin were not aligned
right compared to built-in apps such as the phone or
conversations app. This patch fixes the padding issues.
2010-11-24 22:13:28 +01:00
Thomas Perl
1f407787c7 Mark "from" in shownotes translatable (bug 1209) 2010-11-24 19:15:56 +01:00
Thomas Perl
cd68646105 Maemo 5: No pause button in all episodes 2010-11-24 18:52:10 +01:00
Thomas Perl
a3529e2758 Fix pre-selection in "Delete episodes" (bug 1210) 2010-11-24 17:03:52 +01:00
Thomas Perl
75a4316282 Maemo 5: Time display + playback fixes 2010-11-23 16:00:26 +01:00
Thomas Perl
41fa3a4d6a Maemo 5: Always reload episode from DB on update 2010-11-23 12:34:58 +01:00
Thomas Perl
3cbfc665e2 Maemo 5: Use M3U even for single-file playback 2010-11-23 12:34:24 +01:00
Thomas Perl
f2b40ef6bd Typo fix (greater than vs less than) 2010-11-23 12:29:18 +01:00
Thomas Perl
d56647ee26 Windows: Fix saving in preferences dialog (bug 1151) 2010-11-23 12:26:40 +01:00
Thomas Perl
a31fe42eb0 Use dict-based format strings for numbers (bug 1165) 2010-11-22 21:52:58 +01:00
Thomas Perl
3f6a393194 Fix Soundcloud download URLs (API key) (bug 1185) 2010-11-22 21:21:19 +01:00
Thomas Perl
d90447fa1a Maemo 4: Don't select a podcast on startup (bug 1182) 2010-11-22 20:47:23 +01:00
Thomas Perl
3d2dca6d97 Highlighting of new episodes in non-description mode 2010-11-22 20:12:54 +01:00
Thomas Perl
d455e8e690 Remove unused statistics code for feed update 2010-11-22 20:09:54 +01:00
Thomas Perl
3a0bc82f1c Remove "on_quit_ask" configuration option
This was annoying, and we still (unconditionally)
show the confirmation if downloads are in progress,
which is what this feature has been about in the
first place.
2010-11-22 20:03:11 +01:00
Thomas Perl
cab0346ec3 Code cleanup for Maemo 5 OPML code 2010-11-22 19:55:47 +01:00
Thomas Perl
53f83892d3 Update website URL and e-mail address 2010-11-22 19:40:29 +01:00
Thomas Perl
d56ffcda7f Maemo 5: Setting for episode auto-delete on startup 2010-11-22 15:50:41 +01:00
Thomas Perl
ecf592a04f Maemo 5: Expose "Pause subscription" in UI 2010-11-22 15:30:01 +01:00
Thomas Perl
12d420acdc Maemo 5: Multi-delete in episode lists (Maemo bug 5182) 2010-11-22 14:58:07 +01:00
Thomas Perl
53e08473a0 Delay live search to be more responsive 2010-11-22 14:44:12 +01:00
Thomas Perl
316f1d84e7 Maemo 5: Proper empty episode list label handling 2010-11-22 14:28:27 +01:00
Thomas Perl
bf6504a7f0 Maemo 5: Remove unused episode list sorter 2010-11-22 13:30:37 +01:00
Thomas Perl
2994c2e15d Improve episode list loading 2010-11-20 23:45:07 +01:00
Thomas Perl
3ee02088c6 Fixed height mode; episode list optimization 2010-11-20 23:15:30 +01:00
Thomas Perl
0189854146 Custom episode list only for Fremantle UI 2010-11-20 17:47:23 +01:00
Thomas Perl
b40bf6ef5e Initial work on custom tree models 2010-11-20 17:47:23 +01:00
Thomas Perl
1cc976b421 Update Qt UI example to use PySide 2010-11-20 17:46:46 +01:00
Thomas Perl
d7100371f9 Auto-convert gtk.Button from .ui files (Touch UI)
Convert all gtk.Button widgets loaded from .ui files to
finger-friendly widget if enable_fingerscroll is True.
2010-11-19 18:07:58 +01:00
Thomas Perl
5cf3f87d12 Desktop: Kinetic scrolling and finger friendly UI
Make the enable_fingerscroll option work on the Desktop
version as well if the libraries are available and make
sure that buttons are big in this case (for Tablet PCs).
2010-11-18 18:32:49 +01:00
Thomas Perl
4dabfaa7b1 More space-efficient download progress size text 2010-11-18 18:09:49 +01:00
Thomas Perl
939fae75cf Download list: Display filesize in progress bar 2010-11-18 13:11:39 +01:00
Thomas Perl
400517921f Add D-Bus API for synchronization (bug 1187) 2010-10-30 13:00:07 +02:00