Mikalai Daronin
57709413e1
Add SPMediaKeyTap back ( #621 )
2021-01-06 14:46:21 +01:00
Jonas Kvinge
bfaabafbfa
Remove some unused utilities functions
2020-12-29 23:13:22 +01:00
Jonas Kvinge
057ec49a3e
Remove hack in MergedProxyModel and use QAbstractProxyModel::modelAboutToBeReset()
2020-12-24 12:33:05 +01:00
Jonas Kvinge
e407080057
Remove explicit for song
2020-12-23 20:24:15 +01:00
Jonas Kvinge
47fd30c23f
Ignore NSUserNotificationCenter deprecation
2020-12-22 20:37:39 +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
497952611d
Fix HTML escaping for custom OSD notifications
...
Fixes #618
2020-12-11 23:59:38 +01:00
Jonas Kvinge
8ed1ce4103
Move ThreadSafeNetworkDiskCache to own file
2020-12-09 18:41:07 +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
Jonas Kvinge
7e6c16b287
Change progress and max progress to qint64 in taskmanager
2020-11-19 18:14:42 +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
b3b5a38c3a
Minor code style fix
2020-11-11 22:55:56 +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
9bbed6e95c
Use QClipboard::setText instead of QClipboard::setMimeData
...
Fixes #581
Fixes clipboard copying on Windows too
2020-11-08 00:51:24 +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
1d6baae6e0
Set ssl-strict false in songloader too
2020-11-03 18:48:35 +01:00
Jonas Kvinge
d9d39d8e25
Only override MainWindow::nativeEvent for Windows
2020-10-27 20:17:28 +01:00
Jonas Kvinge
a50c978ce3
Fix cancelling logout when window is maxmimized
...
Fixes #565
2020-10-25 19:59:27 +01:00
Jonas Kvinge
f7b36ac4c7
Replace use of QVariant::type() with Qt 6
2020-10-24 03:32:40 +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
6b2d7a67d8
Use Utilities::FiddleFileExtension in organize
2020-10-19 19:56:40 +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
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
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
8e83e63e3d
Add snap warning dialog
2020-10-15 21:47:52 +02:00
Jonas Kvinge
e44a3d013d
Disable windows thumbbar
...
Fixes stability issues with WASAPI
2020-10-15 16:07:20 +02:00
Jonas Kvinge
62702e4b3d
Add space
2020-10-14 22:53:58 +02:00
Jonas Kvinge
5146cdfa2f
Improve windows thumbbar code
2020-10-14 22:53:08 +02:00
Jonas Kvinge
1923c8be0c
Remove unused includes
2020-10-11 01:31:12 +02:00
Jonas Kvinge
a3e37fbfe2
Remove use of HTML in system tray icon tooltip
2020-10-11 01:29:26 +02:00
Jonas Kvinge
318c3bb422
Check if QNetworkRequest::ContentTypeHeader is filetype everwhere
2020-10-11 01:08:42 +02:00
Jonas Kvinge
cb6cbb9ee5
Remove unused screensaver classes
2020-10-07 22:10:31 +02:00
Jonas Kvinge
393a2e0ea0
Set hide to false when window is shown
2020-10-05 19:08:09 +02:00
Jonas Kvinge
51f2383a07
Remove lyrics from fandom.com
...
API no longer exists.
2020-10-04 02:13:06 +02:00
Jonas Kvinge
458efe9168
Remove gstreamer registry workaround for Windows
2020-10-03 20:05:30 +02:00
Jonas Kvinge
c1eb20a20b
Force inform in Player::NextItem
2020-10-02 20:38:14 +02:00
Jonas Kvinge
48ee471def
Remove force inform in PreviousItem
2020-10-01 20:30:31 +02:00
Jonas Kvinge
e862afcb78
Log song change
2020-10-01 20:09:36 +02:00
Jonas Kvinge
872da05ff6
Inform of song change on play restart, add playlist auto sorting.
...
Fixes #511
2020-10-01 19:58:16 +02:00
Jonas Kvinge
b81cfa8acb
Update stream url to avoid requesting it twice
2020-09-29 23:03:50 +02:00
Jonas Kvinge
938ee20f1f
Make sure song changed is only called once
2020-09-29 22:40:43 +02:00
Jonas Kvinge
30001be0ee
Show song in OSD when pausing and stopping
2020-09-29 19:27:35 +02:00
Jonas Kvinge
e390f3a399
Clear now playing in MainWindow::MediaPlaying() instead
...
Fixes #548
2020-09-29 17:38:00 +02:00
Jonas Kvinge
b63030d302
Don't send now playing twice
...
Fixes #548
2020-09-28 17:47:45 +02:00
Jonas Kvinge
5cdc24bfb0
Reload Subsonic scrobbler settings
2020-09-23 18:31:09 +02:00
Jonas Kvinge
3166ca2127
Use QRecursiveMutex
2020-09-22 18:58:44 +02:00
Jonas Kvinge
204508478f
Don't ignore closeevent if already hidden
...
Possible fix for #277
2020-09-22 18:40:37 +02:00
Jonas Kvinge
230376c7f3
Ignore unused variable in MoveToTrashRecursive
2020-09-20 14:55:52 +02:00
Jonas Kvinge
89d6b7cec0
Add smart playlists, ratings and Qobuz
...
Fixes #259
Fixes #264
2020-09-17 17:50:17 +02:00
Jonas Kvinge
e3a9b0b943
Use collection settings for group by settings
2020-09-12 15:48:26 +02:00
Jonas Kvinge
10303cb9c0
Use unique keys for all container nodes in collection model
...
Fixes #539 and probably many more issues with the model.
2020-09-10 22:09:24 +02:00
Jonas Kvinge
b45c7ace78
Fix show equalizer signal slot connect
2020-09-08 18:12:18 +02:00
Jonas Kvinge
f3422cb2fe
Call raise() on dialogs to make sure they are on top
...
Fixes #535
2020-09-05 19:54:21 +02:00
Jonas Kvinge
df4b2f7938
Add icon for edit tag playlist right click menu actions
...
Fixes #531
2020-09-04 20:55:57 +02:00
Jonas Kvinge
803f44d9bc
Disable use system icons setting for macOS and Windows
...
Fixes #532
2020-09-04 20:51:43 +02:00
Jonas Kvinge
4b67aee020
Use | operator for QShortcut
2020-09-04 20:43:02 +02:00
Jonas Kvinge
71dc47d6c9
Use deleteLater() when destroying lazy initialized objects
...
Fixes #530
2020-09-04 20:25:46 +02:00
Jonas Kvinge
1672130486
Merge compilation off/off
...
Fixes #528
2020-09-03 19:20:59 +02:00
Jonas Kvinge
81709873bd
Use art_manual for itdb thumbnail
2020-09-01 20:59:19 +02:00
Jonas Kvinge
9ab2dde8ab
Read tumbnails from itdb tracks
2020-09-01 01:04:01 +02:00
Jonas Kvinge
c30ad2819d
Disable use of HTML in system tray tooltip on Cinnamon
2020-08-31 18:06:37 +02:00
Jonas Kvinge
495c6bc21c
Remove unused StyleHelper::drawIconWithShadow function
2020-08-30 21:51:26 +02:00
Jonas Kvinge
a8742557bd
Add lyrics from fandom.com
2020-08-30 21:06:58 +02:00
Jonas Kvinge
5aaa5231b8
Add Last.fm import
...
Fixes #247
2020-08-30 18:09:13 +02:00
Jonas Kvinge
08f32d1de6
Refactor playlist view/header code
...
- Don't reload all settings when changing playlists
- Fix initial playlist header columns sizes
- Properly reset header state when resetting columns
2020-08-29 19:55:00 +02:00
Jonas Kvinge
0d5edd35ea
Register ColumnAlignmentMap
2020-08-26 22:36:09 +02:00
Jonas Kvinge
1431916183
Add setting for enabling scrobbling based on song source
...
Fixes #416
2020-08-25 23:44:27 +02:00
Jonas Kvinge
ae48008803
Remove use of qRegisterMetaTypeStreamOperators with Qt 6
2020-08-25 22:48:21 +02:00
Jonas Kvinge
82142751de
Improve playlist autoscrolling
...
Fixes #420
2020-08-23 19:37:24 +02:00
Jonas Kvinge
4e5755f218
Refactor some functions
2020-08-23 19:17:50 +02:00
Jonas Kvinge
2f4f29517e
Create new contructor for UrlHandler
2020-08-23 18:52:30 +02:00
Jonas Kvinge
1ae4938da3
Register D-Bus metatype for QImage if system has D-Bus
2020-08-23 03:20:53 +02:00
Jonas Kvinge
b5e27d4d69
Declare QDBusArgument for QImage in osddbus.h
2020-08-23 03:19:40 +02:00
Jonas Kvinge
653a35496d
Add optional delete from disk in collection and playlist
...
Fixes #284
2020-08-19 22:02:35 +02:00
Jonas Kvinge
0788981783
Set QNetworkRequest::RedirectPolicyAttribute with Qt >= 5.9
2020-08-14 20:20:41 +02:00
Jonas Kvinge
c315e5016d
Change mtime and ctime to qint64
2020-08-13 21:09:06 +02:00
Jonas Kvinge
0ce613264f
Make sure to always use original metadata when editing tags
2020-08-10 21:32:14 +02:00
Jonas Kvinge
34634d776e
Make sure to always use original metadata when editing tags
2020-08-10 21:27:56 +02:00
Jonas Kvinge
16a753bd95
Treat erors returned by the URL handler as non fatal
...
Fixes #505
2020-08-09 02:52:18 +02:00
Jonas Kvinge
c15103636c
Fix NotificationPreview signal slot
2020-08-09 02:07:22 +02:00
Jonas Kvinge
ab7d383cf1
Use virtual functions for OSD
2020-08-09 01:37:00 +02:00
Jonas Kvinge
1cb3ec0c7b
Only add autocomplete tags to playlist menu when we have chromaprint and gstreamer
2020-08-08 19:05:14 +02:00
Jonas Kvinge
c2a94b61bf
Fixes to playlist context menu
...
- Add all playlist actions to initialization list
- Make rescan songs work for non-collection songs by using playlist item reload
- Only show add to another playlist and remove from playlist when songs are selected
- Add some missing icons
Fixes #503
2020-08-07 22:13:02 +02:00
Jonas Kvinge
1db16232de
Only show rescan songs for collection songs
...
Fixes #503
2020-08-07 21:18:48 +02:00
Jonas Kvinge
3e8f7e1cf1
Register CoverSearchStatistics metatype
2020-08-06 23:54:54 +02:00
Jonas Kvinge
a4f692c788
Only show playlist add file(s) to transcoder when songs are selected
2020-08-06 18:37:17 +02:00
Jonas Kvinge
9f01206c57
Only show open in file browser when songs are selected
2020-08-06 18:36:52 +02:00
Jonas Kvinge
d34fc551ed
Add playlist right click option to copy URL
2020-08-06 18:29:35 +02:00
Jonas Kvinge
459404e3f0
Rename organise to organize
...
Prefer US spelling
2020-08-04 21:18:14 +02:00
Jonas Kvinge
8390237cc4
Fix Sparkle integration for macOS
2020-08-02 06:32:01 +02:00
Jonas Kvinge
214b6f4358
Use correct qt sparkle include for Qt 6
2020-08-01 03:41:48 +02:00
Jonas Kvinge
af0d092054
Use sparkle to check for updates on macOS and Windows
2020-08-01 03:37:16 +02:00
Jonas Kvinge
b07903c3e9
Register QVector<int>
2020-08-01 03:32:25 +02:00
Jonas Kvinge
f55a80b15a
Use Q_UNUSED
2020-08-01 03:23:50 +02:00
Jonas Kvinge
53fc2c7c21
Add extra safety for overwriting files for filesystem storage
2020-07-31 21:45:01 +02:00
Jonas Kvinge
a31eac1426
Base warning for show in file browser on unique directories
...
Fixes #484
2020-07-26 15:10:00 +02:00
Jonas Kvinge
797196f7fc
Register column aligment as int too
2020-07-26 15:05:00 +02:00
Jonas Kvinge
0b7b7656b2
Replace use of QRegExp
2020-07-20 00:57:42 +02:00
Jonas Kvinge
a3a1c6f4c8
Fix saving playlist column alignment
2020-07-18 18:18:34 +02:00
Jonas Kvinge
b15c4ecd10
Fix check for context tab in TabSwitched
...
Broken with Qt 6
2020-07-18 15:52:36 +02:00
Jonas Kvinge
d7f88cf3a4
Register QItemSelection
2020-07-18 06:02:54 +02:00
Jonas Kvinge
08b2945623
Remove Qt 5.6 backward compatibility
2020-07-18 04:21:45 +02:00
Jonas Kvinge
1f0961d574
Make MainWindow::nativeEvent compatible with Qt 6
2020-07-18 04:15:42 +02:00
Jonas Kvinge
9b8bfdf33c
Replace QPalette::Background with QPalette::Window
2020-07-18 04:12:50 +02:00
Jonas Kvinge
e5b3df41e9
Replace QRegExp with QRegularExpression
2020-07-18 04:05:07 +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
d27a571882
Ignore compile warning in SBSystemPreferences.h
2020-07-17 16:35:11 +02:00
Jonas Kvinge
71a1ea481b
Replace some uses of static_cast with qobject_cast
2020-07-17 01:32:07 +02:00
Jonas Kvinge
07553476d4
Remove xine
2020-07-16 00:59:46 +02:00
Jonas Kvinge
221ab51d90
Simply startup behaviour
2020-07-16 00:06:51 +02:00
Jonas Kvinge
614a09db1d
Fix some compile warnings
2020-07-13 18:11:57 +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
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
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
Jonas Kvinge
26a8bfaac4
Open directory instead of file for PCManFM
2020-07-06 20:27:48 +02:00
Jonas Kvinge
4d78b30e8c
Make icon sizes configurable, increase default sizes for icons
...
Fixes #250
2020-06-28 18:36:48 +02:00
Jonas Kvinge
04f3543424
Rename some layouts in mainwindow UI
2020-06-28 00:17:22 +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
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
bb611bf655
Dont use HTML in tooltip on KDE
...
Fixes #466
2020-06-20 17:30:37 +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
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
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
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
Jonas Kvinge
3f5f3d143f
Fix compile without gstreamer
2020-05-30 21:39:16 +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
5d5723ad58
Replace qrand with QRandomGenerator when using Qt 5.10 or higher
2020-05-29 17:37:46 +02:00
Jonas Kvinge
e9e0829cdc
Remove end dash from title
2020-05-15 22:15:52 +02:00
plonibarploni
f26a0df4a4
strip directory from OpenInFileManager command ( #436 )
2020-05-14 22:19:26 +02:00
Jonas Kvinge
16d9a077f0
emit SearchCoverInProgress before SearchCoverAutomatically
2020-05-14 19:29:07 +02:00
Jonas Kvinge
d78bb94af3
Fix Tidal OAuth login
2020-05-13 21:56:11 +02:00