Jonas Kvinge
128935b55e
Use LPCSTR in RegisterWindowMessageA
2020-12-12 12:51:01 +01:00
Jonas Kvinge
d5a0d67c7b
Use ScopedWCharArray
2020-12-12 12:50:33 +01:00
Jonas Kvinge
03291b27d1
Mark unused
2020-12-12 12:49:35 +01:00
Strawbs Bot
acf81f116f
Update translations
2020-12-12 00:51:58 +01:00
Jonas Kvinge
1bd586268c
Update some copyrights
2020-12-12 00:33:27 +01:00
Jonas Kvinge
497952611d
Fix HTML escaping for custom OSD notifications
...
Fixes #618
2020-12-11 23:59:38 +01:00
Strawbs Bot
971fad4560
Update translations
2020-12-09 19:33:33 +01:00
Jonas Kvinge
8ed1ce4103
Move ThreadSafeNetworkDiskCache to own file
2020-12-09 18:41:07 +01:00
Jonas Kvinge
3112c34d11
Change to NetworkAccessManager
2020-12-09 18:39:37 +01:00
Jonas Kvinge
d490b29265
Use regex
2020-12-07 22:43:00 +01:00
Jonas Kvinge
e8ca64f16b
Replace empty quotes with empty strings for values in CUE parser
2020-12-07 22:34:55 +01:00
Jonas Kvinge
380aa7d884
Only set disc and year in CUE parser when valid
2020-12-07 21:57:15 +01:00
Jonas Kvinge
0a31a94ee8
Change double-click in cover manager to open fullsize cover
...
Fixes #612
2020-12-07 17:23:08 +01:00
Jonas Kvinge
e1d50ce28f
Make URL in scrobbler settings clickable
2020-12-07 17:21:34 +01:00
Jonas Kvinge
38cc39f23d
Workaround udisks2 mountpoint issue with Qt 6
2020-12-06 18:46:30 +01:00
Jonas Kvinge
8110035d71
Remove unref
2020-12-06 18:45:37 +01:00
Jonas Kvinge
9af409d6d6
Make sure URL is valid in giolister
2020-12-06 18:45:17 +01:00
Strawbs Bot
138e032746
Update translations
2020-12-05 01:03:29 +01:00
Jonas Kvinge
d94c6b5aba
Set active playlist when playlist doubleclick behaviour is enqueue
...
Fixes #610
2020-12-04 22:11:35 +01:00
Jonas Kvinge
c482e264f4
Rename variable
2020-12-04 19:13:21 +01:00
Nicolas Toussaint
3a9a1f0a94
add CLI play-playlist option, to play given playlist name. ( #608 )
...
* add CLI play-playlist option, to play given playlist name.
* Apply MR change requests
2020-12-04 19:08:41 +01:00
Strawbs Bot
25de9126ca
Update translations
2020-11-30 01:19:32 +01:00
Jonas Kvinge
fc02543f15
Make X11Extras and WinExtras optional
...
The initial release of Qt 6 does not have these.
These modules are not important.
X11Extras is only used for X11 global shortcuts, which in most cases is
overriden by KDE or Gnome shortcuts anyway.
It is also used in OSD Pretty to detect transparency, but this can be
done using private GUI headers instead.
WinExtras is only used in OSD Pretty to make it transparent.
2020-11-29 07:41:30 +01:00
Strawbs Bot
1e649fc565
Update translations
2020-11-29 01:02:57 +01:00
Strawbs Bot
c523e959d7
Update translations
2020-11-27 01:02:59 +01:00
Strawbs Bot
1422f988c1
Update translations
2020-11-26 01:02:53 +01:00
Strawbs Bot
e86252b934
Update translations
2020-11-25 01:02:17 +01:00
Strawbs Bot
f7bddee0ce
Update translations
2020-11-24 01:05:32 +01:00
Jonas Kvinge
a41353ed03
Update progress even if QDateTime::fromString() fails
2020-11-23 21:54:58 +01:00
Strawbs Bot
7ea12cf2f9
Update translations
2020-11-23 01:05:20 +01:00
Jonas Kvinge
946ed0c0b5
Check for valid datetime when importing last played
2020-11-22 19:01:53 +01:00
Jonas Kvinge
fcd4e5aca2
Save and restore geometry in edit tag dialog
2020-11-22 03:37:15 +01:00
Jonas Kvinge
6ab6e6d3a8
Format code
2020-11-22 03:36:46 +01:00
Strawbs Bot
0893d01b4a
Update translations
2020-11-22 01:02:49 +01:00
Jonas Kvinge
bf04c45ebf
Remove unused live scanning option
2020-11-21 09:40:48 +01:00
Strawbs Bot
cd9a4f1aa9
Update translations
2020-11-21 01:16:20 +01:00
Jonas Kvinge
91e5cafe76
Remove disabling repeat and shuffle buttons
...
It's more confusing than helpful
2020-11-20 21:48:10 +01:00
Jonas Kvinge
47754951f0
Format code
2020-11-20 21:47:01 +01:00
Strawbs Bot
fbef8ef32e
Update translations
2020-11-20 01:08:25 +01:00
Jonas Kvinge
7e6c16b287
Change progress and max progress to qint64 in taskmanager
2020-11-19 18:14:42 +01:00
Jonas Kvinge
f877639ed7
Fix repeat/shuffle disabled when a dynamic playlist is open
...
Fixes #593
2020-11-19 18:12:48 +01:00
Strawbs Bot
846309d4dd
Add Swedish
2020-11-19 01:19:58 +01:00
Strawbs Bot
f2239ddfdf
Update translations
2020-11-19 01:02:47 +01:00
Strawbs Bot
20b08a78e7
Update translations
2020-11-18 01:17:34 +01:00
Jonas Kvinge
042da74955
Change return type of qHash with Qt 6 to size_t
2020-11-17 01:22:38 +01:00
Jonas Kvinge
4dcae4ce21
Use QChar::unicode()
2020-11-17 01:22:00 +01:00
Jonas Kvinge
fa0f07f553
Use QString::number()
2020-11-17 01:21:38 +01:00
Jonas Kvinge
39792d76cf
Fix PlaylistGenerator::type()
2020-11-17 01:20:45 +01:00
Strawbs Bot
d181ee9101
Update translations
2020-11-17 01:02:12 +01:00
Strawbs Bot
0559a4c6f2
Update translations
2020-11-15 01:03:31 +01:00
Jonas Kvinge
1c91693294
Ignore org.kde.kglobalaccel.NoSuchComponent error
2020-11-15 00:20:08 +01:00
Jonas Kvinge
b4c614edbf
Set volume bit
2020-11-14 04:36:38 +01:00
Jonas Kvinge
deddaed04a
Remove use of std::bind where possible
2020-11-14 02:13:22 +01:00
Jonas Kvinge
a155e503f4
Never use reference when iterating QJsonArray
2020-11-13 21:10:50 +01:00
Jonas Kvinge
c0663bc19f
Use reference
2020-11-13 20:34:29 +01:00
Strawbs Bot
7ffa51b83d
Update translations
2020-11-13 01:02:53 +01:00
Jonas Kvinge
6d397b9988
Fix smart playlist by filename
2020-11-12 20:47:13 +01:00
Jonas Kvinge
571a7fa26b
Fix single letter collection nodes showing before dividers
2020-11-12 20:30:58 +01:00
Jonas Kvinge
b3b5a38c3a
Minor code style fix
2020-11-11 22:55:56 +01:00
Strawbs Bot
3d672bb145
Update translations
2020-11-11 01:03:35 +01:00
Jonas Kvinge
15b656b753
Merge pull request #587 from fbugno/issue515
...
Fix HiDPI scaling for glow animation and drag over playlist
2020-11-10 22:52:08 +01:00
Felipe Bugno
f5785db163
Code style changes to match the existing code
...
This changes the style of the private variable and the call
convention of the inherited functions.
2020-11-10 17:55:00 -03:00
Jonas Kvinge
1ff1bf3292
Only call deleteLater when proxystyle is set
2020-11-10 19:06:26 +01:00
Felipe Bugno
b062febea0
Fix HiDPI scaling for glow animation and drag over playlist
...
This set the proper scaling and pixel ratio of QPixmap widgets
used as cached objects.
Most of cached objects uses a custom QPaint instead of the default
painter object from the parent widget. The problem is that, unlike
the painter from the parent object, set by the main application,
and that has DPI and scaling settings from the device, these custom
QPainters don't know about the underlying device, thus uses a
scale of 1 to render artifacts.
When a cached object "edited" by a custom QPaint along his pipeline
where used on a paint or drawrow routine, his stored image is distorted
and burred in a effort to resize it to the display configuration.
2020-11-09 21:49:22 -03:00
Strawbs Bot
35301dc79e
Update translations
2020-11-10 01:02:36 +01:00
Jonas Kvinge
30c336726b
Only backup database if schema version is correct
2020-11-09 23:10:43 +01:00
Jonas Kvinge
3821680817
Increase sqlite busy timeout to 30 seconds
...
Possible fix for #533
2020-11-09 22:49:33 +01:00
Jonas Kvinge
74242ea24f
Fix shortcut settings on macOS and Windows
2020-11-09 20:20:31 +01:00
Jonas Kvinge
73c7024e11
Dont return from SongSaveComplete early, needs to free TagReaderReply
2020-11-09 19:17:31 +01:00
Strawbs Bot
bbdec92dc6
Update translations
2020-11-09 01:01:55 +01:00
Jonas Kvinge
b4c289101c
Strip summary but encode message
2020-11-08 21:54:16 +01:00
Jonas Kvinge
722d0797f6
Use QString::toHtmlEscaped()
2020-11-08 17:52:29 +01:00
Jonas Kvinge
deb27d5b55
Replace '&' with '&' in D-BUS OSD messages
2020-11-08 14:24:09 +01:00
Jonas Kvinge
9cc4ffdf6e
Only strip '&' from D-Bus OSD messages
2020-11-08 13:46:17 +01:00
Strawbs Bot
c76d63d1d9
Update translations
2020-11-08 13:32:51 +01:00
Jonas Kvinge
2897b881d6
Only override fancy tabwidget style with adwaita
2020-11-08 04:04:37 +01:00
Jonas Kvinge
e9b89d0929
Simplify FancyTabWidget override
2020-11-08 03:23:18 +01:00
Jonas Kvinge
e801254b2e
Log used style
2020-11-08 03:22:38 +01:00
Jonas Kvinge
0ae7c18f1f
Add setting to set style
2020-11-08 02:04:24 +01:00
Jonas Kvinge
c9c3fb396a
Move ComboBoxLoadFromSettings function to settingspage
2020-11-08 02:02:48 +01:00
Strawbs Bot
91db4f1934
Update translations
2020-11-08 01:02:31 +01:00
Jonas Kvinge
9bbed6e95c
Use QClipboard::setText instead of QClipboard::setMimeData
...
Fixes #581
Fixes clipboard copying on Windows too
2020-11-08 00:51:24 +01:00
Strawbs Bot
748bc27b25
Update translations
2020-11-06 11:50:48 +01:00
Jonas Kvinge
160e4570a2
Use C++17 ( #579 )
...
* Use C++17
* Replace std::random_shuffle with std::shuffle
* Add random include
2020-11-05 22:28:49 +01:00
Jonas Kvinge
a061dac298
Check network proxy mode
2020-11-04 22:22:26 +01:00
Jonas Kvinge
914dee8571
Pass network proxy settings to gstreamer
...
Fixes #558
2020-11-04 22:16:20 +01:00
yavuzmert
47e2905edf
Re-enable progress on system tray icon ( #578 )
...
* Re-enable progress on system tray icon
* fix copy-paste typo in mac sources
* Make tray icon progress optional
* Move tray icon progress setting control to MainWindow
* Move trayicon settings to behavioursettings
Co-authored-by: Yavuz Mert <yavuz.mert@darkbluesystems.net>
2020-11-04 21:01:04 +01:00
Jonas Kvinge
62e0d9fe64
Remove all uses of QTextCodec
2020-11-04 18:16:23 +01:00
Jonas Kvinge
a174c142c1
Remove unused linked list includes
2020-11-04 18:06:36 +01:00
Jonas Kvinge
95afc5fdec
Keep tabs in the middle on macOS
2020-11-04 18:05:58 +01:00
Strawbs Bot
04d69f66c0
Update translations
2020-11-04 01:02:16 +01:00
Jonas Kvinge
0347141edd
Update snap dialog
2020-11-03 19:32:32 +01:00
Jonas Kvinge
1d6baae6e0
Set ssl-strict false in songloader too
2020-11-03 18:48:35 +01:00
yavuzmert
fb0f48f08a
Make context view top label selectable ( #576 )
...
Co-authored-by: Yavuz Mert <yavuz.mert@darkbluesystems.net>
2020-11-03 01:34:09 +01:00
Jonas Kvinge
76e5e03d31
Change copy command in snap dialog
2020-11-02 21:26:20 +01:00
Jonas Kvinge
4cab743634
Center playlist tabbar star icon
...
Fixes #574
2020-11-02 17:57:12 +01:00
Jonas Kvinge
7c10ec97b7
Remove unused parameter
2020-11-02 17:47:16 +01:00
Jonas Kvinge
8718a16889
Star/unstar playlist with doubleclick
2020-11-02 17:45:29 +01:00
Strawbs Bot
75a0b924c3
Update translations
2020-11-02 01:02:00 +01:00
Jonas Kvinge
83a90e0c05
Make tabbar style hack less intrusive
2020-11-01 21:54:23 +01:00
Strawbs Bot
e5eadd1315
Update translations
2020-10-31 14:34:41 +01:00
Jonas Kvinge
f0142d90d4
Update comment
2020-10-31 14:27:53 +01:00
Jonas Kvinge
cabd6e6e9d
Override QStyle::subElementRect in fancy tabbar to fix style problems
...
Something is causing the contents of the tabbar to be stretched from top to bottom with space between icons and text.
You can see this on the default Fedora (Gnome) installation.
Also fixes the tabbar on macOS where the content was in the middle instead of the top.
2020-10-31 14:05:06 +01:00
Jonas Kvinge
4804a05736
Remove fixed width in about dialog as it crashes on wayland
2020-10-31 02:41:42 +01:00
Jonas Kvinge
c258e5a3af
Add KDE global shortcuts
...
Fixes #572
2020-10-31 02:08:19 +01:00
Strawbs Bot
b6d219e232
Update translations
2020-10-28 17:50:58 +01:00
Jonas Kvinge
23ee17594d
Simplify CMake Qt
2020-10-27 20:54:25 +01:00
Jonas Kvinge
d9d39d8e25
Only override MainWindow::nativeEvent for Windows
2020-10-27 20:17:28 +01:00
Jonas Kvinge
224d5d46c1
Set QApplication::setQuitOnLastWindowClosed to false
2020-10-27 20:01:07 +01:00
Jonas Kvinge
09e0059930
Resize organize window when copying to device
...
Fixes #566
2020-10-27 17:50:16 +01:00
Jonas Kvinge
0ddff2b087
Fix stupid bug
2020-10-27 17:47:40 +01:00
Jonas Kvinge
2e6a29eacc
Remove ifdef HAVE_GSTREAMER
...
Fixes #568
2020-10-27 17:17:12 +01:00
Jonas Kvinge
ad2fb82aa9
Don't edit playlist name on doubleclick in playlists view
...
Fixes #567
2020-10-27 17:11:17 +01:00
Strawbs Bot
a3f91c11e8
Update translations
2020-10-26 01:02:24 +01:00
Jonas Kvinge
a50c978ce3
Fix cancelling logout when window is maxmimized
...
Fixes #565
2020-10-25 19:59:27 +01:00
Strawbs Bot
27d6f881cd
Update translations
2020-10-25 01:04:50 +02:00
Jonas Kvinge
944cd020af
Only strip problematic characters when saving a playlist
2020-10-25 01:01:43 +02:00
Jonas Kvinge
bbe5d64b99
Add info about backing up configuration to snap dialog
2020-10-25 01:01:16 +02:00
Jonas Kvinge
f7b36ac4c7
Replace use of QVariant::type() with Qt 6
2020-10-24 03:32:40 +02:00
Jonas Kvinge
5733966843
Dont reset settingspage changed status when window is shown
...
This is done by Init in Load() when the settings is opened.
2020-10-22 20:25:31 +02:00
Jonas Kvinge
eb1344fcec
Unref caps in HandoffCallback
2020-10-22 17:49:13 +02:00
Strawbs Bot
c5fb29f00e
Update translations
2020-10-22 01:02:03 +02:00
Jonas Kvinge
63135b9c54
Engine will never be in playing state on error
2020-10-21 23:27:15 +02:00
Jonas Kvinge
3a0d59e66f
Only append path if not empty
2020-10-21 21:32:12 +02:00
Jonas Kvinge
00ece83b9d
Tidal: Set default quality to lossless
2020-10-21 19:56:37 +02:00
Jonas Kvinge
8197ae2a2d
Tidal: Guess filetype by filename extension in URL when missing codec.
2020-10-21 01:12:46 +02:00
Strawbs Bot
5fe658bb16
Update translations
2020-10-21 01:02:16 +02:00
Jonas Kvinge
617179f0c6
Always set state to NULL in destructor
2020-10-21 00:32:55 +02:00
Jonas Kvinge
95ac85f642
Move stream discoverer from pipeline to engine
...
Fixes #491
2020-10-21 00:07:58 +02:00
Jonas Kvinge
ca8877ad47
Revert gst_discoverer_stop
2020-10-20 18:47:40 +02:00
Jonas Kvinge
6d8f31048c
Add call to gst_discoverer_stop
...
Stream discoverer currently only works on Linux
2020-10-20 18:28:09 +02:00
Jonas Kvinge
ac859eb576
Make sure we query empty instead of null
2020-10-20 17:14:38 +02:00
Jonas Kvinge
2dfa171b6a
Save effective_albumartist as empty istead of null
...
Since we use the metadata now instead of the container keys for queries in
the model, there is a regression when the values are null.
2020-10-20 17:12:28 +02:00
Jonas Kvinge
6f72e3e2ea
Always append divider key to sort text if the key is a digit
2020-10-20 17:11:14 +02:00
Strawbs Bot
c2b73ae963
Update translations
2020-10-20 01:04:50 +02:00
Jonas Kvinge
da7b8edf51
Revert back to using PathWithoutFilenameExtension in organizedialog
2020-10-19 21:35:39 +02:00
Jonas Kvinge
912bb069af
Fix updating album cover to collection for edit tag dialog
2020-10-19 21:05:59 +02:00
Jonas Kvinge
6b2d7a67d8
Use Utilities::FiddleFileExtension in organize
2020-10-19 19:56:40 +02:00
Jonas Kvinge
dbb8ec0290
Remove debug in bus callbacks
2020-10-19 19:09:48 +02:00
Strawbs Bot
60b32760f2
Update translations
2020-10-19 01:03:27 +02:00
Jonas Kvinge
0e258a5a32
Remove unused utilities functions
2020-10-18 14:12:01 +02:00
Jonas Kvinge
7ca65c81d8
Use QFileInfo instead of custom functions
2020-10-18 14:07:48 +02:00
Jonas Kvinge
2ad1a60e59
Use correct file extension in organize preview and resulting filename
...
Fixes #564
2020-10-18 13:24:33 +02:00
Jonas Kvinge
295ac3c458
Add back thumbbar
2020-10-17 21:10:57 +02:00
Jonas Kvinge
b6693a71f9
Rename initialise to initialize
2020-10-17 17:29:09 +02:00
Jonas Kvinge
5b21118a8c
Replace gst_tag_list_free with gst_tag_list_unref
2020-10-17 04:54:46 +02:00
Jonas Kvinge
0235b19801
Only update buttons once
2020-10-17 04:21:11 +02:00
Jonas Kvinge
7426399aa2
Enable thumbbar for debug build
2020-10-17 03:41:28 +02:00
Jonas Kvinge
6861b0d668
Possible fix Windows thumbbar
2020-10-17 03:37:39 +02:00
Jonas Kvinge
c30fb0d38c
Log errors in MM device finder
2020-10-17 03:19:13 +02:00