Tobias Schmitz
bff49c22ec
Embedded artwork support ( #101 )
...
* Embedded artwork support for mp4 and id3 tags
* Embedded artwork support for flac tags.
* small fixes
* use first embedded artwork for directory
* added artwork tests
* updated Cargo.lock
* use first embedded artwork for missing artworks
2020-11-25 15:46:09 -08:00
Tobias Schmitz
4534a84c05
update mp4ameta dependency ( #100 )
2020-11-21 16:04:05 -08:00
Antoine Gersant
d78011e6bc
Cleaned settings tests
2020-09-24 22:39:51 -07:00
Antoine Gersant
23a144761e
Deserialize preferences
2020-09-24 22:16:24 -07:00
Antoine Gersant
7e46c6cd5a
Added preferences API test
2020-09-24 22:14:40 -07:00
Antoine Gersant
a7ef7b2bd0
Added support for APE files
2020-09-24 01:46:29 -07:00
Antoine Gersant
cf67e44d20
Added API test for search without query
2020-09-24 00:07:55 -07:00
Antoine Gersant
ca8f046142
Thumbnails code cleanup
2020-09-23 22:20:27 -07:00
Antoine Gersant
8c32d7351c
Updated mp4ameta dependency
2020-09-21 19:28:17 -07:00
Antoine Gersant
cd63564c03
Separate test inputs from outputs
2020-09-19 16:58:19 -07:00
Yannik Böttcher
8de736e563
properly export and use the match macro
2020-08-07 15:03:36 +02:00
Yannik Böttcher
943174bafa
move match macro into utils module
2020-08-07 14:41:07 +02:00
Yannik Böttcher
9ee9786c0a
include opus sample in test suite
2020-08-07 12:51:32 +02:00
Yannik Böttcher
b2152cecc3
use match_ignore_case macro
2020-08-07 12:44:36 +02:00
Yannik Böttcher
86a935fd79
update all instances of key.to_str
2020-08-06 21:09:41 +02:00
zaethan
70c7463f6f
Update src/index/metadata.rs
...
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-08-06 19:07:49 +00:00
zaethan
14a6466c2d
Update src/index/metadata.rs
...
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2020-08-06 19:07:21 +00:00
Yannik Böttcher
db97dbea46
use eq_ignore_ascii_case instead of to_uppercase
2020-08-06 19:32:52 +02:00
Yannik Böttcher
60e8f3ec46
remove redundant to_str
2020-08-06 18:17:55 +02:00
Yannik Böttcher
fee96e6b49
add support for opus files
2020-08-06 17:26:50 +02:00
Laurențiu Nicola
dbb5f79371
Use more threads when populating index
2020-07-21 06:54:20 +03:00
Ray
337a4020fe
year one-liner for mp4 metadata
2020-06-20 22:06:40 -04:00
Ray
7637037e3d
add m4a support via mp4ameta crate
2020-06-16 08:06:40 -04:00
Ray
e9346e29ee
Add unit test
2020-06-15 15:02:48 -04:00
Ray
2797d5ed91
alphabetize mp4meta import
2020-06-13 21:18:54 -04:00
Ray
d8b1f0c002
Enable M4A format support
...
- Use https://github.com/Saecki/rust-mp4ameta for M4A metadata
Resolves https://github.com/agersant/polaris/issues/70
2020-06-13 20:58:43 -04:00
Antoine Gersant
6142697b4a
Do not let users remove their own admin rights
2020-05-31 18:37:08 -07:00
Antoine Gersant
d5c186579a
Fixed a bug where flatten could return songs from adjacent directories
2020-05-31 14:43:29 -07:00
Antoine Gersant
21cf831f74
Updated image dependency
2020-05-30 17:05:41 -07:00
Antoine Gersant
d7c66c3745
Automatically redirect /swagger to /swagger/
2020-05-30 16:34:06 -07:00
Wesley Moore
a05c838c5b
Support UNIX platforms that aren't Linux
2020-02-23 12:05:17 +11:00
Antoine Gersant
cea8906c3d
Merge branch 'master' of https://github.com/agersant/polaris
2020-02-02 15:12:21 -08:00
Antoine Gersant
6e3f439d8a
Made thumbnail padding optional
2020-02-02 15:11:43 -08:00
Laurențiu Nicola
7428891bde
Drop function_name dependency ( #66 )
2020-02-02 00:58:30 -08:00
Antoine Gersant
186e3173cd
Formatting
2020-01-31 19:16:55 -08:00
Antoine Gersant
312eb15a2b
Use partial information from id3 tags that have encoding errors
2020-01-31 19:16:07 -08:00
Antoine Gersant
fc36bb4cee
Fixed rare test fluke
2020-01-22 21:52:17 -08:00
Antoine Gersant
cdb1a5233e
Updated dependencies
2020-01-22 21:45:11 -08:00
Antoine Gersant
645d5163f3
More readable profile markers
2020-01-19 14:28:04 -08:00
Antoine Gersant
028633d0e6
Re-factored duplicated code
2020-01-19 01:01:43 -08:00
Antoine Gersant
2b30307488
Added more profiling markers
2020-01-19 00:44:24 -08:00
Antoine Gersant
f71a8320e9
Don't return from populate() while still writing to database
2020-01-18 23:38:18 -08:00
Antoine Gersant
d1bb60a1c7
Moved metadata module under index
2020-01-18 23:21:45 -08:00
Antoine Gersant
f6b9e67d4e
Error handling for index insertions
2020-01-18 22:20:59 -08:00
Antoine Gersant
b8b3c80be9
Don't emit errors on critical path
2020-01-18 22:20:17 -08:00
Antoine Gersant
1764f3da4d
Moved database insertions to separate threads from the file crawl
2020-01-18 21:57:44 -08:00
Antoine Gersant
18bc9594a4
Local variable rename
2020-01-18 19:41:07 -08:00
Antoine Gersant
b6d985859c
Renamed IndexBuilder
2020-01-18 19:40:46 -08:00
Antoine Gersant
25b36be073
More accurate index duration display
2020-01-18 17:41:57 -08:00
Antoine Gersant
f9a6d6b6d4
Parallelize work during the clean step
2020-01-18 17:39:13 -08:00