Commit Graph
100 Commits
Author SHA1 Message Date
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 53a4247dfd feat(subsonic): add year and genre fields to track-by-folder response
fixes #223
2022-05-18 22:01:47 +01:00
sentriz 668c334f45 remove redundant lastfm user session check 2022-05-18 22:01:00 +01:00
sentriz 4fce8e67ce log bad scrobble responses
related #219
2022-05-15 15:02:15 +01:00
sentriz e883de8c95 fix(listenbrainz): set json header
closes #216

related https://github.com/sentriz/gonic/issues/216
related https://github.com/krateng/maloja/issues/141
2022-05-02 14:52:31 +01:00
sentriz dc4d9e4e96 feat(subsonic): add detailed logging about requested audio
closes #212
2022-04-21 01:31:37 +01:00
sentriz 6bebceccd9 delete guess expected size feature
it it doing some really bad guesses for opus files
2022-04-21 00:47:39 +01:00
sentrizandBrian Doherty 4658d07273 fix(lastfm): make a better guess at callback protocol when incoming connection is TLS
closes: #213

Co-authored-by: Brian Doherty <brian.r.doherty@gmail.com>
2022-04-20 23:11:20 +01:00
sentrizandBrian Doherty 611bc96e29 fix(podcast): add error case for when DownloadEpisode is called via API and podcast is already downloaded
closes: #213

Co-authored-by: Brian Doherty <brian.r.doherty@gmail.com>
2022-04-20 23:11:13 +01:00
sentriz 8b803ecf20 refactor: move shared packages up a level 2022-04-13 01:10:46 +01:00
sentriz 165904c2bb feat(transcode): add a generic transcoding package for encoding/decoding/caching 2022-04-13 01:10:46 +01:00
sentriz fd211d706a refactor(countrw): move to iout 2022-04-12 23:38:44 +01:00
sentriz d7655cb9d1 fix(subsonic): change order of fromYear toYear query
closes #208
2022-04-02 18:04:57 +01:00
sentriz 01747c8940 fix(scanner): make sure we have an album artist before populating track
if we return early before i == 0 we mightn't have one

fixes #209
2022-04-02 18:03:14 +01:00
sentriz a8e50c4a01 don't log listenbrainz scrobble errors
we're already logging at the subsonic level
2022-03-24 00:11:11 +00:00
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
sentrizandBrian Doherty 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
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
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
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
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
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
sentrizandb-levin 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
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
sentriz e10c8bafdf refactor: remove godirwalk dep 2021-11-20 18:09:33 +00:00
sentriz fc50f01de3 check ServeStream track errors 2021-11-14 16:56:10 +00:00
sentriz 7ec6440ed2 fix: render artistId in track types
fixes #170
2021-11-12 20:14:57 +00:00
sentriz 870bec7d56 add scanner.scanDir 2021-11-10 19:12:39 +00:00
sentriz 43a929c36a make multierr errors private 2021-11-10 19:12:39 +00:00
sentriz 0c790442f4 fix: show artist album count when searching by tags 2021-11-10 19:12:39 +00:00
sentriz 48c34fdffc fix(ci): set golangci-lint timeout 2021-11-10 00:34:38 +00:00
sentriz b2388e6d85 feat: log all folders while scanning 2021-11-10 00:22:25 +00:00
Senan KellyandGitHub 96f693f4e4 make musicFolderIds ints (#169)
* make `musicFolderId`s ints

https://github.com/sentriz/gonic/issues/50#issuecomment-963257103
https://github.com/einsteinx2/iSubMusicStreamer/blob/006c1dafee6b926fde9d775cb0e64011a4662853/Classes/Models/API%20Models/MediaFolder.swift#L16

related #50

* add a test for multi folders and reused artists
2021-11-09 00:23:32 +00:00
sentriz a59c030385 add a hint about regenerating ctrlsubsonic tests 2021-11-08 19:32:27 +00:00
sentriz 1d9883edbc chore: upgrade deps 2021-11-06 21:56:01 +00:00
sentriz 40cd031b05 feat: add multi folder support
closes #50
2021-11-06 21:56:01 +00:00
sentriz fa587fc7de refactor: update scanner, scanner tests, mockfs
closes #165
closes #163
2021-11-06 21:55:46 +00:00
sentriz b07b9a8be6 fix: don't send listenbrainz playing_now and submitted_at at the same time
fixes #168
2021-11-06 16:19:13 +00:00
sentriz 4781a744ca log listenbrainz scrobble response 2021-11-06 15:21:33 +00:00
sentriz 98cab93557 add some logging to ServeScrobble 2021-11-05 17:37:55 +00:00
sentriz c31b3b8d1f use time.Time in scrobbler interface 2021-10-13 06:30:14 +01:00
sentriz df85d82137 params: add time helper 2021-10-13 06:30:14 +01:00
sentriz 82d8a57aab log scrobbling errors
related https://github.com/sentriz/gonic/issues/162
2021-10-12 19:00:35 +01:00
Senan KellyGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ea141cf7d0 chore: release 0.14.0 (#141)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-03 21:14:25 +01:00
sentriz f50817a3dc fix(scanner): update changed cover files when scanning
fixes: #158
2021-10-03 21:00:37 +01:00
sentriz 3b975c6780 trim version text 2021-09-25 11:15:09 +01:00
sentriz ef5920ea78 docs: use go install 2021-09-15 10:52:23 +01:00
sentriz 0edee132ed refactor(encode): use a replaygain enum 2021-09-13 17:02:05 +01:00
sentriz 93608d04b4 fix(scanner): refactor a bit and fix the issue of repeatedly adding and removing tracks 😎
fixes #26
fixes #63
2021-09-10 21:00:10 +01:00
sentriz 569f62c08c refactor(scanner): don't be fancy with the clean funcs 2021-09-09 22:04:14 +01:00
sentriz 47b7363eb1 doc: remove microbadger 2021-09-06 20:10:26 +01:00
sentriz 212a13395d fix: return early before type switch in ServeStream
related #152
2021-08-23 21:31:49 +01:00
sentriz b56f00e9ac feat: support filter by genre in browse by folder mode 2021-08-23 21:31:38 +01:00
sentriz 6e2d4f73c5 feat: support filter by year in browse by folder mode 2021-08-23 21:31:31 +01:00
sentriz ccc0e3c58d fix(build): add zlib 2021-07-01 21:15:28 +01:00
sentriz c0ca6aaf03 fix(scanner): spawn interval scans in a goroutine
this way, if the average scan takes longer than the tick interval, the ticker will be unblocked and scans won't stack on top of each other

related #63
2021-06-28 21:37:32 +01:00
sentriz 2780dba534 feat(ci): add debug build workflow 2021-06-17 22:48:01 +01:00
sentriz 6f269745a5 fix(ci): trim short hash 2021-05-12 19:44:08 +01:00
sentriz 8f7131e25b feat(ci): pin golangci-lint version 2021-05-12 19:42:06 +01:00
sentriz 608504bedc feat(ci): use GITHUB_TOKEN for release please
this way, the lint action on pull request will not be triggered
(for a small change like changelog/version.txt it seems like a bit much,
since the lint has already passed for release-please to have run)
2021-05-12 19:40:41 +01:00
sentriz cd5771f886 feat(ci): test before release please, and only run extra tests on develop and pull request 2021-05-12 19:19:31 +01:00
sentriz ef6dd6c82a fix(docs): update ubuntu / systemd service instructions
fixes #126
2021-05-12 00:05:13 +01:00
sentriz 3cf3bdafd8 fix: show "gonic" not version in --help 2021-05-11 22:48:46 +01:00
sentriz 3382af72f1 fix(ci): remove deprecated linters 2021-05-11 21:45:01 +01:00
sentriz f3bc3ae789 feat: create cache directory on startup
the flag is still required - but the path need not exist

the folder will eventually be created by one of

		if err := os.MkdirAll(cacheDirAudio, os.ModePerm); err != nil {
		if err := os.MkdirAll(cacheDirCovers, os.ModePerm); err != nil {

fixes #127
2021-05-11 21:38:11 +01:00
sentriz 4637cf70c1 fix: trim newlines when rendering flag values
so the default genre split doesn't break the table
2021-05-11 21:34:11 +01:00
Senan Kelly 5a61fb4436 chore: release 0.13.1 2021-05-09 00:22:56 +01:00