Commit Graph

474 Commits

Author SHA1 Message Date
Bart De Vries eab5d08acd Fix database storage bug in ErrorLogModel 2021-05-15 20:31:32 +02:00
Bart De Vries 4e34e76ee0 Replace "feed" by "podcast" 2021-05-12 20:57:56 +02:00
Bart De Vries f1961abe4c Add Accessibility information to ListDelegates 2021-05-12 20:48:54 +02:00
Bart De Vries cce0afd3a0 Add setting to show title overlay on FeedListDelegate images 2021-05-12 20:46:48 +02:00
Bart De Vries 0fc8cca3ef Add missing brackets to if statement body 2021-05-12 13:53:22 +02:00
Tobias Fella 9cbfde6d7c Add more license information 2021-05-12 13:43:49 +02:00
Anubhav Choudhary 79659c99f0 [cli] Added functionality to add feed through command line 2021-05-12 13:25:25 +02:00
Tobias Fella 4b32d7699a Set style for windows 2021-05-12 13:02:55 +02:00
Tobias Fella 55e13ab059 Fix height on resized images 2021-05-12 01:28:41 +02:00
Tobias Fella 6cf133d1d6 Replace "Feed" with "Podcast" in user-visible strings
Should be more understandable
2021-05-11 13:12:38 +02:00
Tobias Fella 3d2d935307 Update description 2021-05-11 12:58:19 +02:00
Bart De Vries dbd108ac44 Make PlayerControls buttons scale properly
Also reworked some of the spacings and alignments of items on
PlayerControls to better make use of the available space and look
consistent across themes/styles (e.g. Material).
2021-05-10 15:32:58 +02:00
Bart De Vries 687c4ec7d0 Solve anchor issue with InlineMessage 2021-05-08 21:09:21 +02:00
Bart De Vries 33b3685413 Visual alignment of elements and whitespace corrections 2021-05-08 19:09:28 +02:00
Bart De Vries a7bac204ad Implement InlineMessage displaying download/update errors 2021-05-08 18:54:29 +02:00
Bart De Vries 506a419aff Update text on FeedDetailsPage to apply to podcasts rather than RSS feeds 2021-05-08 16:24:15 +02:00
Bart De Vries 53cba484fb Only show subtitle in header if it's not empty 2021-05-08 16:20:06 +02:00
Bart De Vries 9c83ee08e8 Show BusyIndicator on newly added feeds until they have finished updating 2021-05-08 16:13:28 +02:00
Bart De Vries 3f4eedb8df Enable setting for automatic feed refreshing on startup 2021-05-07 22:19:14 +02:00
Bart De Vries 236c579bef Enable setting for automatic download of new episodes 2021-05-07 22:19:02 +02:00
Bart De Vries d224eb1b24 Add header to QueuePage with remaining episodes and time 2021-05-07 15:33:39 +02:00
Bart De Vries 1461c7e86c Remove instance() method from AudioManager
AudioManager is currently owned by qml, so it's highly confusing to have
this routine, since it would give a pointer to another instance than the
one owned by qml.
2021-05-07 15:28:14 +02:00
Bart De Vries cfae4a9fa9 Defer resetting the new flag on feeds until everything's been processed
Resetting the flag immediately can lead to situations where all entries
of a new feed are marked as new if the initial feed import gets
interrupted somehow.  E.g. when the user quits the application while
doing an initial import.
2021-05-07 10:26:58 +02:00
Bart De Vries 372f91f4fb Fix mistake: loadPageWithProperties should have been loadPage 2021-05-05 21:56:48 +02:00
Bart De Vries d4d8daa73d Make sure that initialPage is not triggered on every globaldrawer action 2021-05-05 16:58:43 +02:00
Bart De Vries ce360f5ff8 Correct fillMode setting in PlayerControls 2021-05-05 16:57:35 +02:00
Bart De Vries 7e29417db7 Add property to ImageWithFallback to handle image fillMode 2021-05-05 15:56:55 +02:00
Bart De Vries 51b007ce95 Remove settings from Alligator which are not used anymore in Kasts 2021-05-05 15:06:38 +02:00
Bart De Vries 97c3fc6e4d Use ImageWithFallback also in MinimizedPlayerControls and PlayerControls
This leverages re-use of code and simplifies having to define fallbacks
everywhere images are displayed.  It also gets rid of the dependency of
logo.png (which became problematic after the alligator logo was removed
from this repo).
2021-05-05 14:06:33 +02:00
Bart De Vries 8e3a688ddf Don't mark any episodes as new when adding new feeds
Tobias was right; marking one (or more) episodes as "new" on a new feed
doesn't make a lot of sense.  The latest episode from some podcast feeds
can be very old.  Besides, it's quite annoying having a lot of episodes
queued automatically...
2021-05-05 14:04:47 +02:00
Bart De Vries f2efa50b82 Fix build after logo.png was removed 2021-05-05 13:50:35 +02:00
Bart De Vries 1c44e717ae Renaming alligator to kasts everywhere 2021-05-03 22:31:45 +02:00
Bart De Vries dd5e10f973 Fix whitespace and inconsistencies in action text 2021-05-03 16:00:05 +02:00
Bart De Vries 0846dd9d9b Disable DBus as dependency for Android 2021-05-03 12:59:06 +02:00
Bart De Vries fb1516281e Avoid double "Add to queue" actions on EntryPage
Instead of showing "add to queue" as main action and left action, the main
action will show "delete download", leaving "add to queue" as left
action.
This does mean that "delete download" can be main action or right
action, but this is nevertheless an improvement for now...
2021-05-02 15:03:44 +02:00
Bart De Vries 34c5e5309c Implement timeString method to create HH:mm:ss strings from qint64
This method is now used in all places where a HH:mm:ss string is
required.
2021-05-02 09:42:49 +02:00
Bart De Vries 173b86b85d Get rid of downloadStatusChanged in Enclosure
Instead change the signature on statusChanged so it can pass on all
required information instead of needing two signals with separate
signatures.
2021-05-02 09:05:26 +02:00
Bart De Vries c9af45f2ce Change from qmlRegisterSingletonType to qmlRegisterSingletonInstance 2021-05-02 09:04:19 +02:00
Bart De Vries 1b1654d1f4 Apply clang-format 2021-05-01 21:35:37 +02:00
Bart De Vries e774e09f48 Fix missing pre-compiler directives for android in powermanagementinterface 2021-05-01 21:21:09 +02:00
Bart De Vries d1618943f5 Update based on review by Tobias Fella 2021-05-01 21:09:07 +02:00
Bart De Vries 4aa2f14eb7 Apply 50 suggestion(s) to 19 file(s) 2021-05-01 18:59:08 +00:00
Bart De Vries 5a9aa35748 Generate dbus sleep inhbit interfaces from XML 2021-04-30 23:12:22 +02:00
Bart De Vries 6edbd91f18 Set setPreventSleep in play() and pause()
Making it toggle based on the playerState did not work properly because
the stream is toggling between pause and play several times in the
prepareAudioStream method.
2021-04-30 21:45:11 +02:00
Bart De Vries cbf0d9c622 Comment out some qDebug() statements 2021-04-30 19:13:43 +02:00
Bart De Vries 2e777630bc Remove asynchronous loading of Loader in ImageWithFallback 2021-04-30 14:47:13 +02:00
Bart De Vries 8ce5ee0e88 Add dialog-close to icons for Android 2021-04-30 14:46:48 +02:00
Bart De Vries ead73ac2fe Safeguard against QMediaPlayer::InvalidMedia
In case of the InvalidMedia status, skip to next track and delete the
invalid enclosure.
2021-04-30 11:57:39 +02:00
Bart De Vries 3439d1c34b Add progress loader symbols to loading images and refreshing feeds 2021-04-29 22:48:43 +02:00
Bart De Vries b2568e390b Finish ImageWithFallback and use cachedImage everywhere 2021-04-29 22:48:43 +02:00
Bart De Vries c35f057a19 Add cachedImage properties to Entry and Feed
This property returns the path to the cached image if it's been
downloaded, or return "" if it's not been downloaded yet, or "no-image"
in case the image property does not contain a URL to an image.
2021-04-29 22:48:43 +02:00
Bart De Vries 7e5206a61c Make ImageWithFallback load images dynamically 2021-04-29 22:48:43 +02:00
Bart De Vries f0106aceef Introduce ImageWithFallback 2021-04-29 22:48:43 +02:00
Bart De Vries f91dfda504 Use native onClicked in FeedListDelegate 2021-04-29 22:48:43 +02:00
Bart De Vries 16a5cfbcf9 Add OverlaySheet with actions on FeedList 2021-04-29 22:48:43 +02:00
Bart De Vries 1ebbafc87f Work on getting feedList to look like CardsGridView
Next up, add actions somehow.
2021-04-29 22:48:43 +02:00
Bart De Vries cfea2e9ad1 Add close button to AddFeed OverlaySheet 2021-04-29 22:48:43 +02:00
Bart De Vries 184ba72208 Safeguard against downloaded enclosures of 0 size 2021-04-29 22:19:34 +02:00
Bart De Vries 9b7d943a89 Add actions to be able to remove non-podcast entries from queue 2021-04-29 11:32:16 +02:00
Bart De Vries 36ad248e55 Do some additional checks on entry before loading in AudioManager 2021-04-29 11:28:59 +02:00
Bart De Vries 943b66207b Fix automatic resizing of articles; re-instate custom font sizes 2021-04-27 22:08:19 +02:00
Bart De Vries 9ebc6ecb7e Fix wonky behaviour of FooterBar when resizing and PlayerControls are open 2021-04-27 21:46:43 +02:00
Bart De Vries 02e92f9a8f Remove numberNewEpisodes from settings
Also clean up the unused allowStreaming setting
2021-04-27 20:58:01 +02:00
Bart De Vries 6938b331c3 Move toggleRemainingTime to general settings group 2021-04-27 20:48:51 +02:00
Bart De Vries 4d526e89c3 Fix incorrect text on actions on EntryPage 2021-04-27 11:21:23 +02:00
Bart De Vries 64ba96fa32 Remove irrelevant commented out line 2021-04-27 10:54:18 +02:00
Bart De Vries 49d7897e97 Rename showRemainingTime to toggleRemainingTime 2021-04-27 10:16:38 +02:00
Bart De Vries f26c1d5854 Add Bart De Vries as author in AboutData 2021-04-27 10:00:17 +02:00
Bart De Vries 76c30dff87 Fix issues identified in review by Tobias Fella 2021-04-27 09:43:58 +02:00
Bart De Vries c37ee7c7dd Apply 17 suggestion(s) to 7 file(s) 2021-04-27 07:31:26 +00:00
Bart De Vries f2c6c3fae2 Avoid race condition when adding feed
When adding a feed and simultaneously starting a feed update, a race
condition could happen where the feed update would catch up with the
feed adding, and start adding and marking old episodes as new before
the original addFeed method would reach them.
2021-04-26 16:58:22 +02:00
Bart De Vries 0d275b8400 Don't show clear error button when there are no errors
Also add the icon to the icons to be packed for android.
2021-04-26 10:57:55 +02:00
Bart De Vries aa5dd6bdbf Minor fixes for the "Refresh all feeds" actions 2021-04-26 08:05:06 +02:00
Bart De Vries 7d21f5fbe7 Finish basic ErrorListPage implementation 2021-04-25 14:34:14 +02:00
Bart De Vries 3653aa4687 More work on the ErrorListPage delegate 2021-04-25 09:54:15 +02:00
Bart De Vries 5a0972372b Add ErrorModel, just a placholder GUI for now 2021-04-24 23:32:10 +02:00
Bart De Vries 51db7ea1cf Only use custom gst-pipeline on linux
GStreamer is not used as QMediaPlayer backend on other platforms, so
audio will not start with a custom gst-pipeline on Android and Windows.
Still needs a solution to get rid of the horrible pitch change on
Android and Windows, though.
2021-04-23 10:55:59 +02:00
Bart De Vries e2d59a69b0 Move audio positioning hack into a separate method
This allows the hack to be re-used in the play() method.  Apparently on
some systems the stream becomes unresponsive again after pausing.  So
probably it's required to ensure that the stream is fully seekable and
buffered before restarting playback.
2021-04-22 16:48:13 +02:00
Bart De Vries 28d6f7f525 Fix compiler warnings 2021-04-22 11:00:17 +02:00
Bart De Vries a50c8bf001 Add capability to monitor ongoing downloads 2021-04-21 23:09:19 +02:00
Bart De Vries 8c32389b65 Add rounded corners to image on PlayerControls 2021-04-21 22:20:58 +02:00
Bart De Vries fe66490c8f Remove settings from SettingsPage which are not yet fully implemented 2021-04-21 20:43:18 +02:00
Bart De Vries 6c7a271970 Use custom gst-pipeline to avoid pitch changes when audio is sped up 2021-04-21 20:25:01 +02:00
Bart De Vries cbc9f11999 Remove redundant mousearea 2021-04-21 15:41:06 +02:00
Bart De Vries 5a28e48be0 Solve problem with padding in PlayerControls
Kirigami.Page is always adding padding around the content items.  This
gives visual artifacts with the swipepage on the player controls.  Part
of the previous page was still visible because the width of the
swipepage entries is less than the width of the full Kirigami.Page that
they are part of.
2021-04-21 15:27:42 +02:00
Bart De Vries 73c333cf61 Add possibility to delete feed from entrylistpage 2021-04-21 14:53:03 +02:00
Bart De Vries 20b767711a Add rounding to images in genericentrydelegate
Also remove the unused rounding in the feedlistdelegate
2021-04-21 14:53:03 +02:00
Bart De Vries 2b5597cbd6 Redesign feedlistpage and feedlistdelegate 2021-04-21 14:53:03 +02:00
Bart De Vries 3870338e65 Add sourceSize to images 2021-04-21 14:53:03 +02:00
Bart De Vries d949a357ef Center countlabel in update notification 2021-04-21 14:53:03 +02:00
Bart De Vries 02340ec362 Overload addFeed 2021-04-21 14:53:03 +02:00
Bart De Vries 21b47effa9 Take tabbar into account when displaying update notification 2021-04-21 14:53:03 +02:00
Bart De Vries cac0a8b8b6 Adapt signature of error signal
This will be needed for future error logging.
2021-04-21 14:53:03 +02:00
Bart De Vries 295b98a903 Refactor import feeds to be able to show progress 2021-04-21 14:53:03 +02:00
Bart De Vries 695baf9cbb Add fetch function that can take a list of urls 2021-04-21 14:53:03 +02:00
Bart De Vries 28e8051500 Implement update status progress indicator 2021-04-21 14:53:03 +02:00
Bart De Vries 53e2560796 Implement backend for feed update progress 2021-04-21 14:53:03 +02:00
Bart De Vries 3c51ad2052 Remove unnecessary unread tab in episodes 2021-04-21 14:53:03 +02:00
Bart De Vries 6a256baa18 Disable more debug output
Disable in fetcher and datamanager
2021-04-21 14:53:03 +02:00
Bart De Vries 6cb062dd9c Disable debug output in queuemodel 2021-04-21 14:53:03 +02:00