Commit graph

279 commits

Author SHA1 Message Date
Eric Le Lay
c6860de1de Fix #681 "Change delete lock" only unlocks an episode 2019-11-02 18:39:06 +01:00
Eric Le Lay
ec315df200 fix #683 Search for new episodes on startup extension broken 2019-09-29 16:43:35 +02:00
Eric Le Lay
d5118d972b Fix #658 update feeds on startup extension conflicts with resume download
new on_find_partial_downloads_done() hook for update_feeds_on_startup extension.
It's the only way to prevent a race condition between adding downloads
from new episodes when set to download immediatly and adding back
partial downloads.
2019-09-23 20:10:18 +02:00
Eric Le Lay
635c2e1800 deprecated cgi.escape to html.escape + escape every self.show_message
Otherwise an empty Download Error popup happens
if episode title contains '&' when important=True and we set
the popup's text using pango markup.
2019-09-08 18:14:52 +02:00
Eric Le Lay
5e9d2923db Merge remote-tracking branch 'origin/master' into youtube-dl 2019-08-27 20:49:51 +02:00
Eric Le Lay
e82f1f97f8 fix View > Show Toolbar always disabled
broken since Feb (e4a16f1526)
2019-08-24 16:26:57 +02:00
Eric Le Lay
31e8de4355 fix #547 Download progress not updated on auto download
- adding new tasks to download queue manager is delayed in
download_episode_list() so new tasks are in INIT state.
- download_list_update() will disable UI refresh when it sees no task
in queued downloading or synchronizing state.

So after download_episode_list(), there is a race condition between
the first execution of download_list_update() and queue_task()

Fixed by calling enable_download_list_update() after adding tasks to the
download queue manager.

Also queue_tasks() now registers all tasks at once instead of one by
one.
2019-08-24 16:02:22 +02:00
Eric Le Lay
a05bd85d76 registry.custom_downloader + registry.download_url
for extensions to be able to register custom downloaders,
not only resolving episode to a real download url.
refactor {escapist,youtube,vimeo}.get_real_download_url to use registry.
2019-08-17 16:25:00 +02:00
Eric Le Lay
42cd004935 don't eat extension's dot in sanitize_filename_ext
it's too confusing: caused bugs in core itself (#630)
2019-06-09 16:05:16 +02:00
Eric Le Lay
078d6f856a fix #630 Send to local folder doesn't put the . in the name before the extension 2019-05-28 20:36:13 +02:00
Eric Le Lay
ed4d2dea71 fix #296 - Notification window for failed download should show podcast name
thanks to @auouymous for the patch
2019-05-18 17:59:55 +02:00
Eric Le Lay
1b018a3659 Fix #618 download extension lost on long filenames 2019-04-06 17:11:04 +02:00
Eric Le Lay
81550092e2 fix Model not imported after refactoring 2019-02-03 01:23:10 +01:00
Eric Le Lay
9e4cfe4974 relative imports 2019-02-02 18:39:49 +01:00
Eric Le Lay
e4a16f1526 refactor main.py a bit into app.py 2019-02-02 18:35:19 +01:00
Eric Le Lay
8afbe93faf fix linter warnings 2019-02-02 17:07:20 +01:00
Eric Le Lay
1aed4a35f5 fix missing variable since a36a9ac 2019-01-26 16:46:12 +01:00
Eric Le Lay
d70f032040 Fix #586 remove debug print 2019-01-26 12:52:51 +01:00
Eric Le Lay
a36a9ace22 dynamic channel cover icon based on tree text size
See #590
2019-01-24 19:03:42 +01:00
Eric Le Lay
1ad321def7 deduce progress bar size from treeAvailable text size
See #590
2019-01-24 18:44:03 +01:00
Eric Le Lay
f29e6a3acc remove stray debug message 2018-12-15 22:38:52 +01:00
Eric Le Lay
7794c3afdf
Merge pull request #573 from bth/check_overwrite_file_save
fix #563 add confirmation if file already exist
2018-12-15 17:36:17 +01:00
Eric Le Lay
f51ef5a88e fix #571 unable to subscribe to authenticated podcast after redirect 2018-12-15 17:02:16 +01:00
bth
7d8f8346a0 Extract filename from message for name placeholders 2018-12-15 14:56:51 +01:00
bth
635e2bb9a8 Add filename in the message 2018-12-13 09:59:02 +01:00
bth
b03ed2f503 make indentation with a multiple of four 2018-12-10 17:38:32 +01:00
bth
a732c8c9db fix #563 add confirmation if file already exist 2018-12-10 17:16:16 +01:00
Eric Le Lay
4c9b5b0c0b fix cancel,download buttons enable/disable on tab switch 2018-11-10 16:55:04 +01:00
Eric Le Lay
5bab63a552 simplify: treeview always hasattre is_rubber_banding_active 2018-11-10 16:53:59 +01:00
Eric Le Lay
6fcc647c73 replace deprecated config with new one 2018-11-10 16:52:12 +01:00
Eric Le Lay
73413700fc remove dead method for_each_episode_set_task_status 2018-11-10 16:51:32 +01:00
Eric Le Lay
97db9c97d2 fix #243 add sync command to gpo 2018-10-14 16:10:45 +02:00
Eric Le Lay
cdbeb04eb5 fix #374 export to local folder filename customizable again
with a checkbox to export all remaining episodes to same folder.
This restores the ability to choose the filename for each episode,
while keeping export of a large number of episodes convenient (click export remaining...)
2018-10-13 18:18:25 +02:00
MarkusHackspacher
4fa86ba0b7 fix linter warning
set linelenght for check to 142
2018-09-15 20:11:18 +02:00
MarkusHackspacher
4baaa75ee4 fix E501 line too long
in lines with more than 145 characters
2018-09-07 06:52:32 +02:00
MarkusHackspacher
f4c075c334 fix E127 continuation line over-indented for visual indent 2018-08-25 09:42:10 +02:00
Eric Le Lay
7c96338f50 fix #329 console log feed progression 2018-08-15 15:57:13 +02:00
Eric Le Lay
a769429039 fix #503 Missing translatable content 2018-08-02 22:42:42 +02:00
Eric Le Lay
e9ab9ceb46 run isort on make lint 2018-07-29 14:45:34 +02:00
Eric Le Lay
3aebdb18a4 use localized label to find menu
was broken in French po because it's translated without _
2018-07-28 21:04:25 +02:00
MarkusHackspacher
735ec25fb7 not sort import gi and add isort to travis 2018-07-28 17:04:41 +02:00
MarkusHackspacher
3ce9cd55e7 remove too many blank lines 2018-07-24 14:11:05 +02:00
MarkusHackspacher
82f41f4c21 sorting imports
with isort -y -rc
see #393
2018-07-24 11:08:10 +02:00
Eric Le Lay
499a330055 fix UI freeze when going from All Episodes to a channel with shownotes open 2018-07-21 21:34:24 +02:00
Eric Le Lay
21acabebb5
Merge pull request #472 from MarkusHackspacher/style231
fix E231 missing whitespace after ','
2018-07-20 14:03:39 +02:00
Eric Le Lay
495ec4bb1f warning at startup if gPodder home path is too long
see #494: we get an error even if we limit folder and filename
if home path is too long.
2018-07-20 09:38:00 +02:00
Eric Le Lay
66bc2a6f72 fix #494 - ensure short filenames
- fix rename_download that was causing #494
- max_length is now mandatory in util.sanitize_filename
- add max_length param where it's missing
- factor name computation in deviceplaylist and sync
2018-07-20 09:38:00 +02:00
MarkusHackspacher
c99fca923e fix E231 missing whitespace after ',' 2018-05-29 22:54:05 +02:00
Eric Le Lay
b307b41a40 apply util.Popen everywhere
It will default to close_fds=True.
On Windows, it will log an explanation message on incompatible use of close_fds+redirection.
2018-05-28 21:14:08 +02:00
Eric Le Lay
a1da47dfae Merge branch 'master' of https://github.com/Vhati/gpodder into Vhati-master 2018-05-28 20:32:12 +02:00