Commit Graph

1323 Commits

Author SHA1 Message Date
Jonas Kvinge a101252701 Make OSDPretty compatible with Qt 6 2020-07-18 04:15:19 +02:00
Jonas Kvinge c96c29b1e3 Replace QRegExp with QRegularExpression 2020-07-18 04:14:51 +02:00
Jonas Kvinge 3b0fc180ff Make QListWidget::mimeData compatible with Qt 6 2020-07-18 04:13:53 +02:00
Jonas Kvinge 9b8bfdf33c Replace QPalette::Background with QPalette::Window 2020-07-18 04:12:50 +02:00
Jonas Kvinge 4328831fcd Use globalPosition() 2020-07-18 04:09:36 +02:00
Jonas Kvinge e5b3df41e9 Replace QRegExp with QRegularExpression 2020-07-18 04:05:07 +02:00
Jonas Kvinge cf5259e218 Add QActionGroup include 2020-07-18 03:54:52 +02:00
Jonas Kvinge f24b6a520c Replace QDateTime::toTime_t() with QDateTime::toSecsSinceEpoch() 2020-07-18 03:53:30 +02:00
Jonas Kvinge 4140163ab2 Mark unused parameters 2020-07-17 16:36:24 +02:00
Jonas Kvinge 7afde0e93f Fix compile warning in qsearchfield_mac.mm 2020-07-17 16:35:57 +02:00
Jonas Kvinge d27a571882 Ignore compile warning in SBSystemPreferences.h 2020-07-17 16:35:11 +02:00
Jonas Kvinge 1819f64467 Disable deprecation warning for QMacCocoaViewContainer 2020-07-17 16:33:10 +02:00
Jonas Kvinge 71a1ea481b Replace some uses of static_cast with qobject_cast 2020-07-17 01:32:07 +02:00
Jonas Kvinge 9e32f0d778 Silence some compile warnings with reinterpret cast 2020-07-16 22:46:31 +02:00
Jonas Kvinge 4478174dc2 Fix incorrectly mapped keys
Fixes #483
2020-07-16 22:28:35 +02:00
Jonas Kvinge 07553476d4 Remove xine 2020-07-16 00:59:46 +02:00
Jonas Kvinge 1773283456 Remove xine metronom.pts_per_smpls check 2020-07-16 00:44:41 +02:00
Jonas Kvinge 221ab51d90 Simply startup behaviour 2020-07-16 00:06:51 +02:00
Jonas Kvinge 43e0dd922b Hide settings that are unavailable on macOS in the settings 2020-07-16 00:05:49 +02:00
Strawbs Bot 0cfa2b8c20 Update translations 2020-07-14 01:01:50 +02:00
Jonas Kvinge b29387d409 More fancy tabbar fixes
- Only use custom size override for large and small sidebar modes
- Use scroll buttons by default
- Set elide text mode off because macOS has it on by default
- Set tooltip for top icon only mode
- Set icon sizes except for on macOS
2020-07-13 18:29:48 +02:00
Jonas Kvinge 614a09db1d Fix some compile warnings 2020-07-13 18:11:57 +02:00
Strawbs Bot bcc5450aef Update translations 2020-07-13 01:02:37 +02:00
Jonas Kvinge b0420a0566 Adjust width of settingspages 2020-07-13 00:57:50 +02:00
Jonas Kvinge 212ebae043 Fix tab order in Appearance settings 2020-07-12 21:33:39 +02:00
Jonas Kvinge a0c99df6b2 Make icon size for small tabbar configurable too 2020-07-12 21:02:29 +02:00
Jonas Kvinge b0fabd7897 Adjust fancy tabbar size 2020-07-12 19:43:59 +02:00
Jonas Kvinge 938811f24f Fix sizes of horizontal modes and icon on top modes in fancy tabbar 2020-07-12 18:53:41 +02:00
Strawbs Bot 374d6e4d0f Update translations 2020-07-12 01:01:47 +02:00
Jonas Kvinge d2bfc73b91 Only set playlist view item delegates once 2020-07-10 16:18:31 +02:00
Jonas Kvinge 42c62206c8 Move the currently playing song to the top when the playlist is manually shuffled
Fixes #304
2020-07-09 20:52:06 +02:00
Strawbs Bot 3a3d5cd487 Update translations 2020-07-09 01:02:03 +02:00
Jonas Kvinge a99a19aa60 Fix broken playlist undostack when i.e. removing duplicates and unavailable songs 2020-07-08 20:43:46 +02:00
Strawbs Bot 05c70f2adb Update translations 2020-07-08 01:12:31 +02:00
Jonas Kvinge 904097b7b1 Add back option to use system taglib, add warning at the bottom 2020-07-07 23:44:04 +02:00
Jonas Kvinge 4e003c12a6 Add a taste of Strawbs background image 2020-07-07 23:02:24 +02:00
Jonas Kvinge 24f2cfb29f Fix playlist background image not loading 2020-07-07 22:21:07 +02:00
Jonas Kvinge 3f2b683fca Change pcmanfm-qt to pcmanfm 2020-07-07 18:28:47 +02:00
Strawbs Bot 83cee26d7d Update translations 2020-07-07 01:03:43 +02:00
Jonas Kvinge c7df0c9b28 Use Q_UNUSED 2020-07-06 20:32:17 +02:00
Jonas Kvinge 26a8bfaac4 Open directory instead of file for PCManFM 2020-07-06 20:27:48 +02:00
Strawbs Bot fc8a3be7d9 Update translations 2020-07-05 01:02:03 +02:00
Jonas Kvinge 7fd5c058be Fix buffer overflow when coverting S24LE 2020-07-04 01:55:36 +02:00
Jonas Kvinge b22e8b4702 Convert S24LE and F32LE for analyzer
Fixes #155
2020-07-04 00:29:11 +02:00
Strawbs Bot e2c2af3447 Update translations 2020-07-03 01:13:01 +02:00
Jonas Kvinge 4cd738ecb5 Properly calculate tab width 2020-07-02 04:24:55 +02:00
Strawbs Bot e838470c26 Update translations 2020-07-02 01:01:57 +02:00
Jonas Kvinge 68e0bc40e1 Dont use fixed font size in fancy tabbar 2020-07-01 17:23:57 +02:00
Jonas Kvinge 9fc8bcdf62 Increase tab size 2020-07-01 14:32:30 +02:00
Jonas Kvinge 227b14a0b6 Make text in fancy tabbar wrap if too wide 2020-07-01 02:53:18 +02:00
Strawbs Bot abcd184d5d Update translations 2020-06-30 01:02:57 +02:00
Jonas Kvinge 3fd9f4b0df Make fancy tabbar large mode icon size configurable 2020-06-29 03:03:04 +02:00
Jonas Kvinge 12ff3e963b Increase icon sizes in fancy tabbar large mode 2020-06-29 02:15:11 +02:00
Jonas Kvinge 558e392234 Make search field clear buttons follow icon size settings 2020-06-29 01:09:02 +02:00
Strawbs Bot e747c2e263 Update translations 2020-06-29 01:03:02 +02:00
Jonas Kvinge 4d78b30e8c Make icon sizes configurable, increase default sizes for icons
Fixes #250
2020-06-28 18:36:48 +02:00
Strawbs Bot 9a1520d5e3 Update translations 2020-06-28 01:13:47 +02:00
Jonas Kvinge 04f3543424 Rename some layouts in mainwindow UI 2020-06-28 00:17:22 +02:00
Jonas Kvinge a0e698b058 Remove add_dependencies for singleapplication 2020-06-27 02:53:45 +02:00
Strawbs Bot 286b270592 Update translations 2020-06-27 01:13:13 +02:00
Jonas Kvinge deb567fde7 Enable show in file browser based on local songs
Fixes #472
2020-06-27 00:52:26 +02:00
Jonas Kvinge 5f71a558b9 Adapt most changes from taglib2 2020-06-26 23:30:30 +02:00
Jonas Kvinge 08882639e0 Move SingleApplication includes to non-system includes 2020-06-26 23:27:38 +02:00
Jonas Kvinge 837ae2932f Add SYSTEM to system includes in target_include_directories 2020-06-26 23:26:04 +02:00
Jonas Kvinge b51cc21140 Use override 2020-06-26 23:01:57 +02:00
Jonas Kvinge dc36aee7ff Change some explicit usage 2020-06-26 22:41:38 +02:00
Jonas Kvinge 740f9581e6 Change 0 to nullptr 2020-06-26 22:06:23 +02:00
Jonas Kvinge de0e3a7bc9 Use initialization list in tidalrequest 2020-06-26 22:05:07 +02:00
Jonas Kvinge faacb0d69f Subsonic: Dont strip words from title
Fixes #476
2020-06-26 17:35:05 +02:00
Jonas Kvinge 39b1e0676b Fix memory include 2020-06-25 22:51:00 +02:00
Jonas Kvinge 43a068e30e Use QRandomGenerator 2020-06-22 15:22:14 +02:00
Strawbs Bot 8e8889483f Update translations 2020-06-21 01:02:03 +02:00
Jonas Kvinge bb611bf655 Dont use HTML in tooltip on KDE
Fixes #466
2020-06-20 17:30:37 +02:00
Strawbs Bot 24e8ca67c5 Update translations 2020-06-20 01:02:05 +02:00
Jonas Kvinge 0695941a77 Fix showing/hiding playing widget when playback is started while window is hidden 2020-06-19 17:32:08 +02:00
Strawbs Bot 7c71efd1b3 Update translations 2020-06-19 01:02:43 +02:00
Jonas Kvinge 5099aff5c3 Fix increasing play count when stop after track is enabled
Fixes #458
2020-06-18 22:18:49 +02:00
Jonas Kvinge d3463250a9 Add on startup options to show maximized or minimized 2020-06-18 21:46:36 +02:00
Jonas Kvinge 3b58c02db0
Improve CMake files (#460) 2020-06-17 22:56:20 +02:00
Jonas Kvinge 64f0313d3c Remove ifdef's on slots in shortcutsettings page 2020-06-17 19:58:21 +02:00
Strawbs Bot d3958e757b Update translations 2020-06-17 01:01:57 +02:00
Jonas Kvinge 651020388d Use override 2020-06-15 21:55:05 +02:00
Jonas Kvinge 72ede666d4 Replace use of C style casts 2020-06-15 17:59:02 +02:00
Jonas Kvinge a68c249d4e Use parentheses for macro arguments 2020-06-15 00:33:47 +02:00
Jonas Kvinge 56caab4461 Remove redundant initialization 2020-06-15 00:11:52 +02:00
Jonas Kvinge 13b60351a6 Replace use of deprecated C++ headers 2020-06-14 23:54:18 +02:00
Jonas Kvinge 082c9097e4 Fix parameter name mispatches 2020-06-14 18:58:24 +02:00
Jonas Kvinge 2fbdb29ebc Replace 0 with nullptr 2020-06-14 17:02:47 +02:00
Strawbs Bot 72bff7fa35 Update translations 2020-06-13 01:02:48 +02:00
Strawbs Bot c69993bd57 Update translations 2020-06-12 01:02:54 +02:00
Strawbs Bot ea3e4982d2 Update translations 2020-06-10 01:01:56 +02:00
Strawbs Bot 9a5f6c7b9b Update translations 2020-06-09 01:02:35 +02:00
Jonas Kvinge 033d56a4b3 Use SetMinimumSize in about dialog 2020-06-08 23:40:15 +02:00
Jonas Kvinge 92d6fc3fad Change default grouping to album disc 2020-06-07 23:36:37 +02:00
Strawbs Bot e732f921a3 Update translations 2020-06-06 01:02:52 +02:00
Jonas Kvinge 8b7c5d8585 Fix saving OSD pretty settings 2020-06-05 23:46:07 +02:00
Jonas Kvinge 9e959b189c Save settings when tabbar colors are changed 2020-06-05 23:39:22 +02:00
Jonas Kvinge 5c7a4cdc22 Fix deprecated use of QProcess::startDetached 2020-06-05 22:15:58 +02:00
Strawbs Bot 756e619e07 Update translations 2020-06-05 01:02:01 +02:00
Strawbs Bot a09c1fa154 Update translations 2020-06-04 01:01:40 +02:00
Strawbs Bot 38c742328c Update translations 2020-05-31 01:01:44 +02:00
Jonas Kvinge 1d5db1446d Sort folders added from file view
Fixes #449
2020-05-30 21:59:55 +02:00
Jonas Kvinge 3f5f3d143f Fix compile without gstreamer 2020-05-30 21:39:16 +02:00
Strawbs Bot e5bd99dee4 Update translations 2020-05-30 01:04:25 +02:00
Jonas Kvinge 0e9c1789ff Dont append disc to album title
Fixes #438
2020-05-29 20:38:19 +02:00
Jonas Kvinge 281cb10f84 Fix shadowing member 2020-05-29 18:30:27 +02:00
Jonas Kvinge 69a92ffe72 Remove mistankely added include 2020-05-29 18:30:09 +02:00
Jonas Kvinge 6447f159e5 Fix endl 2020-05-29 18:06:50 +02:00
Jonas Kvinge 94430883ad Use Qt::endl with Qt 5.14 and higher 2020-05-29 18:04:31 +02:00
Jonas Kvinge 046512eb3d Use Qt::endl 2020-05-29 17:47:26 +02:00
Jonas Kvinge 4479d97e90 Change use of Qt::KeyboardModifiers 2020-05-29 17:47:10 +02:00
Jonas Kvinge bf5fea8951 Replace use of QMultiMap::insertMulti with QMultiMap::insert 2020-05-29 17:46:41 +02:00
Jonas Kvinge 07282e3de6 Change use of QLabel::pixmap 2020-05-29 17:45:00 +02:00
Jonas Kvinge c2f90a20df Replace hex with Qt::hex 2020-05-29 17:43:44 +02:00
Jonas Kvinge 481d2d699e Replace QWheelEvent::delta with QWheelEvent::angleDelta 2020-05-29 17:42:40 +02:00
Jonas Kvinge cf9a7e6ed3 Dont do qsrand on Qt versions higher than Qt 5.10 2020-05-29 17:40:34 +02:00
Jonas Kvinge c35235371a Replace QString::SkipEmptyParts with Qt::SkipEmptyParts on Qt 5.14.0 or higher 2020-05-29 17:40:11 +02:00
Jonas Kvinge 5d5723ad58 Replace qrand with QRandomGenerator when using Qt 5.10 or higher 2020-05-29 17:37:46 +02:00
Jonas Kvinge 6c77294a86 Fixes to imobiledeviceconnection support 2020-05-29 17:36:01 +02:00
Strawbs Bot 823f65f1ca Add Czech 2020-05-29 01:52:17 +02:00
Strawbs Bot 0c378c1642 Update translations 2020-05-29 01:05:58 +02:00
Jonas Kvinge bbb4162867 Make it possible to maximize console dialog 2020-05-26 18:27:01 +02:00
Jonas Kvinge 5dbdde3f2b Make scrobbler show error dialog for all errors when option is on 2020-05-26 17:51:23 +02:00
Jonas Kvinge 2521954bd9 Change layout name 2020-05-26 00:02:16 +02:00
Jonas Kvinge 5f1002894e Only save settings that has been changed 2020-05-25 23:56:54 +02:00
Jonas Kvinge 732be5a34f Use g_free 2020-05-24 23:22:18 +02:00
Jonas Kvinge 1f45c78ebb Unmap buffer references in error cases 2020-05-24 23:21:26 +02:00
Strawbs Bot 8b86c79bf9 Update translations 2020-05-18 01:01:33 +02:00
Jonas Kvinge 15b2bfbb29 Set library paths for Linux too when USE_BUNDLE is set 2020-05-17 17:01:35 +02:00
Jonas Kvinge b7494eb381 Increase about dialog height 2020-05-17 16:25:18 +02:00
Strawbs Bot 27ac590250 Update translations 2020-05-17 01:01:49 +02:00
Jonas Kvinge 972076edab Move ClearDiskCache connect 2020-05-16 19:35:25 +02:00
Jonas Kvinge bfa9a1eb8a Fix tests
Fixes #440
2020-05-16 19:17:06 +02:00
Jonas Kvinge b0966f14e6 Only connect ClearPixmapDiskCache if app is set 2020-05-16 18:25:13 +02:00
Jonas Kvinge d5cfb5f733 Merge branch 'master' of github.com:strawberrymusicplayer/strawberry 2020-05-16 14:14:34 +02:00
Jonas Kvinge 79ba6e628e Use art id from the API as cover filename for Subsonic
Fixes #433
2020-05-16 14:13:22 +02:00
King_DuckZ ef73add05a
Warning fix on gcc 8.3.0 (#439)
Fixes warning:
assuming signed overflow does not occur when
simplifying conditional to constant [-Wstrict-overflow]

Signed-off-by: Michele Santullo <m.santullo@posteo.net>

Co-authored-by: Michele Santullo <m.santullo@posteo.net>
2020-05-16 13:34:42 +02:00
Strawbs Bot ec3d11fb27 Update translations 2020-05-16 01:03:55 +02:00
Jonas Kvinge 3fbc7031b5 Update about dialog 2020-05-16 00:45:15 +02:00
Jonas Kvinge 8509cb4743 Spotify: Fix clearing access token 2020-05-15 23:36:01 +02:00
Jonas Kvinge f4429e8c4a Make Musicbrainz cover provider respect rate limiting 2020-05-15 22:53:21 +02:00
Jonas Kvinge e9e0829cdc Remove end dash from title 2020-05-15 22:15:52 +02:00
Strawbs Bot 93f0230423 Update translations 2020-05-15 01:03:01 +02:00
plonibarploni f26a0df4a4
strip directory from OpenInFileManager command (#436) 2020-05-14 22:19:26 +02:00
Jonas Kvinge 7d4d72e706 Make Discogs provider respect rate limiting 2020-05-14 19:31:40 +02:00
Jonas Kvinge e3c367984b Make it possible to receive SearchResults before SearchFinished 2020-05-14 19:30:29 +02:00
Jonas Kvinge 0ebfa10d32 Update details in playing widget 2020-05-14 19:29:34 +02:00
Jonas Kvinge 16d9a077f0 emit SearchCoverInProgress before SearchCoverAutomatically 2020-05-14 19:29:07 +02:00
Strawbs Bot a9d8bbad42 Update translations 2020-05-14 01:03:53 +02:00
Jonas Kvinge d78bb94af3 Fix Tidal OAuth login 2020-05-13 21:56:11 +02:00
Jonas Kvinge b139c0a824 Dont use song count from backend for CDDA devices 2020-05-13 19:42:13 +02:00
Jonas Kvinge 5b0b924d34 Fix crash in CD songloader 2020-05-13 19:00:57 +02:00
Strawbs Bot f75acf820c Update translations 2020-05-13 01:05:26 +02:00
Jonas Kvinge 43a47f33ac Dont link chromaprint unless its enabled
Fixes #432
2020-05-12 22:39:56 +02:00
Jonas Kvinge fcea3a0877 Add option to scrobbler setting for showing login error
Fixes #430
2020-05-12 22:25:00 +02:00
Jonas Kvinge a950ec3bd5 Adjust login state widget placement for covers and lyrics settings 2020-05-12 22:15:53 +02:00
Jonas Kvinge e35501ff0a Delete remaining network replies and local redirct server in destructor 2020-05-12 21:28:42 +02:00
Jonas Kvinge 4bfad9dad8 Fix use of QString::right() 2020-05-12 21:12:08 +02:00
Jonas Kvinge c5c7a07c12 Add QImageReader::imageFormatsForMimeType replacement function 2020-05-12 19:48:37 +02:00
Jonas Kvinge 7e22e0e552 Use original image format when saving images from Subsonic and Tidal
Fixes #435
2020-05-12 18:50:57 +02:00
Jonas Kvinge 84ec4bdc79 Check content type for image in album cover fetcher search 2020-05-12 18:47:32 +02:00
Jonas Kvinge 2bcad9b637 Do AddOrUpdateSongs in database thread 2020-05-12 18:45:24 +02:00
Jonas Kvinge c8d5f03070 Dont use reference in AlbumSongsReplyReceived 2020-05-12 15:58:36 +02:00
Jonas Kvinge 168e101a5a Subsonic: Disconnect signal/slots 2020-05-12 15:55:13 +02:00
Jonas Kvinge b4bc7333d9 Use album id as cover filename for Subsonic
Fixes #433
2020-05-12 15:53:15 +02:00
Strawbs Bot e8b58c940e Update translations 2020-05-11 01:03:48 +02:00
Jonas Kvinge ec7202e3f6 Use refresh token for ListenBrainz 2020-05-11 00:51:18 +02:00
Jonas Kvinge 9a740f7962 Change variable name 2020-05-11 00:49:54 +02:00
Jonas Kvinge 9210fdee0d Make spotify refresh login 2020-05-10 17:10:20 +02:00
Jonas Kvinge d7661f0964 Fix possible crash in album cover fetcher 2020-05-10 16:54:14 +02:00
Jonas Kvinge 139e148912 Use shared_ptr for scrobbler cache items 2020-05-10 14:59:04 +02:00
Jonas Kvinge 1b8dedb4ed Clear access token when login is expired 2020-05-10 14:53:40 +02:00
Jonas Kvinge 5d6b0fa329 Reset last played song when playlist is finished 2020-05-10 13:08:29 +02:00
Jonas Kvinge f35bbd89c9 Initialize QNetworkReply pointer 2020-05-10 12:56:12 +02:00
Jonas Kvinge 538a9e42f4 Remove these 2020-05-10 12:50:37 +02:00
Jonas Kvinge 623147dea7 Add Json cover provider class 2020-05-10 12:49:11 +02:00
Jonas Kvinge dfecd0cd12 Show Json parse error 2020-05-10 12:48:48 +02:00
Jonas Kvinge fe3af3a676 Clear albums on close in cover manager 2020-05-10 11:50:05 +02:00
Strawbs Bot 25f60331ed Update translations 2020-05-10 01:04:15 +02:00
Jonas Kvinge d4860a3426 Use defaults from context UI 2020-05-09 18:37:43 +02:00
Jonas Kvinge e7e77ed86b Add automatically search for album cover to context settings 2020-05-09 18:31:10 +02:00
Jonas Kvinge dc80459c59 Remove debug print 2020-05-09 02:30:32 +02:00
Jonas Kvinge 2f2de59234 Fix AuthError function 2020-05-09 02:07:51 +02:00
Jonas Kvinge 7bccc21878 Add setting for cover providers 2020-05-09 01:48:08 +02:00
Strawbs Bot 40f9dafa44 Update translations 2020-05-09 01:04:23 +02:00
Jonas Kvinge 355d436d29 Sort settings pages 2020-05-08 20:25:02 +02:00
Jonas Kvinge 079b684388 Remove duplicate include 2020-05-08 20:17:33 +02:00
Jonas Kvinge fd11f46d30 Add album cover provider from Musixmatch 2020-05-08 20:14:16 +02:00
Jonas Kvinge cb7099199a Fix memory include 2020-05-08 18:47:55 +02:00
Jonas Kvinge 8566d91e89 Remove some unneeded includes, etc 2020-05-08 18:44:07 +02:00
Jonas Kvinge f44ce49ea7 Add setting for lyric providers and add more providers
Fixes #335
2020-05-08 18:35:36 +02:00
Jonas Kvinge 6ef69f6b32 Format code 2020-05-08 18:34:33 +02:00
Strawbs Bot f5983d5f10 Update translations 2020-05-07 01:03:30 +02:00
Jonas Kvinge 54cce5e089 Use album grouping function 2020-05-06 22:35:55 +02:00
Jonas Kvinge 4e4e596a1e Change some parameters to const 2020-05-06 22:26:29 +02:00
Jonas Kvinge 727a1f5ad1 Sort songs in collection by song title instead of track if previous
grouping is not the album.

Fixes #295
2020-05-06 22:14:59 +02:00
Jonas Kvinge 85fa86625b Fix infinite loop in stylesheetloader
Fixes #361
2020-05-06 21:43:44 +02:00
Jonas Kvinge 2c91877f83 Add option to show/hide sidebar
Fixes #393
2020-05-06 18:15:17 +02:00
Jonas Kvinge 7d1fac44e9 Update non collection songs with manually unset cover 2020-05-05 23:57:37 +02:00
Jonas Kvinge 2e34abfc0d Fix mpris:artUrl when using embedded cover
Fixes #426
2020-05-04 23:23:24 +02:00