Jonas Kvinge
93f12baf51
Fix narrowing conversions in connects
2022-09-12 23:18:54 +02:00
Jonas Kvinge
78d6fd634b
Fix casts from `QByteArray`
2022-09-12 22:39:08 +02:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
71ec3e61be
signalchecker: Remove useless return
2022-08-28 02:46:23 +02:00
Jonas Kvinge
216fdb2393
FileSystemWatcherInterface: Change signal to non const
2022-08-28 02:45:56 +02:00
Jonas Kvinge
c39acc6e3c
Database: Remove useless return
2022-08-28 02:45:34 +02:00
Jonas Kvinge
d97b0478a7
Fix typos
2022-08-28 02:44:37 +02:00
Eoin O'Neill
80da565609
Initial support for GME's VGM/SPC playback and tag management.
...
Co-Authored-By: Jonas Kvinge <jonas@jkvinge.net>
2022-08-20 18:33:13 +02:00
Jonas Kvinge
8d9af59db2
MainWindow: Use different Sparkle URL for x86
2022-08-14 10:37:31 +02:00
Jonas Kvinge
acb6c0fc83
Use PlaylistFilter directly
2022-08-09 17:23:46 +02:00
Jonas Kvinge
e31dd9f553
MacSystemTrayIcon: Replace use of C-style cast
2022-08-07 05:14:05 +02:00
Jonas Kvinge
564211aceb
Prefer ICU to transliterate characters when available
...
Fixes #1008
2022-07-28 16:31:16 +02:00
Jonas Kvinge
98682a2da9
Use C++17 fallthrough
2022-07-26 20:37:06 +02:00
Jonas Kvinge
3ffcc29249
Add back save all playlists action
2022-07-20 01:09:00 +02:00
Jonas Kvinge
21f1fe52c0
Remove save all playlists action
...
It's hard-coded to m3u, needs a new select directory dialog with option to select different playlist formats.
Fixes #987
2022-07-18 22:56:32 +02:00
Jonas Kvinge
5e819cf04b
Remove defining _WIN32_WINNT
2022-07-17 01:16:10 +02:00
Jonas Kvinge
fd9ab43681
Windows7ThumbBar: Create taskbar list once
2022-07-17 00:13:37 +02:00
Jonas Kvinge
658c116eac
Utilities: Remove unnecessary constData() in Sha1CoverHash
2022-07-10 19:14:05 +02:00
Jonas Kvinge
6afbc71b4a
Remove old schemas
2022-07-10 18:57:00 +02:00
Jonas Kvinge
71263863ad
Allow invalid ctime/mtime
...
Possible fix for #815 and #947
2022-07-10 03:24:02 +02:00
Jonas Kvinge
f41a3b9bb2
CommandlineOptions: Change quint64 to quint32 to match operator>>
...
Fixes #986
2022-06-24 17:18:54 +02:00
Jonas Kvinge
bfd9e76f40
Remove capture of ‘this’ via ‘[=]’
2022-06-20 23:52:18 +02:00
Jonas Kvinge
d82fd421ed
Replace use of C-style casts
2022-06-13 00:23:42 +02:00
Jonas Kvinge
f4e5b83039
Replace use of C-style casts
2022-06-10 02:30:39 +02:00
Jonas Kvinge
1ea70b085f
Context: Remove albums
2022-06-05 11:58:53 +02:00
Jonas Kvinge
6c0b395f4a
Add option for overwriting playcounts
...
Fixes #962
2022-06-05 04:59:50 +02:00
Jonas Kvinge
788747c071
MainWindow: Remove unnecessary hide()
2022-05-21 19:12:53 +02:00
Jonas Kvinge
36eb131289
MainWindow: Remove QEvent::spontaneous() check in close event
...
Fixes #964
2022-05-21 19:12:53 +02:00
Jonas Kvinge
4a3a379871
Increase icons to include 128x128 and set global application icon
...
Fixes #954
2022-05-19 22:02:35 +02:00
Jonas Kvinge
18a2692dc1
PlaylistParser: Refactor code and exclude CUE from save playlist filters
...
Fixes #953
2022-05-13 23:14:56 +02:00
Jonas Kvinge
a2dad982f8
Move sqlrow to core
2022-05-13 18:15:04 +02:00
Jonas Kvinge
907dfee6f7
Utilities: Use inconv with MSVC
2022-04-15 17:44:04 +02:00
Jonas Kvinge
e05e9ea1b2
timeconstants: Use constexpr
2022-04-08 17:35:44 +02:00
Maxime Haselbauer
962b52bd5b
Add save all playlists action
2022-03-26 22:38:21 +01:00
Jonas Kvinge
8690be7fd2
Use separate sparkle feed for mingw and msvc
2022-03-25 21:38:37 +01:00
Jonas Kvinge
a6c05df362
Formatting
2022-03-22 21:19:59 +01:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
5ccfc97dab
Database: Fix schema update with Windows line-endings
2022-03-17 00:04:12 +01:00
Jonas Kvinge
61e9b80f67
Song: Remove playlists from accepted file extensions
...
Fixes #909
2022-03-01 21:26:08 +01:00
Jonas Kvinge
c9caa7f034
Mpris2: Fix incorrect rounding when setting volume
...
Fixes #894
2022-02-11 20:26:41 +01:00
Jonas Kvinge
848e41919d
SongLoader: Use g_free
2022-02-06 18:46:59 +01:00
Jonas Kvinge
a1735278df
Add 3rdparty getopt for MSVC
2022-02-06 17:29:07 +01:00
Jonas Kvinge
53d5192477
Allow deleting CUE songs
2022-02-05 15:56:18 +01:00
Jonas Kvinge
288408795b
Disable open audio CD menu when compiled without audio CD support
2022-02-04 19:45:30 +01:00
Jonas Kvinge
3acbe431f7
Replace non-translated characters with underscore
2022-02-04 19:07:15 +01:00
Jonas Kvinge
e31c9d74fa
Add advanced settings for configuring collection watcher
2022-01-30 04:24:33 +01:00
Jonas Kvinge
63e5d6a94a
Require Qt 5.9
2022-01-29 21:33:33 +01:00
Jonas Kvinge
fd5970b647
Player: Don't set volume lower than 0 or higher than 100.
...
Fixes #884
2022-01-29 20:32:33 +01:00
Jonas Kvinge
4c479301ff
Register MtpConnection as metatype
...
Fixes:
```
00:13:02.210 WARN unknown QObject::connect: Cannot queue arguments of type 'MtpConnection*'
00:13:02.210 WARN unknown (Make sure 'MtpConnection*' is registered using qRegisterMetaType().)
```
2022-01-29 00:17:37 +01:00
Jonas Kvinge
fbd2993239
Remove use of sparkle
2022-01-15 02:24:48 +01:00
Jonas Kvinge
c7444a189e
Replace SUUpdater with SPUStandardUpdaterController
2022-01-15 00:04:21 +01:00
Jonas Kvinge
29235c5fa6
Update stylesheet to use property name for popupMode on QToolButton
2022-01-14 23:25:36 +01:00
Jonas Kvinge
1d4775a94b
Simplify stylesheet on QToolButton
2022-01-08 13:18:54 +01:00
Jonas Kvinge
4cde9a7e9e
Fix padding on toolbuttons with menu button popup
...
Fixes #795
2022-01-08 13:10:48 +01:00
Jonas Kvinge
15be227920
TagReader: Various fixes to embedded cover handling
...
- Add support for saving embedded for Opus
- Fix deleting cover for Ogg Vorbis, Opus and Speex
- Don't load empty covers
2022-01-06 00:06:20 +01:00
Jonas Kvinge
ce3af4961b
GeniusLyricsProvider: Fix parsing of different HTML pages
2021-12-19 20:59:38 +01:00
Jonas Kvinge
8f49d1591f
Support more CUE filenames
...
Fixes #835
2021-11-27 20:28:00 +01:00
Jonas Kvinge
d5dac9c6cc
Add musicbrainz icon
2021-11-09 20:07:48 +01:00
Jonas Kvinge
5715f4c2cb
Remove use of macros in Song and TagReader
2021-11-09 19:34:43 +01:00
Jonas Kvinge
350debb66c
Utilities: Add static_cast in Hmac()
2021-11-09 19:34:43 +01:00
Jonas Kvinge
bc1c0c3c6d
SqlQuery: Add more BindValue methods
2021-11-09 19:34:43 +01:00
Jonas Kvinge
2151d96303
Use PlaylistItemList
2021-11-09 19:34:43 +01:00
Jonas Kvinge
ca10920bb5
Add option for overwriting database rating
2021-10-31 23:24:32 +01:00
buckmelanoma
642a455a9c
Add icon mappings for download and scrobble
...
Adds mappings for download (Cover Manager) and scrobble (Import data from last.fm):
2021-10-31 02:23:15 +01:00
buckmelanoma
20c2225d8f
Add icon names for missing Tools menu entries
...
I noticed the abort_collection_scan and console menu entries were missing matching icons. This change adds appropriate icons for each action.
2021-10-31 00:37:57 +02:00
Jonas Kvinge
5e7759b697
Utilities: Change return type for `GetThreadId` and `SetThreadIOPriority` to `long`
2021-10-31 00:26:02 +02:00
Jonas Kvinge
1223469be9
Song: Add playcount and rating to `Song::IsMetadataEqual()`
2021-10-30 19:06:46 +02:00
Jonas Kvinge
5eae3ddd8a
Use `float` for rating
2021-10-30 18:53:14 +02:00
Jonas Kvinge
a461c97bcf
IconLoader: Log when icon fails to load
2021-10-30 03:34:52 +02:00
Jonas Kvinge
8b8e427a2b
DeleteFiles: Fix compile with older Qt versions
2021-10-30 03:13:55 +02:00
Jonas Kvinge
79ac53b2d9
Fix narrowing conversions
2021-10-30 02:21:29 +02:00
Jonas Kvinge
ebadb4db0a
Use `const_iterator`
2021-10-30 01:57:12 +02:00
Jonas Kvinge
9a480eb710
SqlQuery: Make `QSqlDatabase` parameter const reference
2021-10-30 01:33:16 +02:00
Jonas Kvinge
e75c955a68
mac_startup: Remove unused functions
2021-10-30 00:48:58 +02:00
buckmelanoma
7a57586f90
Map edit-clear-list system icons
...
Use system edit-clear-list icons when enabled instead of defaulting to edit-clear-locationbar-ltr.png
2021-10-29 17:52:43 +02:00
Jonas Kvinge
30269d9d95
Organize: Remove unused "mark as listened" option
2021-10-24 23:19:01 +02:00
Jonas Kvinge
3ab86543ad
Add support for saving playcounts and ratings to tags
2021-10-24 16:08:17 +02:00
Jonas Kvinge
ec17dc9830
TagReaderClient: Sort functions
2021-10-18 23:15:50 +02:00
Jonas Kvinge
bd4eec4527
Song: Only merge user set playcount and rating if set
...
Fixes #790
2021-10-18 00:39:26 +02:00
Jonas Kvinge
ee915254e7
Song: Sort code in Song::ToProtobuf()
2021-10-17 00:34:33 +02:00
Jonas Kvinge
d835d4aae6
Add rating to Song::InitFromProtobuf and Song::ToProtobuf
2021-10-17 00:27:31 +02:00
Jonas Kvinge
c946c1d1c4
Player: Don't preload next song while playing module music
...
Workaround bug in GStreamer
Fixes #787
Fixes #772
2021-10-12 22:59:23 +02:00
Jonas Kvinge
bb5fe5a6d1
Add Song::is_module_music()
2021-10-12 22:58:39 +02:00
Jonas Kvinge
814d2fa9fc
MainWindow: Use Song::PrettyTitle() in debug message
2021-10-12 22:57:59 +02:00
Jonas Kvinge
a6569d09ac
Read XM and IT module music
2021-10-12 21:43:46 +02:00
staticssleever668
b38ad81928
Remove use of C-style casts
2021-10-12 18:50:17 +02:00
Jonas Kvinge
2b445fb563
StyleSheetLoader: Cleanup code and add workaround for macOS dark theme
...
Fixes #778
2021-09-28 17:25:22 +02:00
Jonas Kvinge
8d2615547d
Add keyboard shortcut for focusing search fields
...
Fixes #779
2021-09-27 21:42:30 +02:00
Jonas Kvinge
3292db8b77
Add missing override
2021-09-27 21:41:45 +02:00
Jonas Kvinge
8c6ad52437
Organize: Update collection directory ID and song path immediately
...
Fixes #781
2021-09-27 19:30:31 +02:00
Jonas Kvinge
62e53b53f0
Replace assert with Q_ASSERT
2021-09-27 19:30:31 +02:00
Jonas Kvinge
9b4a33a612
MPris2: Remove static
2021-09-26 20:14:11 +02:00
Jonas Kvinge
918b7c1e03
Move chrono include
2021-09-26 20:06:04 +02:00
Jonas Kvinge
acba68dab9
MergedProxyModel: Add FIXME
2021-09-26 18:34:44 +02:00
Jonas Kvinge
92f6a0c6c8
Add mod and s3m to filetypes
2021-09-26 16:23:02 +02:00
Jonas Kvinge
09a9330f3e
Show error when reading or saving album covers
2021-09-19 19:31:34 +02:00
Jonas Kvinge
d2d7f32c45
Add new method for updating songs based on song ID
...
Show status updating database.
Fixes #750
2021-09-19 15:43:36 +02:00
Jonas Kvinge
d5b0794b00
Remove unneeded `this`
2021-09-13 20:49:33 +02:00
Emmanuel
0637b65846
Fix a few narrowing conversions ( #761 )
...
* Fix narrowing conversion in album cover loader
* Fix narrowing conversions in discogs cover provider
* Fix narrowing conversions in spotify cover provider
* Add explicit conversion in moodbarbuilder
* Fix narrowing conversions in osd dbus
* Make WordyTimeNanosec use unsigned quint64
* Fix narrowing conversions in song
* Fix narrowing conversions in qobuz stream url request
* Make ConnectionInfo.msgLen use unsigned quint64
* Make AnalizerBase.timeout to signed int
* Fix narrowing conversions in album cover fetcher
* Make fht type be unsigned int
* Correct for type in blockanalizer and use std::fill where possible
* Revert "Fix narrowing conversions in song"
This reverts commit 3de291394d
.
2021-09-12 21:24:22 +02:00
EmmanuelMess
68c44daef2
Fix SingleApplication static functions called from instance
2021-09-10 18:44:36 +02:00
Jonas Kvinge
24a3ac9811
Use static QMetaObject::invokeMethod
2021-09-09 21:53:14 +02:00
Jonas Kvinge
d35d3aabc3
Show error dialog for failed SQL queries
2021-09-09 21:45:46 +02:00
Jonas Kvinge
ed08818b6f
Use multi-arg
2021-08-25 02:57:57 +02:00
Jonas Kvinge
71adfc0a74
Use std::chrono_literals
2021-08-25 02:57:09 +02:00
Jonas Kvinge
d02241d32c
Fix compile with MSVC
2021-08-24 21:49:06 +02:00
Jonas Kvinge
ea2bfbda44
Formatting
2021-08-23 21:21:08 +02:00
Jonas Kvinge
e2d8149dcf
Formatting
2021-08-19 19:17:43 +02:00
Jonas Kvinge
5f156d6bab
Only read local files in SongLoader::EffectiveSongLoad
2021-08-19 19:17:43 +02:00
Jonas Kvinge
cecb9293f6
Add QRegularExpression::CaseInsensitiveOption
2021-08-13 23:33:41 +02:00
Jonas Kvinge
e6858719c9
Reduce network access managers
2021-08-12 23:00:42 +02:00
Jonas Kvinge
f1d3cadb3b
Add better logging for file open and write errors
2021-08-09 23:32:26 +02:00
Jonas Kvinge
553e8baa8b
Fix async song load
...
Fixes #739
2021-07-28 22:25:33 +02:00
Jonas Kvinge
62a5031ccf
Delay pause on resume playback
2021-07-23 21:54:46 +02:00
Jonas Kvinge
4abac65316
Properly disconnect PlaylistManager::AllPlaylistsLoaded on resume
2021-07-23 21:54:21 +02:00
Jonas Kvinge
c6e42e1032
Reset play offset when switching song while paused
...
Fixes #735
2021-07-23 21:32:12 +02:00
Jonas Kvinge
a353631892
Code tidy
2021-07-23 21:30:08 +02:00
Jonas Kvinge
16625b1dc7
Move some files from ext to src
2021-07-21 17:29:16 +02:00
Jonas Kvinge
2eab763d74
Check that QIODevice::open() is successful, and explicitly call close()
2021-07-14 20:52:57 +02:00
Jonas Kvinge
fab1d94d34
Delay resume playback on startup to make sure Tidal login is refreshed
2021-07-14 13:02:54 +02:00
Jonas Kvinge
d9e378211a
Fix sorting of radios
2021-07-14 11:22:24 +02:00
Jonas Kvinge
68dbc29f2c
Use QString::compare with Qt::CaseInsensitive to reduce allocations
2021-07-13 23:18:12 +02:00
Jonas Kvinge
4251bee3ca
Change some uses of QMap to QHash
2021-07-12 08:28:52 +02:00
Jonas Kvinge
e48b7d83a3
Formatting
2021-07-11 09:49:38 +02:00
Jonas Kvinge
a6742d401c
Formatting
2021-07-11 07:40:57 +02:00
Jonas Kvinge
134dc55891
Rename RadioView::SetModel
2021-07-11 05:53:10 +02:00
Jonas Kvinge
b053f99690
Add Song::is_radio()
2021-07-11 05:18:39 +02:00
Jonas Kvinge
5700c3f72e
Change GStreamer text
2021-07-11 05:17:45 +02:00
Jonas Kvinge
cdb3729a88
Use Song::SourceFromURL in SongLoader::AddAsRawStream
2021-07-11 05:17:17 +02:00
Jonas Kvinge
c33f2a1d27
Unref bus in SongLoader::LoadRemote()
2021-07-11 04:58:37 +02:00
Jonas Kvinge
09bbf1f4d7
Add radios
2021-07-11 01:08:06 +02:00
Jonas Kvinge
4cb3f9d177
Close files in song loader
2021-07-11 00:45:30 +02:00
Jonas Kvinge
432b0f3e54
songloader: Make sure timeout timer is started from correct thread
2021-07-10 21:48:31 +02:00
Jonas Kvinge
2bee41e90e
Fix compile of Utilities::Hmac with Qt 6.3
2021-07-07 23:54:21 +02:00
Jonas Kvinge
88819611f4
Remove TagLib dependency from Song class
2021-07-02 01:16:46 +02:00
Jonas Kvinge
b9f3f80d50
Use std::make_unique / std::make_shared
2021-07-01 02:02:02 +02:00
Jonas Kvinge
0e8ae1a206
Change to std::shared_ptr
2021-07-01 02:02:02 +02:00
Jonas Kvinge
57a36491ee
Remove mpris.cpp and mpris.h
2021-06-30 16:26:07 +02:00
Jonas Kvinge
f3a8dde5f0
Use std::make_shared
2021-06-30 16:15:55 +02:00
Jonas Kvinge
aa859b9002
Remove dead code
2021-06-28 00:21:50 +02:00
Jonas Kvinge
a2e7173983
Rename filter to filter_widget
2021-06-28 00:21:50 +02:00
Jonas Kvinge
8287efd51f
Remove silencing -Wclazy-qt6-deprecated-api-fixes to workaround clazy bugs
2021-06-25 18:19:37 +02:00
Jonas Kvinge
215057ce6f
Remove unneeded get()
2021-06-22 14:04:42 +02:00
Jonas Kvinge
6d8b0b3ab6
Simplify return
2021-06-22 14:04:42 +02:00
Jonas Kvinge
e5c85ddd32
Pass task ID to SetTaskBlocksCollectionScans
2021-06-22 14:04:42 +02:00
Jonas Kvinge
6bf3c34fe5
Fix parameter name mismatch
2021-06-22 14:04:42 +02:00
Jonas Kvinge
584f5e5935
Change bool/int condition
2021-06-22 14:04:42 +02:00
Jonas Kvinge
8c2b907ff5
Make static
2021-06-22 14:04:42 +02:00
Jonas Kvinge
c61d1ce6b4
Use std::any_of
2021-06-21 19:52:37 +02:00
Jonas Kvinge
e85c13b3fe
Change switch to if statement
2021-06-21 15:44:13 +02:00
Jonas Kvinge
ed09627fdb
Use std::make_unique
2021-06-21 15:40:44 +02:00