Roman Lebedev
e589486907
Song: add pretty-printers for EBU R 128 Integrated Loudness and Loudness Range fields
...
They end up being used in a quite a number of places later on,
it makes sense to have them in a common place.
Integrated Loudness (LUFS) is *usually* negative, so we really want to
always print a sign. But Loudness Range is non-negative.
I think it makes sense to print one or at most two decimal places for these.
2023-07-12 14:34:04 +02:00
Roman Lebedev
459c4c5d86
Song: add EBU R 128 Integrated Loudness and Loudness Range fields, DB [de]serialization
...
Again, pretty boring boilerplate, rather identical to the handling of
other fields. We do need to be careful when [de]serializing it, though,
we don't want to accidentally loose the `NULL` (i.e. unknown) state!
2023-07-12 14:34:04 +02:00
Roman Lebedev
73c56f038e
SqlQuery: add BindDoubleOrNullValue() method
...
To facilitate serializing of the two DB fields added by the previous change.
2023-07-12 14:34:04 +02:00
Roman Lebedev
0a4888f861
Database scheme: add EBU R 128 Integrated Loudness and Loudness Range columns
...
Nothing really ground-breaking, just add those two fields
to each table that already has `bitrate`/`samplerate`/`bitdepth` fields.
Those new fields do need to be able to represent an invalid state
which is their default state, thus they are non-`NOT NULL`.
In principle, the actual field type could be `INTEGER`
(i.e. fixed point w/ 2 fractional digits), but unless we really want to
save a few bytes, it doesn't seem worthwhile.
FIXME: i'm not sure if `device-schema` should be changed too.
2023-07-12 14:34:04 +02:00
Jonas Kvinge
e66651a4cb
Song: Remove unused application include
2023-07-02 00:29:30 +02:00
Jonas Kvinge
fa04eb67db
Convert old embedded and unset art in the new schema
2023-06-29 20:21:50 +02:00
Jonas Kvinge
6ed5190276
Remove AudD lyrics
2023-06-25 01:14:12 +02:00
Jonas Kvinge
f467331934
Add ifdefs around #pragma GCC diagnostic
2023-06-15 20:10:25 +02:00
Jonas Kvinge
5b60ea8e77
MainWindow: Remove F2 from edit tag shortcut
...
Fixes #1210
2023-06-07 19:38:59 +02:00
Jonas Kvinge
8ee32dfa88
Add static_cast to silence narrowing conversion warnings
2023-06-06 23:18:49 +02:00
Jonas Kvinge
331aa382f9
Rewrite album cover loader
2023-06-06 20:41:01 +02:00
Jonas Kvinge
919ff414e6
Replace SingleApplication with KDSingleApplication
2023-05-04 09:44:54 +02:00
Jonas Kvinge
2f17647cd3
Use const reference for AlbumCoverLoaderResult
2023-05-03 21:43:22 +02:00
Jonas Kvinge
f8d2c7eba3
Bump required Qt version to 5.12
2023-05-03 20:50:58 +02:00
Jonas Kvinge
e511b2faf9
Use new connect syntax for QMetaObject::invokeMethod
2023-05-03 20:08:51 +02:00
Jonas Kvinge
301e6b194a
Replace 0 msec singleshot with invoke method
2023-05-03 19:55:58 +02:00
Jonas Kvinge
1d3223e9c6
Add getopt supporting unicode
...
Fixes #1191
2023-05-01 16:44:18 +02:00
Jonas Kvinge
e9f3281694
Rename EngineBase
2023-04-22 19:13:42 +02:00
Jonas Kvinge
3145433099
SystemTrayIcon: Simply icon loading
2023-04-22 15:27:34 +02:00
Jonas Kvinge
bdf6844b74
Database: Move error_reported
2023-04-22 14:38:45 +02:00
Jonas Kvinge
60bbd71a22
Remove NetworkAccessManager from song loader
2023-04-22 14:05:48 +02:00
Jonas Kvinge
8edb6eaa81
Song: Add missing const
2023-04-21 20:48:30 +02:00
Jonas Kvinge
b8eecc05fd
AlbumCoverLoader: Use own NetworkAccessManager instance
...
Since AlbumCoverLoader runs in it's own thread.
2023-04-21 20:29:43 +02:00
Jonas Kvinge
7fc5aef553
Use one instance of NetworkAccessManager
2023-04-21 20:20:53 +02:00
Jonas Kvinge
bee6b7f946
Rename original_url to media_url
2023-04-21 16:20:00 +02:00
monochromec
4de5d8f2a3
Fixed typo and improved wording of Rosetta notice
2023-04-20 16:29:48 +02:00
Jonas Kvinge
1d27c5a14c
MainWindow: Add missing QSettings declaration
2023-04-18 20:17:01 +02:00
Jonas Kvinge
cd03e1fc74
Make it possible to not show Rosetta warning
...
Fixes #1180
2023-04-18 18:03:39 +02:00
Jonas Kvinge
b273a449e3
Add common message dialog
2023-04-18 17:44:42 +02:00
Jonas Kvinge
b637867f9e
MainWindow: Hide checkbox, set size, center rosetta warning
2023-04-18 16:54:43 +02:00
Jonas Kvinge
41d5792b27
Add screen utilities for screen and center widget on screen
2023-04-18 16:54:35 +02:00
Jonas Kvinge
aaa530e72b
Add const/references to all signal parameters
2023-04-09 20:23:42 +02:00
Jonas Kvinge
780b982635
SmartPlaylistSearchTermWidget: Fix loading search terms
...
Fixes #1172
2023-04-07 23:05:07 +02:00
Jonas Kvinge
e314545f2e
Database: Fix SQL query error message
2023-04-07 20:54:31 +02:00
Jonas Kvinge
b660287779
Use std::shared_ptrfor AlbumCoverLoaderResult
...
Reduces memory fragmentation with Qt 6
2023-04-06 23:18:10 +02:00
Jonas Kvinge
962536bc83
AlbumCoverLoaderResult: Use enum class for type
2023-04-06 01:23:42 +02:00
Jonas Kvinge
c1465a890f
TagReaderClient: Always use 1 tagreader worker
2023-03-26 00:08:55 +01:00
Jonas Kvinge
272976f0b7
TagReaderClient: Fix default save options
2023-03-25 23:54:15 +01:00
Jonas Kvinge
4de912cf41
Song: Fix missing colon in SQL bind value
2023-03-25 16:34:26 +01:00
Jonas Kvinge
aedbd52e9d
Add AcoustID
2023-03-24 22:48:22 +01:00
Jonas Kvinge
e967d15b4e
Add AudD lyrics provider
2023-03-24 21:16:11 +01:00
Jonas Kvinge
ca176c319d
Add Acoustid and MusicBrainz tags to database schema
2023-03-24 21:00:58 +01:00
Jonas Kvinge
17c960ecd4
Song: Add Acoustid fingerprint and MusicBrainz tags
2023-03-24 20:57:46 +01:00
Jonas Kvinge
b766ae3498
Song: Use static_cast from int to Source
2023-03-24 20:54:42 +01:00
Jonas Kvinge
52c83d592c
Rename Stands4 to Lyrics.com
2023-03-22 23:36:15 +01:00
Jonas Kvinge
0c62147536
SongLoader: Remove probe and bus watch
2023-03-19 05:08:35 +01:00
Jonas Kvinge
e20cbe4170
Save embedded cover in the same process as tags
...
Possible fix for #1158
2023-03-18 20:03:07 +01:00
Jonas Kvinge
ea8e5180ff
Detect if running under Rosetta
2023-03-07 23:04:00 +01:00
Jonas Kvinge
e4c5e99d0f
MainWindow: Add macOS warning if running on different CPU
2023-03-07 20:14:37 +01:00
Jonas Kvinge
2dd0f6a9ba
Remove AudD lyrics provider
2023-03-06 21:46:00 +01:00