Commit Graph

58 Commits

Author SHA1 Message Date
2a89ddb2ca Add an async version of the analyze function 2023-12-26 23:04:13 +02:00
5fd2ef3902 Add the glue code to call Bliss functions and return JS values 2023-12-26 22:32:17 +02:00
b4d5019d83 Init Neon for generating N-API bindings 2023-12-26 20:01:55 +02:00
6d93ed3a70 Init Neon for generating N-API bindings 2023-12-26 19:24:40 +02:00
5a84e8831a Add utility methods to serialize / deserialize song analysis data 2023-12-26 12:44:07 +02:00
Paul Arzelier
708201e6a1 Make the Song::analyze public 2023-12-02 16:37:04 +01:00
Polochon-street
d2769d28d3 Remove unused deps, update the others
Also moved some deps that only belonged to tests
in dev-dependencies, to save build time
2023-03-23 19:02:19 +01:00
Polochon-street
0fc9f8d966 Bump ffmpeg to 6.0 2023-03-16 20:50:39 +01:00
Polochon-street
f2e8dfe5b8 Some version changes 2023-02-14 19:06:38 +01:00
Polochon-street
266913ef13 Clippy lints 2023-02-14 18:42:38 +01:00
Polochon-street
9cf425a8ba Update library should also delete songs 2023-02-14 17:49:33 +01:00
Polochon-street
8391095198
Merge pull request #52 from toofar/feat/faster_update_setup_again
Use set for paths-to-update comparison
2022-10-16 22:59:35 +02:00
Polochon-street
e51c242a48 library: pretty-print json config file 2022-10-16 21:50:52 +02:00
toofar
eef648bda5 Use set for paths-to-update comparison
With about 140k tracks the update operation takes a long time. A
flamegraph shows update_library_convert_extra_info as taking almost all
of that time and slice_contains in particular.

With the previous release 0.2.9 updates where very fast and got to the
actual analyzing part right away. With 0.3.2 it spends a lot of time
before it even gets to analyzing. And it seems to be slower to start up
the more songs you have analyzed.

Blissify 0.2.9 seemed to use a HashSet too :)
2022-10-15 16:02:01 +13:00
Polochon-street
1c40ac7673 Fix a bug in CPU number 2022-10-09 12:54:54 +02:00
Polochon-street
8d3e328cee Add number cores option to Library 2022-10-03 18:11:13 +02:00
Polochon-street
40f8e399c9 Final touches 2022-09-28 22:41:59 +02:00
Polochon-street
fa3d467536 Add CUE support to the library trait 2022-09-27 22:59:10 +02:00
Polochon-street
e6ad4c96a6 Add more generic sorting things 2022-09-27 18:12:11 +02:00
Polochon-street
661d848331 Add a proper library / config example 2022-09-27 18:12:11 +02:00
Polochon-street
8f36dd3ee8 Fix a bug in WAV decoding 2022-09-26 23:14:21 +02:00
Polochon-street
8d0d77da7d Add analyze_paths_with_core, return proper path 2022-09-22 22:11:47 +02:00
Polochon-street
7420da5041 fix decoding when a file is broken 2022-09-06 19:11:09 +02:00
Polochon-street
b3f9ef5fa3 Make distance functions coherent 2022-08-14 18:47:15 +02:00
Polochon-street
774f4972c2 Bump ffmpeg to 5.1 2022-08-14 15:56:45 +02:00
Polochon-street
f3006e843c Change CUE to flac for size 2022-04-18 19:45:07 +02:00
Polochon-street
7498cf4620 Make analyze_paths use CUE support. 2022-04-18 19:03:03 +02:00
Polochon-street
0227c9596a Add a BlissCue / BlissCueFile struct 2022-04-14 20:42:29 +02:00
Polochon-street
b61c0e0b62 Add album_artist and duration to song. 2022-04-12 22:12:26 +02:00
Polochon-street
43fbafa80b Fix bug leading to empty chroma errors 2022-04-11 18:02:01 +02:00
Polochon-street
d2124a3b2c Remove library trait; move things in playlist.rs 2022-04-04 23:27:42 +02:00
Polochon-street
c9342d7226 Replace Song::new by Song::from_path 2022-04-02 20:36:28 +02:00
Polochon-street
5930d2bc93 Replace occurences of analyse by analyze 2022-04-02 00:19:11 +02:00
Polochon-street
51e8cf9344 Some fixes for the new CI 2022-02-17 22:43:28 +01:00
Polochon-street
0f3e209202 Use ffmpeg 5.0 2022-02-16 19:37:59 +01:00
Polochon-street
a4f2dd6a96 Merge pull request #28 from Polochon-street/export-feature-version
Add a features' version number
2022-01-18 18:27:03 +01:00
Polochon-street
8468a9ab8f Add a features' version number 2022-01-05 19:19:50 +01:00
Polochon-street
68d1d9d71b Playlist example: save analysis to a file 2021-11-15 21:41:59 +01:00
Polochon-street
be0a3e5290 Add an option to make a playlist of albums 2021-10-02 20:26:46 +02:00
Polochon-street
23d4d36cb4 Add playlist dedup methods 2021-08-23 19:38:56 +02:00
Polochon-street
dd997510d3 Fix speed of "song to song" sorting method 2021-08-23 18:16:32 +02:00
Polochon-street
e9e63f961c Add custom sorting for playlists 2021-07-28 22:10:32 +02:00
Polochon-street
0975fa1fd4 Add an analyze_paths_streaming function 2021-07-05 15:44:41 +02:00
Polochon-street
59b09129f4 Tentaive of thread safing stuff 2021-06-30 17:52:28 +02:00
Polochon-street
0eb3e2f9fc Add custom distances and run cargo fmt 2021-06-21 21:08:10 +02:00
Polochon-street
33520acbc3 Some review comments 2021-06-15 19:34:17 +02:00
Polochon-street
f871d24c54 Fix potential segfault in Song::decode 2021-06-14 21:02:30 +02:00
Polochon-street
1a6d0bafda Change some docs 2021-06-08 21:40:46 +02:00
Polochon-street
f4a04dfd86 Make to_vec public. 2021-06-06 16:47:01 +02:00
Polochon-street
1e90bc2d01 Merge pull request #10 from Polochon-street/minor-fixes-2
Make NUMBER_FEATURES public
2021-06-06 16:28:17 +02:00