Commit Graph

717 Commits

Author SHA1 Message Date
Bart De Vries a753b6918a Fix showing chapters on mobile playercontrols 2023-01-25 18:16:04 +01:00
Bart De Vries a014f28ead Also add clickable timestamps to mobile player controls 2023-01-25 10:52:17 +01:00
Bart De Vries cdec053375 Make timestamps in entry contents clickable, like chapter marks
BUG: 446358
2023-01-24 15:22:40 +01:00
Bart De Vries 5678fc0490 Make things clickable (showing a PointingHandCursor) 2023-01-24 10:56:38 +01:00
Bart De Vries 9963132d60 Only set QT_ENABLE_GLYPH_CACHE_WORKAROUND on arm
BUG: 463383
2023-01-24 10:16:20 +01:00
Bart De Vries 48c1cffd4e [KMediaSession] Put compilation of example player behind switch 2023-01-23 20:55:57 +01:00
Bart De Vries d869358ff5 Header bar redesign
New scalable header bar design which should scale nicely with height
and width changes by collapsing several elements (putting them into
popups and overflow menus).  The height scaling of the header is
similar to Elisa, where it will use the regular background color when
fully collapsed.
Titles are clickable and will open the relevant pages.  Images are also
clickable and that will open a fullscreen view.
This new design also exposes volume controls both for desktop and mobile
layout.

BUG: 457846
CCBUG: 458331
2023-01-23 13:29:21 +01:00
Bart De Vries db41655c5f Solve issue of filter InlineMessages not showing up 2023-01-20 16:56:28 +01:00
Bart De Vries 9ead23ff59 Port c++ to qt6 2023-01-20 14:23:30 +00:00
Bart De Vries acd1a55aae Fix minor issue with network connect check in AudioManager
AudioManager was reporting no connectivity in case the networkstatus was
reported as being "Unknown".  We might as well attempt to stream in that
case.  If there is no connectivity, it will fail anyway with another
useful error message.
2023-01-19 20:43:27 +01:00
Bart De Vries b7c68996eb Revert disabling video on gstreamer
This was causing audio-only tracks to make gstreamer hang indefinitely.
2023-01-18 21:23:41 +01:00
Bart De Vries 50e88a11c2 Limit feed description to two lines until the "show more" button is pressed
BUG: 461216
2023-01-17 14:08:33 +01:00
Bart De Vries 285d3e2c62 Fix playback speed mobile dialog 2023-01-17 11:50:09 +01:00
Bart De Vries e06a90743e [KMediaSession] disable video output for now 2023-01-16 16:29:09 +01:00
Bart De Vries eb07e67f70 [KMediaSession] Implement dynamic audio backend framework
KMediaSession is an audio player library that has an API which is close
to QMediaPlayer and which allows to use --- and dynamically switch
between --- different audio backends. At this moment there is
implementation for libVLC, gstreamer and QtMultimedia. Only QtMultimedia
is a hard dependency in order to at least have one functional backend on
all platforms; all other dependencies are optional.

KMediaSession has out-of-the-box, built-in MPRIS2 support, sleep inhibit,
and basic metadata support.

BUG: 462358

Closes #35
2023-01-16 15:36:54 +01:00
Bart De Vries 09bae67fbd [Android] Fix gradle plugin version issue with qt >= 5.15.8 2023-01-16 14:13:58 +01:00
Bart De Vries 787b373339 Use pragma once everywhere 2023-01-04 10:27:22 +01:00
Bart De Vries 402f8b565e Workaround for exact slider handle positioning 2023-01-01 15:10:19 +01:00
Bart De Vries b0b0550ce2 Add missing icon to CMakeLists.txt for inclusion in android 2022-12-27 19:00:29 +01:00
Devin Lin 93cdffd68c Use drawer height 2022-12-18 20:37:30 +01:00
Devin Lin d08dddd163 Use higher sidebar listview threshold 2022-12-18 20:37:30 +01:00
Devin Lin 2131186cb6 Fix footer and use list view for small heights 2022-12-18 20:37:30 +01:00
Devin Lin c035bcad92 Use display property 2022-12-18 20:37:30 +01:00
Devin Lin 7afc43f833 NavigationTabButton based sidebar 2022-12-18 20:37:30 +01:00
Devin Lin c30bfbb5a5 Use pageStack.popHiddenPages
This uses a new property in Kirigami to simplify the code.
2022-12-18 10:24:15 +00:00
Bart De Vries 44c54b664a Pass null as entry to chaptermodel if there is no current track
It previously passed undefined, but that will not be interpreted as
nullptr by the underlying C++ model.
2022-12-14 16:51:55 +01:00
Bart De Vries 906730c516 Fix missing checkbox state
The checkbox state for alwaysShowFeedTitles was not set based on the
current settings.
2022-12-14 14:55:32 +01:00
Bart De Vries 624e0b147f Prefer portrait orientation when using square window
BUG: 460859
2022-12-13 16:48:49 +01:00
Bart De Vries 19a6e382db Disable subscribe button when feed has been added
This disables the subscribe button once a feed has been added, i.e. when
the button has been clicked.
Additionally, when clicking on an already subscribed feed on the
discover page will now open the full details including the episode list.

BUG: 458560
2022-12-13 14:21:30 +01:00
Bart De Vries 16178b6441 Make chapter dialog larger 2022-12-13 13:04:51 +01:00
Bart De Vries 6217dbcc86 Add and use Chapter class 2022-12-12 20:16:12 +00:00
Tobias Fella 6a6962e2d3 Load chapter images from tags and show in user interface 2022-12-12 20:16:12 +00:00
Tobias Fella b273d5ffa9 Improve ChapterModel's gammarayability 2022-12-12 20:16:12 +00:00
Bart De Vries a07deae71d Fix RTL layout bugs
BUG: 461230
2022-12-12 19:54:09 +00:00
Bart De Vries 3898471f08 Move Error log from dialog overlay to dedicated settings page 2022-12-12 20:50:21 +01:00
Devin Lin 8e1b278539 Use more appropriate info icon 2022-12-12 10:31:12 +01:00
Devin Lin eda19fa0f8 Fix bracket 2022-11-30 10:38:17 -05:00
Bart De Vries 67040530fd Save settings to file whenever any setting changes 2022-11-30 15:49:50 +01:00
Bart De Vries 06ea1b36ea Fix typo in sync settings form 2022-11-30 14:34:08 +01:00
Devin Lin e98c6dfdef Fix separator behaviour 2022-11-30 14:34:08 +01:00
Devin Lin ee10727f6a Port synchronization settings page 2022-11-30 14:34:08 +01:00
Devin Lin 4db4664db3 Use trailing components in form 2022-11-30 14:34:08 +01:00
Devin Lin 6c8d0fa404 Port settings to MobileForm components 2022-11-30 14:34:08 +01:00
Bart De Vries 0e6cac16c9 Enable chapters also when streaming 2022-11-29 22:09:37 +01:00
Tobias Fella 5ec65d1b72 Cleanup aboutdata registration 2022-11-27 00:44:08 +01:00
Devin Lin cbd203272e Fix text in sleep dialog disregarding theming 2022-11-26 01:14:17 -05:00
Bart De Vries eb8856e45d Improve i18n messages on Queue page
BUG: 461024
2022-11-16 10:40:22 +01:00
Bart De Vries 8660ef46ea Fix appearance of streaming button on delegates and pages 2022-11-15 22:50:49 +01:00
Bart De Vries d192784e12 Improve check for existing podcasts
The feedExists method will now also take query parameters into account.

BUG: 461877
2022-11-15 19:13:24 +01:00
Bart De Vries 562c76c799 Implement streaming support
This implements support for streaming episodes rather than downloading them
first.
This introduces a new setting: prioritizeStreaming. If it's set to false
(default) then a streaming play button is only added to the EntryPage.  If
it is set to true, then the streaming play button will also appear on the
Entry delegates instead of the download button.
There is a separate setting to decide if streaming is also allowed on
metered connections.

FEATURE: 438864
2022-10-19 14:49:56 +02:00