Commit Graph

884 Commits

Author SHA1 Message Date
Nicolas Fella ab24e3177d Have QSystemTrayIcon as member instead of inheriting
Favor composition over inheritence
2024-06-10 16:26:04 +00:00
Bart De Vries e2cee25b8b
Add missing icon for android 2024-05-03 11:02:06 +02:00
Bart De Vries c22ce65545
Fix icons on windows again 2024-04-29 23:37:39 +02:00
Bart De Vries e9111eb011
Workaround for a qtmultimedia backend issue
Qt multimedia with the ffmpeg backend suddenly started sending
LoadedMedia signals in the PlayingState, even though that should not be
a valid combination according to the docs.  This is messing up the
AudioManager.
2024-04-25 13:44:31 +02:00
Bart De Vries 5a42358592
Add manual proxy configuration
This implementation is based on the one from neochat and tokodon, but it
fixes the "system default" option and adds a "no proxy" option.

Most of these settings now also cover streaming audio through the
different backends.

FEATURE: 467490
2024-04-24 15:44:57 +02:00
Bart De Vries c15fd5b54d
Fix clipping of ListView in ErrorListOverlay 2024-04-24 15:43:58 +02:00
Bart De Vries eb1dcc9d67
Fix missing streaming button on android 2024-04-23 19:36:59 +02:00
Bart De Vries ea3f3d5123
Fix qml property assignment 2024-04-23 11:30:43 +02:00
Bart De Vries c09925c59f
Refactor conversion from enum to int and vice versa 2024-04-23 11:19:36 +02:00
Bart De Vries 9c6c77db7a
Save filters on episode list and episode detail pages
FEATURE: 466792
2024-04-23 09:32:02 +02:00
Bart De Vries b6da9407c7
Workaround for mipmap issue with Image
See https://bugreports-test.qt.io/browse/QTBUG-105277 for background
2024-04-22 11:13:54 +02:00
Bart De Vries acbf4c605f
Set breeze as icon fallback theme 2024-04-22 09:52:20 +02:00
Bart De Vries 6822304c56 Implement interval-based automatic podcast updates
This also includes a restructuring of some of the settings.

BUG: 466789
2024-04-18 12:56:42 +00:00
Bart De Vries 6a8de7570e Remove workaround for FolderDialog for flatpak
Also update the flatpak manifest to align with the one on flathub.

BUG: 485462
2024-04-13 23:06:51 +02:00
Bart De Vries e7e243db66 Fix i18nc call 2024-04-12 16:23:50 +02:00
Bart De Vries b1934e0601 Add option to show podcast title on entry delegates 2024-04-12 12:50:48 +02:00
Bart De Vries 37a8465c7f Add switch to display Podcast image instead of Episode image
Closes #46
2024-04-12 12:50:48 +02:00
Bart De Vries 48a10a25cc Clean up the feed addition routine
- Avoid multiple QUrl::toString() calls
- Immediately create the Feed object rather than wait for loadFeed()
2024-04-12 12:49:47 +02:00
Bart De Vries aaefa428c3 Improve i18nc for page titles 2024-04-12 12:48:30 +02:00
Bart De Vries d09974755d Add comments to translatable strings in Settings
I.e. use i18nc instead of i18n.
2024-04-12 12:48:30 +02:00
Bart De Vries db9fc0730b Set correct icon fallback search path 2024-04-04 14:42:52 +02:00
Bart De Vries 4414234c5b Fix icons not showing up in windows
This is done by linking to Breeze icons.
2024-03-22 15:56:33 +01:00
Tobias Fella ace1163692
Remove unused includes 2024-03-19 22:03:06 +01:00
Bart De Vries 72043c0dd5 Remove all dbus linking on windows 2024-02-21 17:22:56 +01:00
Bart De Vries 5bd4ee9154 Split off appearance settings into a dedicated section 2024-02-14 13:53:20 +01:00
Bart De Vries dc48e580ab Introduce property to switch between mobile and desktop view 2024-02-14 11:27:37 +01:00
Bart De Vries 811a41ec0f Update date in KAboutData 2024-02-14 11:24:34 +01:00
Bart De Vries 614782c35c Fix incorrect colorscheme on startup 2024-02-14 11:00:33 +01:00
Bart De Vries def54ae6f7 Workaround for TapHandler+ColumnView issues 2024-02-07 16:28:19 +01:00
Bart De Vries 28fcb10993 Fix mobile player background on dark theme 2024-02-06 19:58:57 +01:00
Bart De Vries 50bdc5551c Add check for invalid embedded images
Some enclosures have non-empty embedded images which are not pictures.
This add a check which discards those, and then falls back to a valid
image.

BUG: 480263
2024-01-24 13:26:20 +00:00
Bart De Vries 973a5b7ac9 Fix the pause() method toggling pause state for VLC backend
This method should pause the audio. Instead, the VLC backend would
toggle the pause state, i.e. it would start playing again if the audio
stream was already paused.  This caused issues with already paused
streams incorrectly resuming playback after the system woke up from
suspend.

BUG: 474432
2024-01-23 22:16:00 +01:00
Bart De Vries 612ebe30a7 Fix SectionListHeaders on DownloadListPage
SectionListHeader has been ported to ItemDelegate in KF6, which needs
the width to be set explicitly.
2024-01-22 20:23:50 +01:00
Bart De Vries 1ae2688512 Solve size issues and adapt to match desktop and breeze style 2024-01-11 21:52:10 +01:00
Tobias Fella 6b825fc540 Show chapters in the progress slider 2024-01-11 21:52:10 +01:00
Tobias Fella ba9c302352 Port to declarative type registration 2024-01-11 21:52:10 +01:00
Bart De Vries ae3cdc207a Fix image masking and smoothing
Image masking with MultiEffect was not applying antialiasing at the edges
with the default settings.
The mipmap setting was ignored if the image source was changed (e.g. on
HeaderBar).  Added a hack to reset this AFTER the image has changed.
2024-01-11 21:52:10 +01:00
Tobias Fella eb74c913a9 Simplify author handling
- Don't make them QObjects; those are heavy and there's no reason for that
- In fact, don't make them objects at all; we're only using them in string form anyway
2024-01-11 21:52:10 +01:00
Tobias Fella fe6626ebeb Remove some empty descructors 2024-01-11 21:52:10 +01:00
Bart De Vries 739e046837 Enable middle-click on systray icon to play/pause 2024-01-11 21:52:10 +01:00
Tobias Fella 6dbe0fd921 Move globaldrawer into own file 2024-01-11 21:52:10 +01:00
Tobias Fella 6fb08350cb Modernize cmake 2024-01-11 21:52:10 +01:00
Bart De Vries 866d111049 Port away from qt5compat graphical effects 2024-01-11 21:52:10 +01:00
Bart De Vries 6fa9f90cdc Fix: add explicit arguments to qml signal handlers 2024-01-05 16:20:29 +01:00
Bart De Vries 5d7ed68544 Fix mobile volume button size
Align with the size of the other buttons on the player controls page.
2024-01-05 16:11:20 +01:00
Bart De Vries 30fadd17d8 Fix taphandler on touchscreen
Taphandler emits NoButton instead of LeftButton on touchscreen
2023-12-28 14:23:38 +00:00
Bart De Vries 9483607a20 Make playPause() also work when player is in stopped state 2023-12-04 13:43:55 +01:00
Bart De Vries 749eb17c56 Fix app silently closing when minimized to tray 2023-12-04 13:42:38 +01:00
Bart De Vries bce24aa9c6 Fix vertical alignment of text in player controls toolbar 2023-11-28 14:54:44 +01:00
Bart De Vries 74f52e6171 Fix close to tray 2023-11-28 12:58:36 +01:00