Commit graph

106 commits

Author SHA1 Message Date
NGnius (Graham) 2dcdd5643b Add raw song buffer constructor 2023-01-24 22:43:47 -05:00
NGnius (Graham) 4db79db51f Update fork information 2023-01-11 19:20:09 -05:00
NGnius (Graham) 2c76cf0328 Upgrade to symphonia v0.5 2023-01-11 19:17:21 -05:00
NGnius (Graham) 66e7333ff1 Convert ffmpeg functionality to symphonia and fix some related tests 2023-01-11 19:15:53 -05: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
Polochon-street 5930d2bc93 Replace occurences of analyse by analyze 2022-04-02 00:19:11 +02:00
Polochon-street 5f366b0d80 Merge pull request #30 from Polochon-street/some-windows-support
Add some words about windows cross-compilation
2022-02-19 20:25:30 +01:00
Polochon-street 51e8cf9344 Some fixes for the new CI 2022-02-17 22:43:28 +01:00
Polochon-street 80f4ed11aa Add some words about windows cross-compilation 2022-02-17 22:13:34 +01:00
Polochon-street 85e13251ae
Merge pull request #29 from Polochon-street/use-ffmpeg-5
Use ffmpeg 5.0
2022-02-16 19:48:14 +01:00
Polochon-street 0f3e209202 Use ffmpeg 5.0 2022-02-16 19:37:59 +01:00