Commit Graph

112 Commits

Author SHA1 Message Date
Polochon-street
fc800d2cb5 Add license 2023-03-23 22:06:17 +01:00
Polochon-street
e07fb5abe0 Put the right version in Cargo.toml 2023-03-23 21:24:21 +01:00
Polochon-street
5c49b18670
Merge pull request #58 from Polochon-street/unused-deps
Remove unused deps, update the others
2023-03-23 21:22:27 +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
743f779529
Merge pull request #61 from Polochon-street/ffmpeg6
Bump ffmpeg to 6.0
2023-03-16 20:50:54 +01:00
Polochon-street
0fc9f8d966 Bump ffmpeg to 6.0 2023-03-16 20:50:39 +01:00
Polochon-street
97f563dd6e
Merge pull request #56 from Polochon-street/update-should-delete
Update library should also delete songs
2023-02-14 21:56:07 +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
08aba11e39 Add library::update_* change to changelog 2022-10-16 23:01:42 +02: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
4097fcce6b
Merge pull request #53 from Polochon-street/prettify-json
library: pretty-print json config file
2022-10-16 21:59:22 +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
10cddd64a3
Merge pull request #50 from Polochon-street/fix-readme
Describe the library module better in README.
2022-10-12 20:05:17 +02:00
Polochon-street
ad947643ee Describe the library module better in README. 2022-10-12 19:55:51 +02:00
Polochon-street
a3be133113
Merge pull request #49 from Polochon-street/fix-number-cpu
Fix a bug in CPU number
2022-10-09 14:21:59 +02:00
Polochon-street
1c40ac7673 Fix a bug in CPU number 2022-10-09 12:54:54 +02:00
Polochon-street
cd3fd54018
Merge pull request #48 from Polochon-street/add-number-cpus
Add number cores option to Library
2022-10-03 18:23:54 +02:00
Polochon-street
8d3e328cee Add number cores option to Library 2022-10-03 18:11:13 +02:00
Polochon-street
df976c3725 Fix Cargo.toml / changelog 2022-09-28 23:33:14 +02:00
Polochon-street
bf428a62af
Merge pull request #41 from Polochon-street/add-actually-useful-library-struct
Add a proper library / config example
2022-09-28 23:15:39 +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
c3f288eb71
Merge pull request #47 from Polochon-street/fix-wav-decoding
Fix a bug in WAV decoding
2022-09-27 17:37:35 +02:00
Polochon-street
8f36dd3ee8 Fix a bug in WAV decoding 2022-09-26 23:14:21 +02:00
Polochon-street
411cdb6ecf
Merge pull request #46 from Polochon-street/analyze-path-return-paths
Add analyze_paths_with_core, return proper path
2022-09-22 22:24:38 +02:00
Polochon-street
8d0d77da7d Add analyze_paths_with_core, return proper path 2022-09-22 22:11:47 +02:00
Polochon-street
701feb414d
Merge pull request #45 from Polochon-street/fix-decoding
fix decoding when a file is broken
2022-09-07 23:40:58 +02:00
Polochon-street
7420da5041 fix decoding when a file is broken 2022-09-06 19:11:09 +02:00
Polochon-street
c5ffb619bb
Merge pull request #43 from Polochon-street/minor-changes
Make distance functions coherent
2022-08-14 18:55:53 +02:00
Polochon-street
b3f9ef5fa3 Make distance functions coherent 2022-08-14 18:47:15 +02:00
Polochon-street
89e389e1c9
Merge pull request #42 from Polochon-street/bump-ffmpeg-version
Bump ffmpeg to 5.1
2022-08-14 16:04:52 +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
a0fe109b96
Merge pull request #40 from Polochon-street/add-rcue-support
Add a `BlissCue` / `BlissCueFile` struct
2022-04-18 19:18:39 +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
5302e1e45c
Merge pull request #39 from Polochon-street/minor-fixes
Add album_artist and duration to song.
2022-04-12 22:21:13 +02:00
Polochon-street
b61c0e0b62 Add album_artist and duration to song. 2022-04-12 22:12:26 +02:00
Polochon-street
c08fd3d703
Merge pull request #37 from Polochon-street/fix-empty-chroma
Fix bug leading to empty chroma errors
2022-04-11 18:09:22 +02:00
Polochon-street
43fbafa80b Fix bug leading to empty chroma errors 2022-04-11 18:02:01 +02:00
Polochon-street
b12773d52d
Merge pull request #33 from Polochon-street/remove-library-trait
Remove library trait; move things in `playlist.rs`
2022-04-04 23:36:35 +02:00
Polochon-street
d2124a3b2c Remove library trait; move things in playlist.rs 2022-04-04 23:27:42 +02:00
Polochon-street
3a4bac5a34
Merge pull request #32 from Polochon-street/rename-song-new
Replace Song::new by Song::from_path
2022-04-03 16:57:31 +02:00
Polochon-street
c9342d7226 Replace Song::new by Song::from_path 2022-04-02 20:36:28 +02:00
Polochon-street
ef263c1eb1
Merge pull request #31 from Polochon-street/fix-analyse-vs-analyze
Replace occurences of `analyse` by `analyze`
2022-04-02 00:57:35 +02:00