Commit Graph

804 Commits

Author SHA1 Message Date
sentriz
2440e69689 feat(subsonic): log error responses 2022-03-23 23:41:31 +00:00
sentriz
78853ed62b format dockerfiles 2022-03-23 23:41:08 +00:00
sentriz
f2143e32ef fix(scanner): respect "is full" setting 2022-03-23 20:41:55 +00:00
sentriz
1ab47d6fbe feat(subsonic): update play stats when scrobbling
closes: #207

Co-authored-by: Brian Doherty <brian.r.doherty@gmail.com>
2022-03-22 20:39:57 +00:00
brian-doherty
59c404749f feat(server): support TLS
* Added https support. Will revert to http if either cert or key are empty strings.

* Update server/server.go

Co-authored-by: Senan Kelly <senan@senan.xyz>

* Fixed lint issues.

Co-authored-by: Senan Kelly <senan@senan.xyz>
2022-03-14 23:38:09 +00:00
sentriz
5155dee2e8 feat(countrw): add countrw package 2022-03-10 00:49:05 +00:00
sentriz
c7862761bd support parsing floats 2022-03-10 00:49:05 +00:00
sentriz
74c955b723 refactor: ioutil -> io 2022-03-10 00:49:05 +00:00
sentriz
5420f01089 refactor(mockfs): automatically clean up with t.Cleanup() 2022-03-02 15:19:12 +00:00
sentriz
9d406afb1f refactor(scanner): take seed from fuzzer 2022-03-02 09:30:51 +00:00
sentriz
d6492c1521 refactor(scanner): switch ext() path 2022-02-27 20:56:53 +00:00
sentriz
e56f64a758 feat(subsonic): sort artist album list
fixes #197
2022-02-25 21:00:24 +00:00
sentriz
bb9b52b960 try to save some extra writes of albums 2022-02-25 20:46:42 +00:00
xavier
55c09209b6 feat(subsonic): improve getArtistInfo2.view similar artist results (#203)
Co-authored-by: xavier <xavier@futurae.com>
2022-02-25 17:49:08 +00:00
sentriz
401c17b355 add a test for a compilation album without album artist tags
related https://github.com/sentriz/gonic/issues/185
related https://github.com/sentriz/gonic/issues/185#issuecomment-1050092128
2022-02-24 19:15:37 +00:00
sentriz
d3d2ed3469 add a test for scan tag errors 2022-02-24 19:15:37 +00:00
sentriz
599636663d support returning errors from mockfs tags 2022-02-24 19:15:37 +00:00
sentriz
19bc7f16aa add test for deleting artists 2022-02-24 19:15:37 +00:00
sentriz
f7f4b8b2cc feat(scanner): add fuzzing test 2022-02-24 19:15:37 +00:00
sentriz
10e8d18a0f refactor: return scan context from scanner 2022-02-24 19:15:37 +00:00
sentriz
b0d5861d10 feat(mockfs): add DumpDB method 2022-02-24 19:15:37 +00:00
Gonzalo Arreche
1647eaac45 feat(subsonic): support public playlists
When multiple people share the same instance, they might want to share
their playlists between them.

This allows people to mark playlists as public, and to listen to public
playlists from other people. Listeners will also know who owns the
playlist, to help avoid confusion and make this feature a bit nicer.

Subsonic restrict updating playlists only to owners, this honors that
behavior, but adding flexibility could be achieved easily.
2022-02-24 16:14:51 +00:00
Senan Kelly
4176b9e9d4 Update README.md 2022-02-18 02:24:46 +00:00
sentriz
c69d45fd4e run migrateAlbumRootDir again 2022-02-12 18:11:32 +00:00
sentriz
3dc838d36f delete old album index even if we found the new one
fixes #190
2022-02-12 16:53:06 +00:00
sentriz
e64524e09e remove debug sql print 2022-02-12 14:10:59 +00:00
xavier
92febcffe6 feat(subsonic): implement getSimilarSongs2.view
closes #195
2022-02-10 12:34:35 +00:00
xavier
e1cfed7965 feat(subsonic): implement getSimilarSongs.view
closes #195
2022-02-10 12:34:34 +00:00
xavier
39b3ae5ecb feat(subsonic): implement getTopSongs.view
closes #195
2022-02-10 12:34:34 +00:00
sentriz
3d377372f7 chore: upgrade deps 2022-02-09 19:50:28 +00:00
sentriz
a74b5a261c feat: render local artist images with no foreign key 2022-02-09 19:23:15 +00:00
sentriz
a0b9934d08 revert guessed artist folder changes
there seems to be a performance issue somewhere
2022-02-09 19:23:15 +00:00
djl
7fbe7c0994 feat(ui): show when a scan is in progress 2022-02-09 19:13:19 +00:00
jgdye
506899be6d Updated README.md to clarify directory structure 2022-01-21 09:39:01 +00:00
sentriz
24d64e2125 fix: set ON DELETE SET NULL to artists.guessed_folder_id removing folders 2022-01-18 22:59:05 +00:00
sentriz
b280e8d256 fix(scanner): fix linting Ctim.Sec/Ctim.Nsec on 32 bit systems 2022-01-10 18:15:25 +00:00
sentriz
14a2668426 feat: use album create time for home ui and album listings
closes #182
closes #135

Co-authored-by: b-levin <windrider417@gmail.com>
2022-01-07 11:58:53 +00:00
sentriz
9c1f9784be chore: upgrade sqlite 2022-01-05 13:50:55 +00:00
sentriz
907c94c595 chore: update deps 2022-01-05 12:42:24 +00:00
sentriz
c0ebd26422 fix: show artist covers (raw url in artist info, cover id elsewhere) via scanned guessed artist folder
closes #180
closes #179
2022-01-04 22:54:11 +00:00
Zach Myers
cb6b33a9fb feat: render local artist images for getArtistInfo2 2021-12-24 19:04:13 +00:00
sentriz
27ac8e1d25 fix: add stub getStarred views to shut up refix 2021-12-20 17:06:09 +00:00
sentriz
d9e8bd0d65 refactor(scanner): follow symlinks, move context, update mockfs
related #174
2021-12-20 16:51:26 +00:00
sentriz
62ccf01a3a unfunny the comments 2021-12-20 16:51:26 +00:00
sentriz
f9133aac91 fix(subsonic): route settings.view -> admin home 2021-12-20 16:51:26 +00:00
sentriz
155c8b4a8b readme: add multi folder support docs
closes: #172
2021-11-20 19:00:34 +00:00
sentriz
1b013e73cf delete scanner ErrStatingItem 2021-11-20 18:18:32 +00:00
sentriz
206db741b3 chore: bump docker go/alpine versions 2021-11-20 18:09:33 +00:00
sentriz
3d4dd9d7ad add some scanner benchmarks 2021-11-20 18:09:33 +00:00
sentriz
1d1ab116cd fix: make sure open cover and audio files are closed after use 2021-11-20 18:09:33 +00:00