Commit Graph

14 Commits

Author SHA1 Message Date
Stephan Skrodzki 47f2b620c3 absolute path should also be checked in two_way_sync 2023-01-29 19:53:10 +01:00
Teemu Ikonen d87ac85506 Fix 'W504 line break after binary operator' flake8 warnings
Fixed by running

autopep8 -i -r --select=W504 .

and some hand tuning.
2022-11-14 18:32:09 +02:00
Teemu Ikonen 6bd0bb0530 Remove unused imports and pass statements
Fixes flake8 error F401.
Most errors were fixed by running

autoflake -i -r --remove-all-unused-imports .

which also removes unnecessary 'pass' statements, some by hand-editing.
2022-11-14 18:32:09 +02:00
auouymous 37ad7cac89 Catch unknown sync exceptions when opening device and show error.
Some devices lack writable info and gpodder assumes they are writable.
This can lead to an exception being thrown when not writable.
2022-09-19 22:51:53 -06:00
auouymous 41c312dd68 Change deprecated logger.warn() to logger.warning(). 2022-04-29 02:54:32 -06:00
blushingpenguin 56291c0f6f #1111: fix download limit not being respected, add new tasks in the queued state so they render correctly in the ui 2021-07-31 08:23:23 +01:00
auouymous 106e2f4fcd Fix linting issues from #1054 2021-07-27 21:44:04 -06:00
blushingpenguin c9bbc4f799 fix deleting episodes deleted from device (skip_locked was removed in 62bb7efade) 2021-07-12 11:32:49 +01:00
blushingpenguin e09f5aecad fix playlist sync 2021-07-11 19:52:34 +01:00
blushingpenguin e2a512a34c add mount call for CLI; fix done_callback not being called if opening device fails; handle errors from querying device 2021-06-12 15:45:53 +01:00
blushingpenguin b40f283499 fix race where download ui updates could be turned off for subsequent tasks if after adding a task it completed very quickly on another thread; fix use of Gtk.ListView as a multi-threaded container (sometimes returns None for an item and causes an exception) 2021-06-05 22:24:04 +01:00
blushingpenguin 6d40da3cb5 use Gio for file system based device sync (allows mtp:// urls) 2021-05-31 07:12:13 +01:00
auouymous a955f7257a Move optional import errors to time of use to avoid spamming all users
with sync-only warnings. And better indicate why the modules are needed.
2020-05-13 01:30:48 -06:00
Eric Le Lay 97db9c97d2 fix #243 add sync command to gpo 2018-10-14 16:10:45 +02:00
Renamed from src/gpodder/gtkui/desktop/sync.py (Browse further)