Commit Graph

2003 Commits

Author SHA1 Message Date
Strawbs Bot d7310ba307 Update translations 2021-04-07 01:03:08 +02:00
Jonas Kvinge 82b649f67d Move taglib include dir to system include dirs 2021-04-05 22:22:25 +02:00
Strawbs Bot 8753782a0c Update translations 2021-04-04 01:02:57 +02:00
Strawbs Bot 566a139edc Update translations 2021-04-02 01:03:04 +02:00
Jonas Kvinge 39dda0f16b Check that rating position is to the right or left of the rectangle.
Adapted from Clementine.

Author: Jim Broadus
2021-04-02 00:47:53 +02:00
Jonas Kvinge bddb371e31 Fix open in file browser when inode/directory mimetype is set to thunar
Fixes #677
2021-04-01 18:31:19 +02:00
Jonas Kvinge 128223a28a Add setting for configuring the color for the currently playing song
Fixes #676
2021-04-01 02:18:15 +02:00
Jonas Kvinge a87f0e0475 Also strip variables with uppercase letters in OpenInFileManager() 2021-03-31 23:14:16 +02:00
Strawbs Bot e4cebf4cbe Update translations 2021-03-30 01:03:27 +02:00
Jonas Kvinge f63e05b7d4 Use QString::SkipEmptyParts for older Qt versions 2021-03-29 22:45:01 +02:00
Jonas Kvinge 84b7fa02bb Strip all variables from command in OpenInFileManager
Fixes #674
2021-03-29 22:37:55 +02:00
Strawbs Bot 36e597a045 Update translations 2021-03-29 01:28:10 +02:00
Strawbs Bot f760b3f271 Update translations 2021-03-27 01:12:06 +01:00
Jonas Kvinge d4c8fa6a24 Use const QJsonValueRef 2021-03-26 23:55:55 +01:00
Jonas Kvinge c6604734c9 Remove using std::placeholders 2021-03-26 23:33:56 +01:00
Jonas Kvinge 91ab8e22b7 Use QJsonValueRef 2021-03-26 22:10:43 +01:00
Jonas Kvinge 14fb647647 Fix uninitialized variables 2021-03-26 21:30:13 +01:00
Jonas Kvinge 8a39a43ad5 Make sure QCache::insert is successful
Otherwise object is deleted by QCache::insert
2021-03-26 21:07:47 +01:00
Jonas Kvinge 29cbfe7c1a Change last played to qint64 2021-03-25 23:23:13 +01:00
Strawbs Bot 1ddc3292cc Update translations 2021-03-25 01:03:59 +01:00
Jonas Kvinge 658e1d122e Remove set current to all artists when opening cover manager
Caused sluggish opening
2021-03-24 22:30:58 +01:00
Jonas Kvinge d936a080db Check for empty image 2021-03-24 22:30:37 +01:00
Jonas Kvinge 2a92af1e09 Change static_cast 2021-03-24 22:29:56 +01:00
Jonas Kvinge 9cde537066 Fix moodbar 2021-03-23 01:44:00 +01:00
Strawbs Bot ffc5446914 Update translations 2021-03-22 01:23:51 +01:00
Jonas Kvinge 5f70b32795 Remove unused using std::shared_ptr 2021-03-21 20:23:42 +01:00
Jonas Kvinge 6b6117653a Allow audio formats unsupported by taglib to be added
Fixes #669
2021-03-21 19:19:35 +01:00
Jonas Kvinge 59bffed47f Use static_cast 2021-03-21 18:53:02 +01:00
Jonas Kvinge f91a679cdf Add override 2021-03-21 18:40:33 +01:00
Jonas Kvinge 66b8d27d66 Change to QList 2021-03-21 06:26:48 +01:00
Jonas Kvinge 2436c87372 Use variable 2021-03-21 04:55:00 +01:00
Jonas Kvinge e90b5e63e5 Move variable 2021-03-21 04:49:22 +01:00
Jonas Kvinge 78588d8cdf Fix various clazy warnings 2021-03-21 04:47:11 +01:00
Jonas Kvinge 20c1c1d4be Remove unused variables 2021-03-21 04:43:55 +01:00
Jonas Kvinge 329dfb21b9 These don't need to be slots 2021-03-21 04:38:47 +01:00
Jonas Kvinge 20c5a79efa Fix playlist tabbar close and save 2021-03-21 04:28:22 +01:00
Jonas Kvinge b224aeb0d8 Use 4arg connects for networkreplies 2021-03-21 00:37:17 +01:00
Jonas Kvinge 73eebd6162 Set album cover filename by pattern as default when saving cover to album directory 2021-03-20 23:13:54 +01:00
Strawbs Bot 99a1851f4d Update translations 2021-03-20 23:02:12 +01:00
Jonas Kvinge 54f2aa5f77 Update copyrights 2021-03-20 21:14:47 +01:00
Jonas Kvinge d022e9dd00 Close the file 2021-03-20 19:23:33 +01:00
Jonas Kvinge 17cf8ec1c6 Move declaration 2021-03-20 19:11:05 +01:00
Jonas Kvinge c4a6d81cda Fix copying album covers to iPod
Cover file was deleted too soon.
File needs to be accessible until itdb_write is called.

Fixes #663
2021-03-20 19:00:42 +01:00
Jonas Kvinge 66ed485803 Check for existence of directory 2021-03-20 18:58:38 +01:00
Jonas Kvinge 6de585d1c8 Make sure process files isn't again called after finishing 2021-03-20 15:22:21 +01:00
Jonas Kvinge a7df2bc4fb Use original file when loading cover from file in album cover manager 2021-03-16 17:18:11 +01:00
Jonas Kvinge 5eda028af3 Minor code improvements to album cover loader 2021-03-16 17:17:22 +01:00
Jonas Kvinge f77475dbfe Specifically set get image 2021-03-16 17:16:40 +01:00
Jonas Kvinge 0ef26be03f Remove DEBUG define 2021-03-16 17:12:44 +01:00
Jonas Kvinge f5bb15f72e Fix QSearchField on macOS 2021-03-15 22:38:06 +01:00
Jonas Kvinge d84aebd8f4 Format code 2021-03-15 22:37:49 +01:00
Jonas Kvinge 7d8d9f4c4d Format code 2021-03-14 23:20:16 +01:00
Jonas Kvinge 61b201810d Fix marking songs available 2021-03-14 23:08:05 +01:00
Jonas Kvinge 88797424f1 Ignore empty lyrics from musixmatch 2021-03-13 15:58:34 +01:00
Jonas Kvinge 2695169514 Add type to metadata bundle to avoid updating previous song when it shouldn't 2021-03-13 03:14:30 +01:00
Jonas Kvinge efcdfdf612 Remove unused include for macOS 2021-03-13 02:00:38 +01:00
Jonas Kvinge f77e7334c5 Set album cover loader options in edit tag dialog 2021-03-13 01:52:37 +01:00
Jonas Kvinge 9079a7988c Turn off frame in edit tag dialog 2021-03-13 01:43:30 +01:00
Jonas Kvinge 5256d795b1 Fix tagreader process not starting on Windows in release build 2021-03-09 22:45:15 +01:00
Strawbs Bot 24a765814a Update translations 2021-03-08 01:12:33 +01:00
Jonas Kvinge ef18a00362 Use mouse event variable 2021-03-07 23:26:08 +01:00
Jonas Kvinge 1823786344 Show fullsize cover on doubleclick in edit tag dialog 2021-03-07 23:23:58 +01:00
Jonas Kvinge 548a1f30ca Support saving by filename in SaveAndSetCover 2021-03-07 23:03:02 +01:00
Jonas Kvinge e63859442a Ignore drop event in album cover manager
Fixes strange case where albums are duplicated by drag/drop.
2021-03-07 22:59:08 +01:00
Jonas Kvinge 69032db3c3 Remove unused function 2021-03-07 07:20:29 +01:00
Jonas Kvinge d3e5b1b4e0 Move comment 2021-03-07 07:05:02 +01:00
Jonas Kvinge e2cd68e3e8 Fix saving existing cover from file embedded for multiple albums 2021-03-07 07:01:22 +01:00
Jonas Kvinge 3e6029d33c Clear art automatic when embedded cover is deleted 2021-03-07 05:43:56 +01:00
Jonas Kvinge 89f1f8e6dc Check for empty art automatic 2021-03-07 05:41:49 +01:00
Jonas Kvinge cff25374b5 Fix collection update for art_manual 2021-03-07 05:37:07 +01:00
Jonas Kvinge 04bbff338d Fix deleting multiple covers in album cover manager 2021-03-07 03:43:49 +01:00
Jonas Kvinge bbcd6a3261 Fix saving empty cleared cover 2021-03-07 03:42:11 +01:00
Jonas Kvinge e587e8cfc8 Use original file when loading cover from file in tag editor 2021-03-07 02:36:50 +01:00
Jonas Kvinge 869f8cf380 Enable cover actions based on current cover 2021-03-07 02:34:17 +01:00
Jonas Kvinge 1ff6ba9480 Only enable album cover options for collection songs 2021-03-07 01:49:38 +01:00
Jonas Kvinge 5807bee23b Load album cover controller settings when album cover manager is opened 2021-03-07 00:54:20 +01:00
Jonas Kvinge b5bafbf23a Lowercase file extension 2021-03-07 00:53:33 +01:00
Strawbs Bot 24eb9d9e14 Update translations 2021-03-04 23:01:42 +01:00
Jonas Kvinge 7b2411eec5 Change to info log 2021-03-04 01:14:06 +01:00
Jonas Kvinge 32b94555c3 Remove 3rdparty taglib 2021-02-27 16:55:41 +01:00
Jonas Kvinge d5caff58c7 Fix cover delete in edit tag dialog 2021-02-27 02:12:26 +01:00
Jonas Kvinge ab4c725217 Fix embedded album cover default in edit tag dialog 2021-02-27 01:32:45 +01:00
Jonas Kvinge 901ba9cf13 Add QMap include 2021-02-27 01:02:37 +01:00
Jonas Kvinge 19b1bc6b3e Fix saving cover for multiple albums 2021-02-27 00:58:43 +01:00
Jonas Kvinge c623ea7c2a Use reference 2021-02-26 23:10:36 +01:00
Jonas Kvinge 72e61106a9 Remove unused include 2021-02-26 22:15:04 +01:00
Jonas Kvinge e15e7f0942 Fix compile with Qt 5
Forgot to test the changes from the last commit with Qt 5
2021-02-26 22:01:45 +01:00
Jonas Kvinge 133f094d72 Add support for saving embedded album covers
Fixes #286
2021-02-26 21:03:51 +01:00
Jonas Kvinge 193cf1c750 Rename protobuf namespace
Fixes #654
2021-02-20 17:06:55 +01:00
Jonas Kvinge 0ab214fd5d Add methods to tagreader for saving embedded art 2021-02-16 22:50:35 +01:00
Strawbsbot 3ff97e43e1 Update translations 2021-02-15 10:15:23 +01:00
Jonas Kvinge 29e8316527 Add missing static_cast 2021-02-11 22:33:54 +01:00
Jonas Kvinge 2b988b8ab1 Handle more gstreamer errors as non-fatal
Adds GST_RESOURCE_ERROR_OPEN_READ and GST_STREAM_ERROR_TYPE_NOT_FOUND

Fixes #648
2021-02-11 22:23:54 +01:00
Jonas Kvinge 7fc5b70553 Remove const reference from signals 2021-02-10 18:32:10 +01:00
Jonas Kvinge b3681002a7 Change int to qint64 2021-02-10 18:27:40 +01:00
Strawbsbot 1f9af7a1e4 Update translations 2021-02-06 03:54:07 +01:00
Jonas Kvinge 9ed184edbf Simplify code 2021-02-06 00:32:01 +01:00
Jonas Kvinge 89572b07fb Remove default argument 2021-02-06 00:30:40 +01:00
Gavin Howard 0f96daec9a
Fix playlist saving
The fix came from a suggestion by Jonas; I just tested it.
2021-02-03 16:38:24 -07:00
Strawbs Bot 59412c54de Update translations 2021-02-03 01:15:47 +01:00
Jonas Kvinge 03959a68d5 Formatting 2021-02-02 21:08:58 +01:00
Jonas Kvinge 59b48ceb4a Use std::make_shared 2021-02-02 21:08:12 +01:00
Strawbs Bot d499bfab8a Update translations 2021-02-02 01:02:36 +01:00
Strawbs Bot b7b2b5089f Update translations 2021-02-01 01:43:46 +01:00
Jonas Kvinge fcb417af17 Fix 'Except between tracks on the same album' backend fade option
Fixes #642
2021-01-30 23:16:19 +01:00
Jonas Kvinge 28c130a910 Add this as context to lambda connection 2021-01-30 22:42:21 +01:00
Jonas Kvinge 57a5eabd8f Use this and watcher instead of = 2021-01-30 22:41:57 +01:00
Jonas Kvinge 88874f0dcd Remove NewClosure 2021-01-30 21:53:53 +01:00
Jonas Kvinge 98d5e27a8c Remove use of NewClosure for playback resume 2021-01-30 21:52:17 +01:00
Jonas Kvinge 576956fa1d Use QTimer::singleShot directly for database backup 2021-01-30 21:51:32 +01:00
Jonas Kvinge be051a4bb1 Use timers for submitting scrobbles 2021-01-30 21:50:28 +01:00
Jonas Kvinge cc6c7430d4 Use a QTimer for writing scrobbler cache 2021-01-30 21:48:45 +01:00
Jonas Kvinge 2539b2333c Use new connect syntax in global shortcuts manager 2021-01-30 14:28:03 +01:00
Jonas Kvinge 60528525e0 Use QObject::connect() everywhere for consistency 2021-01-29 18:53:20 +01:00
Jonas Kvinge cb5a7f8c9d Replace NewClosure with lamdas 2021-01-29 18:47:50 +01:00
Jonas Kvinge fd9c6d460a Fix lamda connect for audio CD tracks load finished 2021-01-29 18:45:09 +01:00
Jonas Kvinge 9f5249e5b8 Make playlist moodbar column respect moodbar enabled setting 2021-01-28 21:43:06 +01:00
Jonas Kvinge 819800d3a4 Revert some lambda connects back to NewClosure 2021-01-28 21:22:50 +01:00
Jonas Kvinge daff2c1f84 Add option to append explicit to album titles for Tidal 2021-01-28 19:55:28 +01:00
Strawbs Bot a0e030a6ee Update translations 2021-01-28 01:02:00 +01:00
Strawbs Bot 690eb343ea Update translations 2021-01-27 01:22:31 +01:00
Jonas Kvinge ad5e476920 Fix compile without moodbar
Fixes #638
2021-01-26 22:34:31 +01:00
Jonas Kvinge 2a92ce867a Rename global shortcuts classes 2021-01-26 20:48:51 +01:00
Jonas Kvinge bf7c8df353
Connection syntax migration (#637) 2021-01-26 16:48:04 +01:00
Strawbs Bot d57f6303f4 Update translations 2021-01-26 01:02:23 +01:00
Jonas Kvinge 9c6c26f424 Delete TagCompletionModel 2021-01-26 00:40:06 +01:00
Jonas Kvinge 50d83dc070 Fix memory leak when moodbar is disabled
Only call MoodbarLoader::Load when moodbar is enabled.
2021-01-25 22:35:56 +01:00
Jonas Kvinge 010a0cc2a7 Fix playlist filter with Qt 6 2021-01-20 20:18:29 +01:00
Strawbs Bot fc1537fde8 Update translations 2021-01-17 01:02:48 +01:00
Jonas Kvinge 6e40f639b7 Turn off undo/redo stack for QTextDocument in playwidget details 2021-01-16 03:12:34 +01:00
Jonas Kvinge 21c5a97d15 Fix total album count 2021-01-15 21:17:32 +01:00
Strawbs Bot 001964f2f4 Update translations 2021-01-13 01:10:30 +01:00
Jonas Kvinge a6a29d5c5a Set limits for collection pixmap cache based on size unit 2021-01-12 20:36:10 +01:00
Jonas Kvinge 72b194cd7e Rename network to networkaccessmanager 2021-01-11 16:48:46 +01:00
Jonas Kvinge b85819ed9d Decode HTML entities in lyrics 2021-01-11 16:05:39 +01:00
Strawbs Bot c5cd648b5d Update translations 2021-01-11 01:02:20 +01:00
Strawbs Bot 3743408543 Update translations 2021-01-10 01:05:51 +01:00
Jonas Kvinge fd251c6e61 Use helper function for collection model container keys 2021-01-09 21:03:35 +01:00
Strawbs Bot b7ab6c5c3e Update translations 2021-01-09 01:02:46 +01:00
Jonas Kvinge 5659fd5839 Use mimetype instead of description from stream discoverer when available 2021-01-08 22:38:37 +01:00
Jonas Kvinge 4dcd3e95df Append album ID to collection model container nodes 2021-01-08 22:35:07 +01:00
Mikalai Daronin 57709413e1
Add SPMediaKeyTap back (#621) 2021-01-06 14:46:21 +01:00
Jonas Kvinge fb634bc2d4 Let watcher handle update of collection songs when organizing
Fixes bug duplicating songs in the db when moving songs across collection id's.

Fixes #623
2021-01-05 22:14:18 +01:00
Edgar Salgado 18a67e1f20
Last.fm last played date import: change date if it is newer than the … (#625)
* Last.fm last played date import: change date if it is newer than the one in database

* Last.fm lastplayed: make it more consistent with the code
2021-01-04 20:43:43 +01:00
Strawbs Bot b4c2ae251b Update translations 2020-12-30 01:07:43 +01:00
Jonas Kvinge bfaabafbfa Remove some unused utilities functions 2020-12-29 23:13:22 +01:00
Jonas Kvinge 8ea359ec8a Pass char16_t to QString::fromUtf16() 2020-12-28 20:33:09 +01:00
Strawbs Bot c983c8e447 Update translations 2020-12-27 01:02:06 +01:00
Strawbs Bot af96ce3e82 Update translations 2020-12-26 01:02:38 +01:00
Strawbs Bot 6a5928863c Update translations 2020-12-25 01:08:33 +01:00
Jonas Kvinge cb5222e4d6 Fix albumcover searcher dialog not showing up on macOS 2020-12-24 16:56:00 +01:00
Jonas Kvinge fa0fd6b7d0 Ignore deprecated QString::fromUtf16() 2020-12-24 15:23:35 +01:00
Jonas Kvinge 057ec49a3e Remove hack in MergedProxyModel and use QAbstractProxyModel::modelAboutToBeReset() 2020-12-24 12:33:05 +01:00
Jonas Kvinge 3ae9092226 Prefer native notifications instead of D-Bus on macOS 2020-12-23 20:25:23 +01:00
Jonas Kvinge 351999a01b Use setContentsMargins 2020-12-23 20:24:37 +01:00
Jonas Kvinge e407080057 Remove explicit for song 2020-12-23 20:24:15 +01:00
Strawbs Bot 9b5fdb1345 Update translations 2020-12-23 01:02:31 +01:00
Jonas Kvinge 47fd30c23f Ignore NSUserNotificationCenter deprecation 2020-12-22 20:37:39 +01:00
Strawbs Bot 0af767fff0 Update translations 2020-12-22 01:06:44 +01:00
Strawbs Bot a928aa61ca Update translations 2020-12-21 01:02:14 +01:00
Jonas Kvinge 30cb0b1cae QNetworkRequest::Http2AllowedAttribute require Qt 5.15 2020-12-20 07:42:14 +01:00
Jonas Kvinge 32ae3cd567 QNetworkRequest::Http2AllowedAttribute require Qt 5.14 2020-12-20 07:24:44 +01:00
Jonas Kvinge 91b9602e12 Dont use empty lyrics from API 2020-12-20 07:09:12 +01:00
Jonas Kvinge a5ab8ddf8b Disable http2 for musixmatch 2020-12-20 06:51:36 +01:00
Jonas Kvinge 1444a1578a Search all unicode letters in musixmatch cover search 2020-12-20 06:40:45 +01:00
Jonas Kvinge 5b8894b0ff Search all unicode letters in musixmatch lyrics search 2020-12-20 06:16:08 +01:00
Strawbs Bot a4329dd9a0 Update translations 2020-12-20 01:02:08 +01:00
Jonas Kvinge e78bb1b29c Use directsoundsink by default because of buggy wasapi plugin 2020-12-13 21:56:25 +01:00
Strawbs Bot db312a7380 Update translations 2020-12-13 01:02:57 +01:00
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