sentriz
eb79cecc44
fix(scanner): gracefully handle multi value tag delim splits with adjacent delimiters
...
closes #448
Co-authored-by: Chris Hayes <chayes@interrobang.sh >
2024-01-02 23:10:11 +00:00
sentriz
f5b6b4d790
fix substring checking in scanner musicDirRelative
...
related https://github.com/sentriz/gonic/issues/437
2023-12-22 13:00:14 +00:00
sentriz
9e12394acc
refactor(scanner): rename scan context to scan state
2023-12-13 01:32:15 +00:00
sentriz
ddb686bddc
fix(scanner): make sure we roll back invalid parents
...
fixes #402
2023-11-04 19:04:30 +00:00
sentriz
604f450f08
move scanner helper
2023-11-04 18:27:35 +00:00
sentriz
c1a34dc021
feat: store and expose individual track artists
...
a
2023-10-31 19:14:08 +00:00
sentriz
46575278ed
refactor: remove album.GenreStrings
2023-10-25 21:59:56 +01:00
Senan Kelly
c947404923
refactor(scanner): make the watcher a little easier to reason about ( #394 )
...
* add a test for symlinks escaping defined music paths
* refactor(scanner): make the watcher a little easier to reason about
2023-10-24 22:57:42 +00:00
sentriz
8382f6123c
feat(subsonic): make it easier to add more tag reading backends
...
related https://github.com/sentriz/gonic/issues/379
related https://github.com/sentriz/gonic/issues/324
related https://github.com/sentriz/gonic/issues/244
2023-10-02 20:02:56 +01:00
Senan Kelly
39fb8e7d54
use package level require/assert in tests ( #382 )
2023-09-25 17:39:39 +00:00
sentriz
e3dd812b6c
feat(ci): add a bunch more linters
2023-09-22 19:05:55 +02:00
sentriz
0eb5add1a0
delete multierr
2023-09-14 01:09:57 +01:00
sentriz
9cf48f0f58
relax the oul linters
...
will you fuckin relax pal
2023-09-10 16:16:32 +01:00
sentriz
657fb221db
feat(subsonic)!: drop support for guessed artist covers in filesystem
...
it doesn't make sense with multi-artist support anymore
gonic will use lastfm or an album cover instead
Release-As: 0.16.0
2023-09-10 16:16:04 +01:00
sentriz
3ac77823c3
feat(subsonic): add support for multi-valued album artist tags
...
closes #103
a
a
a
r
a
a
a
a
a
a
a
a
a
a
2023-09-10 14:05:32 +01:00
sentriz
56bd2c6432
add a test for orphaned genres
2023-08-16 22:52:26 +01:00
sentriz
5700558a3f
swap order of require.Equal() args
...
we had the order of require.Equal() arguments mixed up. it should be
(expected, actual) not the other way around
updated with
find . -name "*_test.go" -exec gofmt -r "require.Equal(a, b) -> require.Equal(b, a)" -w '{}' \+
2023-08-15 22:38:38 +01:00
Gregor Zurowski
b7a50ee9cb
use testify for all tests ( #319 )
...
* Use Testify for all tests
* Terminate failing non-relaxed tests using `require`
2023-05-13 15:17:37 +00:00
Gregor Zurowski
1d3877668f
feat(scanner): add a new option for excluding paths based on a regexp
...
* Exclude paths based on new exclude pattern option
* Add test for excluded paths
* Add exclude pattern option to docs
* Set exclude regexp only if given argument is set
* Update scanner/scanner.go
---------
Co-authored-by: Senan Kelly <senan@senan.xyz >
2023-05-06 17:03:11 +00:00
sentriz
fdbb28209b
fix(scanner): fix records with album name same as artist
...
and never use db.Where() with a struct
gorm was seeing a query like
db.Where(Album{Left: left, Right: right})
but if the `left` variable was empty, gorm couldn't differentiate it with an empty field in the struct
so it generated SQL that we weren't expected
like
SELECT * FROM albums WHERE right=?
instead of
SELECT * FROM albums WHERE left=? AND right=?
fixes #230
2022-09-09 13:09:06 +01:00
sentriz
2afc63f64a
add a test for updated album genre tags
...
related #225
2022-05-19 00:49:20 +01:00
sentriz
d6d1fe26ba
refactor(scanner): remove unused genreIDs arg
2022-05-19 00:46:17 +01:00
sentriz
8b803ecf20
refactor: move shared packages up a level
2022-04-13 01:10:46 +01:00
sentriz
f52ce807af
upgrade sqlite3
2020-04-25 01:55:46 +01:00
sentriz
b95f98ffcf
add "-full-scan" scan option to gonic scan
...
closes #20
2020-04-24 01:57:17 +01:00
sentriz
e0f194ec6c
add jukebox-enabled flag
2020-04-18 22:04:53 +01:00
sentriz
256143a025
move senan.xyz/g/ to go.senan.xyz
2020-04-02 16:46:04 +01:00
sentriz
b44b0d8720
use newmock in scanner tests
2019-07-08 13:00:19 +01:00
sentriz
51b6565b91
use vanity url
2019-07-06 19:28:03 +01:00
sentriz
b6b3043765
move get funcs to db
2019-07-06 13:49:30 +01:00
sentriz
f4b766e86d
add scanner benchmarking
2019-07-04 14:08:44 +01:00