Commit Graph

1592 Commits

Author SHA1 Message Date
Bart De Vries f88fb22153 Finally implement restoring playback positions! 2021-04-21 14:53:02 +02:00
Bart De Vries 129707009c Implement the framework for custom audio starting position
What's still needed is the backend for saving the current position
and making the audio player aware of that position when the entry
is changed.
2021-04-21 14:53:02 +02:00
Bart De Vries 527ed67d4a Remove "source" property from audiomanager
Also rename the internal variables of audiomanager to be aligned
with the naming conventions used elsewhere.
2021-04-21 14:53:02 +02:00
Bart De Vries d531b892e8 Adapt license headers of audiomanager 2021-04-21 14:53:02 +02:00
Bart De Vries 6b62ba2cf9 Add playbackrate capability to AudioManager 2021-04-21 14:53:02 +02:00
Bart De Vries 33f380e387 Clarify comment about read/new status 2021-04-21 14:53:02 +02:00
Bart De Vries e722ec29ee Solve issue with miniplayer not hiding on startup 2021-04-21 14:53:02 +02:00
Bart De Vries 3aa4b836d2 Make PlayerManager work
Still one issue with the minimized player opening on startup
2021-04-21 14:53:02 +02:00
Bart De Vries 7d94792872 Add audiomanager and powermanagementinterface
Both classes are based on classes taken from Elisa.

The audiomanager class will be adapted to add functionality like saving
and restoring play positions and interfacing with MPRIS2.
2021-04-21 14:53:02 +02:00
Bart De Vries 16c052250c Make main thread more responsive when updating feeds 2021-04-21 14:53:02 +02:00
Bart De Vries ee13a29d10 Add playposition tracking in enclosure 2021-04-21 14:53:02 +02:00
Bart De Vries e174269332 Make time countdown setting in player persistent 2021-04-21 14:53:02 +02:00
Bart De Vries e1b374e375 Make app restore last playing item 2021-04-21 14:53:02 +02:00
Bart De Vries 218b86807e Make application remember the last opened main page 2021-04-21 14:53:02 +02:00
Bart De Vries fbaf084a37 Solve issue with imported feeds being processed twice 2021-04-21 14:53:02 +02:00
Bart De Vries 65ef16017b Rename AlligatorSettings to SettingsManager 2021-04-21 14:53:02 +02:00
Bart De Vries 7468c35b9a Enable autoDownload
There seems to still be a problem with the images not being fetched for
the newly added queue items.
2021-04-21 14:53:02 +02:00
Bart De Vries 718a9ef734 Delete feed pointer as last action
This to ensure that there will not be a dangling pointer when doing all
the other delete operations (entries, enclosures, files and images).
2021-04-21 14:53:02 +02:00
Bart De Vries 20730ccc6f Add autoQueue option to SettingsPage 2021-04-21 14:53:02 +02:00
Bart De Vries 7232238d7b Add additional checks after enclosure has been downloaded
The file size in the database will be corrected if it doesn't match the
real file size.
The "new" status will be unset once the file has been downloaded.
2021-04-21 14:53:02 +02:00
Bart De Vries 61e3af704b Add "new" label also to queue entries 2021-04-21 14:53:02 +02:00
Bart De Vries a8e174739f Implement "new" episodes feature and autoQueue 2021-04-21 14:53:02 +02:00
Bart De Vries 26986616c7 Only mark episodes as read/new on new feeds, not on existing ones 2021-04-21 14:53:02 +02:00
Bart De Vries 056a7b7835 Fix segmentation fault due to non-existent entry in m_feeds 2021-04-21 14:53:02 +02:00
Bart De Vries 3a4cdbfec0 Implement limited number of new entries for new feed 2021-04-21 14:53:02 +02:00
Bart De Vries 58b5719f71 Minor whitespace correction 2021-04-21 14:53:02 +02:00
Bart De Vries 436e66542a Change to singleton AlligatorSettings class 2021-04-21 14:53:02 +02:00
Bart De Vries 81c2ad90d1 Add "new" label to entry list items 2021-04-21 14:53:02 +02:00
Bart De Vries 4455545daa More optimizations of PlayerControls 2021-04-21 14:53:02 +02:00
Bart De Vries a4dea193ad Make properties for miniplayer size 2021-04-21 14:53:02 +02:00
Bart De Vries 5d5ca2c58b Add title and feed name below image in PlayerControls 2021-04-21 14:53:02 +02:00
Bart De Vries 518dbf293e Fix scrollview details flickable 2021-04-21 14:53:02 +02:00
Bart De Vries ec6e47aea7 Change font size on miniplayer 2021-04-21 14:53:02 +02:00
Bart De Vries 5ed70c41ff Remove unused Feed constructor
This constructor was also outdated.
2021-04-21 14:53:02 +02:00
Bart De Vries bbba177462 More changes to PlayerControls
Trying to put the episode description into the swipeview with a minimal
set of code.  This will allow EntryPage to be refactored with nicer
headers etc.
2021-04-21 14:53:02 +02:00
Bart De Vries 71c86d5645 Add TODO for enclosure file size check 2021-04-21 14:53:02 +02:00
Bart De Vries 8159e5a2ce Redesign FeedDetailsPage 2021-04-21 14:53:02 +02:00
Bart De Vries 3cbea5eb17 Enable refreshing on QueuePage 2021-04-21 14:53:02 +02:00
Bart De Vries 6cd88f5116 Refactor and redesign PlayerControls 2021-04-21 14:53:02 +02:00
Bart De Vries 49e9e7e1e7 Restyle and refactor MinimizedPlayerControls 2021-04-21 14:53:02 +02:00
Bart De Vries e85a3068fc Add check whether to insert or update enclosure to database 2021-04-21 14:53:02 +02:00
Bart De Vries b9433a348a Minor adjustments 2021-04-21 14:53:02 +02:00
Bart De Vries 5d6f05e55e Update copyright headers 2021-04-21 14:53:02 +02:00
Bart De Vries 0ee88666e9 Fixed text in EntryListPage header and make more mobile friendly 2021-04-21 14:53:02 +02:00
Bart De Vries 88b308984d Update qml import versions 2021-04-21 14:53:02 +02:00
Bart De Vries 3b7d2332a7 Change icon for 'remove from queue' action 2021-04-21 14:53:02 +02:00
Bart De Vries 59da275f0e Completely fix author update on feed refresh/add 2021-04-21 14:53:02 +02:00
Bart De Vries df9dd521f3 Work on EntryList qml (WIP) 2021-04-21 14:53:02 +02:00
Bart De Vries e092354696 Partially solve adding author for feed 2021-04-21 14:53:02 +02:00
Bart De Vries ed7f75de13 Send proper signals when adding or removing queue items 2021-04-21 14:53:02 +02:00