Jonas Kvinge
2bb09cf575
Song: Handle MP2 in Song::FiletypeByDescription
2023-10-21 05:07:25 +02:00
Jonas Kvinge
7bf4ad3884
Song: Handle MP2 in Song::FiletypeByExtension
2023-10-21 04:59:50 +02:00
Jonas Kvinge
5154d7ac84
Song: Rename MP3 to MPEG
2023-10-21 04:59:33 +02:00
Jonas Kvinge
d2c747258c
Song: Add MPC to FiletypeByMimetype and FiletypeByDescription
2023-10-12 01:16:40 +02:00
Dakes
7aa7cdf6f3
Add filtering of numerical cols to collection
...
CollectionFilterWidget: Updated the tooltip, to reflect the changes.
CollectionQuery: Add parsing for SQL operators and insert right SQL
"where" searches.
Song: Add list of numerical columns
playlistfilterparser.cpp/FilterParser: move time and rating parsing
functions to new file:
searchparserutils.cpp: Contains common code used to parse search terms
in playlist and collection filters.
2023-08-02 16:52:27 +02:00
Jonas Kvinge
8f7180eb6c
Song: Pass double by value
2023-07-12 18:12:08 +02:00
Jonas Kvinge
8945602eae
Song: Add missing newlines between functions
2023-07-12 18:11:43 +02:00
Jonas Kvinge
7826f77425
Formatting
2023-07-12 16:27:59 +02:00
Roman Lebedev
bda2b91c92
Collectionwatcher: sink `PerformEBUR128Analysis()` into `ScanNewFile` & friends
2023-07-12 14:34:04 +02:00
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
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
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
e9f3281694
Rename EngineBase
2023-04-22 19:13:42 +02:00
Jonas Kvinge
8edb6eaa81
Song: Add missing const
2023-04-21 20:48:30 +02: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
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
e20cbe4170
Save embedded cover in the same process as tags
...
Possible fix for #1158
2023-03-18 20:03:07 +01:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
Jonas Kvinge
a5c1f4b0ee
EditTagDialog: Fix saving play statistics
...
Fixes #1124
2023-02-10 22:51:48 +01:00
Jonas Kvinge
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
66154bb51e
Song: Add `xesam:userRating` in `Song::ToXesam`
2022-12-27 21:18:40 +01:00
Jonas Kvinge
fac4ad5313
Scrobbler: Allow album artists to be "Various Artists"
...
Fixes #1082
2022-12-27 21:15:20 +01:00
Jonas Kvinge
f9ec438b7f
Don't remove disc from album title when creating cover hash
...
Fixes #1069
2022-12-03 23:23:18 +01:00
Jonas Kvinge
2cb29d06b3
EditTagDialog: Disable fields for unsupported tags
2022-11-23 22:06:45 +01:00
Jonas Kvinge
f10e928106
Organize: Only load embedded cover if the destination is a device
2022-10-19 18:37:49 +02:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +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
71263863ad
Allow invalid ctime/mtime
...
Possible fix for #815 and #947
2022-07-10 03:24:02 +02:00
Jonas Kvinge
6c0b395f4a
Add option for overwriting playcounts
...
Fixes #962
2022-06-05 04:59:50 +02:00
Jonas Kvinge
a2dad982f8
Move sqlrow to core
2022-05-13 18:15:04 +02:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
61e9b80f67
Song: Remove playlists from accepted file extensions
...
Fixes #909
2022-03-01 21:26:08 +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
5715f4c2cb
Remove use of macros in Song and TagReader
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
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
79ac53b2d9
Fix narrowing conversions
2021-10-30 02:21:29 +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
bb5fe5a6d1
Add Song::is_module_music()
2021-10-12 22:58:39 +02:00
Jonas Kvinge
a6569d09ac
Read XM and IT module music
2021-10-12 21:43:46 +02:00
Jonas Kvinge
92f6a0c6c8
Add mod and s3m to filetypes
2021-09-26 16:23:02 +02:00
Jonas Kvinge
d5b0794b00
Remove unneeded `this`
2021-09-13 20:49:33 +02:00