Commit graph

205 commits

Author SHA1 Message Date
Thomas Perl
aaca8eeb36 CLI: Handle keyboard interrupt like a shell 2011-02-25 18:08:01 +01:00
Thomas Perl
c9a08bd7e1 CLI: Add paging support for episode lists 2011-02-25 17:57:23 +01:00
Thomas Perl
a2597d46d2 CLI: Add tab completion for podcast URLs 2011-02-25 17:37:50 +01:00
Thomas Perl
9736459d8d CLI: Add readline support and tab completion 2011-02-25 17:14:21 +01:00
Thomas Perl
9a61c36cf1 CLI: Add interactive shell mode to "gpo" 2011-02-25 17:04:31 +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
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
b849e7b5cc Preliminary test framework for the QML UI 2011-02-01 21:48:03 +01:00
Thomas Perl
61b3179a1b Remove support for Maemo 4 (Diablo) 2011-02-01 17:59:00 +01:00
Thomas Perl
20d629ba8d Allow re-setting of gPodder's home folder 2011-02-01 17:04:13 +01:00
Thomas Perl
15697a5b0e Handle failed feed updates in "gpo" (bug 1264)
Thanks to Ville-Pekka Vainio for reporting this bug.
2011-02-01 12:26:32 +01:00
Thomas Perl
8012c4f6bb Remove portable device synchronization 2010-12-20 10:29:41 +01:00
Thomas Perl
03e6ef1ecf Clean and bling up the CLI interface (gpo) 2010-10-10 22:44:22 +02:00
psychedelys
8bb8248584 Implement more subcommands of "gpo" (Bug 1059) 2010-10-05 19:37:19 +02:00
Thomas Perl
276d3cd060 Implement "pause subscription" in "gpo" 2010-09-27 00:22:13 +02:00
Thomas Perl
52ee5e897b gPodder 2.8 "The Gold Napoleon" released
Updated list of contributors, README and
the help output of "gpodder". Bumped the
release date and version number.
2010-08-28 19:22:44 +02:00
Thomas Perl
216b4335a7 Maemo 4: Auto-detect running on OS2008 2010-07-05 20:46:25 +02:00
Thomas Perl
9eb5c9c8f1 Auto-detect when running on Maemo 5 2010-05-25 13:54:30 +02:00
Thomas Perl
f4f61426b6 Minor indentation fix 2010-03-16 11:20:22 +01:00
Eric Le Lay
a3635e3348 Support Mac OS X locale settings (bug 943)
With this patch, the user's selected locale
in System Preferences is used on Mac OS X.
2010-03-16 11:19:22 +01:00
Eric Le Lay
002b7c631c Add "-psn" argument for Mac OS X (bug 939)
When gPodder is run as an Mac OS X application,
it is passed a "-psn" argument. This patch adds
a dummy argument to prevent parser.parse_args
from failing.
2010-03-14 22:07:20 +01:00
Eric Le Lay
997c832062 Recursive symlink resolving (bug 938)
This makes gPodder work in cases where the
binary is linked with more than one indirection.
2010-03-14 22:03:20 +01:00
Thomas Perl
7dcbce11ee Default cover art for coverless podcasts
Makes the subscription list look way better.
Improvement ideas for the "all episodes" icon
are welcome. The SVG source file is included.
2010-02-24 01:50:21 +01:00
Thomas Perl
0ec6f86e8e Info message for already-running instace
This avoids user confusion when gPodder
won't start from the command line due to
an already-running instance on D-Bus.
2010-02-04 17:13:04 +01:00
Thomas Perl
a540cecf98 D-Bus interface for podcasts (bug 699)
This patch is based on a patchset that
has been created by Iwan van der Kleijn.
2010-01-11 20:31:17 +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
4c5bf203da Use folder.jpg for cover art (bug 283)
Right now, the name "folder.jpg" is used
regardless of whether or not the file is
indeed a JPEG file.
2009-12-27 14:12:39 +01:00
Thomas Perl
f09df62178 Fix cover file name in backup and sync (bug 591)
When adding new feeds, the new filename ".cover"
is not detected correctly when syncing files to
an iPod or backing up the download folder.

This patch fixes it by first trying the old name
("cover") and then the new one (".cover") if the
old one does not exist.

Thanks to Romain Janvier for reporting this bug.
2009-10-12 11:12:12 +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
96e0b375a7 Add separate .ui file for gPodder on Maemo 4
This removes lots of old monkey-patching code
from gui.py and makes the whole UI cleaner.

Did I mention that it allows us to customize all
UIs separately without having to write code?
2009-09-05 15:42:55 +02:00
Thomas Perl
be099296d7 Move UI files that differ between Maemo and Desktop
This movement and the associated update of setup and
startup files allows us to not install files that
are not needed on Maemo / on the Desktop version.
2009-09-02 00:05:51 +02:00
Thomas Perl
d2b326bcec Add support for multiple .ui file folders
This allows us to override specific files with
the same name on Maemo to provide a custom UI.
2009-09-01 23:59:20 +02:00
Thomas Perl
97be330253 Add "--subscribe" command-line switch for URLs
The command 'gpodder --subscribe URL' displays the
given URL in the gPodder GUI and allows the user to
add the URL to gPodder. If gPodder is already running,
the running instance will be used. If not, gPodder
will start and display the URL.
2009-08-26 14:45:54 +02:00
Thomas Perl
4a92dddd25 Clean up gpodder.gui / move credits from gui to credits.txt 2009-08-24 20:59:21 +02:00
Thomas Perl
b58dbcebb9 Finally get rid of libgpodder/gPodderLib
..because global state is bad.
2009-08-24 18:11:58 +02:00
Thomas Perl
806c719c4b Deprecate the old-style command-line interface
Add a interim "sync" command to the "gpo" utility
to replace all the functionality of the old "gpodder"
CLI parameters (which had a "--sync" switch).
2009-08-13 21:03:01 +02:00
Thomas Perl
dca7f7776d Don't overwrite backup files with gpodder-backup 2009-07-27 14:13:38 +02:00
Thomas Perl
e727b4cbaa Make D-Bus an optional (recommended) dependency
Make D-Bus optional if python-dbus is not available,
not only if we're on Win32. Also, if we have D-Bus,
but getting the session bus fails, show an error and
exit. This should fix Debian Bug 520369.
2009-05-30 11:31:02 +02:00
nikosapi
cf5e2a8296 Set the nice value of the gPodder process to 0 on maemo
This reduces the chance that gPodder will kill the tablet when
doing a feed cache update.
2009-05-30 10:45:00 +02:00
Thomas Perl
aab4e524ef Enhanced the API; more features for "gpo"
Add the ability to update feeds and download episodes
from the API and implement more features in "gpo".
2009-05-10 23:16:48 +02:00
Thomas Perl
fa863df2c9 Transition from LibGlade to GtkBuilder
Get rid of the libglade dependency and the big
gladefile and move to the newer GtkBuilder.

Adopt the SimpleGladeApp to create the new uibase
module and split the .ui files into one per dialog.

Add helper scripts to doc/dev/ to clean ui GtkBuilder
files after conversion from Glade.

State changed dependencies in README.

Update Makefile and setup.py to install .ui files.
2009-05-08 14:28:53 +02:00
Thomas Perl
5a51e8c15f Yet another fix for the script path detection
This time, we get it right.. hopefully (os.readlink does
require the argument to be a symlink).
2009-05-07 21:27:00 +02:00
Thomas Perl
a42f6ed1ca Let scripts work even if symlinked from elsewhere
In case the "gpodder" or "gpo" scripts are symlinked
from somewhere else (e.g. in ~/bin/), they should still
work and read their links to find the correct paths.
2009-05-07 19:15:08 +02:00
Thomas Perl
d6d70e39d5 Bugfixes, API enhancements (episode status) and DB improvements
Fix a bug in gui.py (add URLs without scheme did not work).

Add is_new, is_downloaded and is_deleted as episode attributes.

Make the DB code less locking and don't complain about not being
able to write to the database when only trying to open it.
2009-05-07 18:57:14 +02:00
Thomas Perl
e17b413532 Initial version of "gpo" CLI tool and API module
In order to be able to allow for a more generic access
to gPodder's data, we now provide a better CLI interface
that acts like apt-get/svn/git/... and an API module
that will allow developers to integrate gPodder functionality
into their Python applications.
2009-05-07 18:26:12 +02:00
Thomas Perl
b1ec8f62e9 Make gPodder more library-like; remove --local
Do not install gettext globally, but have a gettext
function in the gpodder module and import it from all
dependent modules.

Remove the --local command line option and instead
automatically detect if the gpodder script is called
from a source folder (determined by the existence of
"src" and "data" in the parent folder and by the fact
that prefix does not start with '/usr').

Clean up setup.py and use metadata from the module.
2009-05-07 16:26:07 +02:00
Bastian Kleineidam
0a8784bdc6 Fix dbus.exceptions.DBusException when running from cron
Do not fail when we cannot connect via D-Bus when
running as a cronjob ("dbus-launch failed to autolaunch").

This patch has been attached to Debian Bug #520369.
2009-03-23 22:26:01 +01:00
Thomas Perl
73661afead gPodder 0.15.0 "The Invaders"
Another release, rejoice! Changes in this commit are
only for the usual release management, see

  http://wiki.gpodder.org/wiki/Release_Process
2009-03-09 12:35:41 +01:00
Anders Kvist
ac5e804ab0 D-Bus object; only allow a single instance running (bug 62)
Add support for D-Bus to gPodder, and allow only one
instance running (the second invocation sends a D-Bus
message to the running instance to show the window and
then exits).
2009-02-25 14:57:45 +01:00