1179 Commits

Author SHA1 Message Date
612d43be11 fix: mockfs.go AbsPath()
Some checks failed
Release / Lint and test (push) Failing after 16m50s
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Release / Notify IRC (push) Has been skipped
Nightly Release / Check latest commit (push) Has been cancelled
Nightly Release / Lint and test (push) Has been cancelled
Nightly Release / Build and release Docker image (push) Has been cancelled
2024-09-25 15:22:38 +08:00
a9b565f948 Merge remote-tracking branch 'origin/master'
Some checks failed
Release / Lint and test (push) Failing after 17m48s
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Release / Notify IRC (push) Has been skipped
Nightly Release / Check latest commit (push) Successful in 9s
Nightly Release / Build and release Docker image (push) Has been skipped
Nightly Release / Lint and test (push) Has been skipped
Conflicts:
	scanner/scanner.go
2024-09-18 17:41:40 +08:00
Nadia Santalla
ac798ac2d2 fix(playlist): fix non-admin users not being able to create playlists (#524)
* fix(playlist): fail early if playlist path is a directory

* fix(playlist): check error before assuming playlist loaded
2024-09-15 14:57:23 +00:00
brian-doherty
bcb613c79c feat(transcode): add cache pruning and config options
* Added config option to set size of transcode cache and cadence to enforce that sizing via ejection.

* Added cache eject to contrib/config.

* Added error return for CacheEject(). Changed to use WalkDir() instead of Walk().

* Lint fix.

* Added universal lock for cache eject.

* Removed accidentally committed binary.
2024-09-15 14:04:28 +00:00
sentriz
bfa0e130d4 chore(deps): bump 2024-09-13 11:52:43 +01:00
sentriz
640d872f4c fix(ci): bump golangci-lint 2024-09-12 18:41:10 +01:00
sentriz
453639ee34 feat(scanner): use wrtag/coverparse for cover selection
later, gonic will also use wrtag/tags for tag parsing

closes #338
closes #516
2024-09-12 18:36:57 +01:00
sentriz
120fd7959a fix(ci): ignore gosec integer overflow conversion 2024-09-12 18:36:57 +01:00
sentriz
875a83ad4f chore: bump to go1.23 2024-09-12 18:30:40 +01:00
Nadia Santalla
fb36dbf719 fix(dockerfile): install abuild key (#526)
Without this, abuild refuses to run correctly.
2024-09-12 17:24:09 +00:00
sentriz
bbe16b7555 feat(subsonic): bump image cache expiration 2024-09-03 12:43:10 +01:00
sentriz
a1d929e486 chore(deps): bump 2024-07-13 17:19:45 +01:00
211e104535 typo
Some checks failed
Release / Lint and test (push) Failing after 17m37s
Release / Notify IRC (push) Has been skipped
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Nightly Release / Check latest commit (push) Successful in 17s
Nightly Release / Build and release Docker image (push) Has been skipped
Nightly Release / Lint and test (push) Has been skipped
2024-07-01 17:15:06 +08:00
15a13a149b fix: ffprobe length in unit (k)
Some checks failed
Release / Lint and test (push) Failing after 17m35s
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Release / Notify IRC (push) Has been skipped
2024-07-01 16:08:16 +08:00
02be9219b1 add ffprobe tag reader for webm, mp4, mkv
Some checks failed
Release / Lint and test (push) Failing after 17m42s
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Release / Notify IRC (push) Has been skipped
This is not well-tested tag reader. So FFProbe.Read() only success in
following condition:
- FFProbeScore == 100
2024-07-01 15:27:00 +08:00
e8e478f2aa feat: print request duration 2024-06-25 10:43:43 +08:00
8abe131f28 mark heimoshuiyu fork version string 2024-06-25 00:34:57 +08:00
8914c59978 Use file name for unknown tag title retrieval.
When taglib get empty or null title from file/album, use file name or
folder name as the tag_title field. It could be confuse to user, but at
leaset it is better than tracks/albums can't be search in ID3 mode API.
2024-06-24 16:21:04 +08:00
332f00ff7a feat: add cli args -db-log
I add a command-line arguments "-db-log" default to false. This help me
debug with the gorm SQL.
2024-06-24 14:54:43 +08:00
71ae1029e8 fead: cli args: -podcast-download default to false
This commit turns off the podcast download ability.
Because the podcast download routine will execute a DB query every 5
sec. To temporary fix the db pressure I add this command-line flag to
turn it off. I will be looking for a way to reduce DB pressure and
manually trigger eposide downloads later on.
2024-06-24 14:46:28 +08:00
b70979d2e0 transcode profile: add opus320, opus512
Some checks failed
Release / Lint and test (push) Failing after 18m13s
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Release / Notify IRC (push) Has been skipped
Nightly Release / Check latest commit (push) Successful in 15s
Nightly Release / Build and release Docker image (push) Has been skipped
Nightly Release / Lint and test (push) Has been skipped
2024-06-15 14:52:24 +08:00
853107fca6 cache cover in jpeg format
Some checks failed
Release / Lint and test (push) Failing after 26m31s
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Release / Notify IRC (push) Has been skipped
Nightly Release / Check latest commit (push) Successful in 14s
Nightly Release / Build and release Docker image (push) Has been skipped
Nightly Release / Lint and test (push) Has been skipped
2024-06-12 17:41:16 +08:00
cf5e87e62b feat: improve cover selection algorithm
Some checks failed
Release / Run Release Please (push) Blocked by required conditions
Release / Build, tag, and publish Docker image (push) Blocked by required conditions
Release / Notify IRC (push) Blocked by required conditions
Release / Lint and test (push) Has been cancelled
2024-06-11 18:26:44 +08:00
sentriz
0e45f5e84c feat(subsonic): expose replaygain tags 2024-05-30 11:43:45 +01:00
garfieldairlines.net
259be0edde docs: add example GONIC_EXCLUDE_PATTERN usage (#505)
+ regex examples for GONIC_EXCLUDE_PATTERN
2024-05-23 10:19:19 +00:00
Artem Tarasov
0d7d92d545 chore(docker): update to Alpine 3.19 (#502)
* update to Alpine 3.19

check out utfcpp (taglib2 dependency) from git, because Alpine 3.19
packages incompatible utfcpp 4.0, resulting in build failure

* use utfcpp package and specify the include path
2024-05-20 16:21:04 +00:00
sentriz
14c34c6052 2024-05-16 13:24:12 +02:00
sentriz
86fd590556 scanner: use create time if we have it 2024-05-15 17:07:44 +02:00
xxxserxxx
f5893ea5ea feat(playlist): assume playlists in the root dir without a user dir belong to admin (#499) 2024-05-01 15:32:51 +00:00
sentriz
559c9106b0 remove redundant handlerutil.Redirect 2024-04-28 13:32:41 +01:00
sentriz
6ba342c770 chore: bump deps 2024-04-28 13:32:40 +01:00
brian-doherty
93ce039963 feat(scanner): support full scan cleanups in watcher (#496)
* Added code to trigger rescan of entire tree upon file removal to clean as needed.

* Simplified ScanOptions initialization. Removed broken linter.

* gofmt fix
2024-04-21 00:04:53 +00:00
sentriz
38ab0b0929 fix podcast mkdir for podcast episode 2024-04-20 19:38:40 +01:00
sentriz
7b21e82aaf fix(admin): better handing of resolve proxy path escaping
fixes #493
2024-04-07 18:19:56 +01:00
sentriz
cc4c57be98 check errors when creating request
related #494
2024-04-07 17:53:45 +01:00
sentriz
8a0fa05c7c fix(taglib): support lower case filenames again
fixes #491
2024-04-04 10:05:48 +01:00
sentriz
99233ec318 use signal.NotifyContext when shutting down 2024-04-01 22:10:30 +01:00
sentriz
fc934c3653 chore: bump deps 2024-03-25 17:28:17 +00:00
github-actions[bot]
02189bb653 chore: release 0.16.4 (#486)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-20 21:19:59 +00:00
sentriz
81f8a7ec49 fix(subsonic): allow unlimited bitrate with no transcode setting configured
fixes #485

Release-As: 0.16.4
2024-03-20 21:15:54 +00:00
sentriz
62d49a33d1 feat: support internet radio stations for jukebox
fixes #481
2024-03-11 19:21:05 +01:00
sentriz
6ce1fe5a7e a 2024-03-11 19:10:53 +01:00
github-actions[bot]
6b8d6b7184 chore: release 0.16.3 (#420)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-09 19:30:39 +00:00
Senan Kelly
7cd1beec5c close taglib file after use 2024-03-09 03:35:52 +00:00
sentriz
88e58c055a feat(subsonic): return an error if maxBitRate requested with no user transcode preferences set 2024-03-01 18:18:01 +00:00
sentriz
02606087dc use context to stop main() jobs
use
2024-02-27 00:39:44 +00:00
sentriz
a66463a68c bump deps 2024-02-24 03:14:30 +00:00
sentriz
4853364259 bump deps 2024-02-22 23:41:14 +00:00
sentriz
bf5e4d4811 bump flagconf 2024-02-21 16:20:35 +00:00
sentriz
3ada74c4db feat: replace ff with with flagconf 2024-02-21 14:27:21 +00:00