sentriz
3cf3bdafd8
fix: show "gonic" not version in --help
2021-05-11 22:48:46 +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
sentriz
e6b76915da
fix: don't clutter db close in main
2021-05-08 18:37:55 +01:00
sentriz
0c871d888b
refactor(admin): use go1.16 embed for templates and assets
2021-05-08 18:37:55 +01:00
sentriz
6f15589c08
feat!: bump to go1.16 and embed version
2021-05-08 18:37:55 +01:00
sentriz
b17ce76a72
Set getUser.view jukebox/podcast role
...
closes #130
2021-04-18 12:34:54 +01:00
Duncan Overbruck
2a11017d54
add flag (-http-log) to disable http request logging
2021-02-27 18:26:37 +00:00
Alex McGrath
37fca3a087
add some podcast nit changes and make podcasts mandatory
2021-02-03 20:45:30 +00:00
Alex McGrath
9c4286b0e2
add support for subsonic podcast api
2021-02-03 20:45:30 +00:00
sentriz
de79b043e1
Add inital multiple artist support
2021-01-03 18:15:16 +00:00
sentriz
bfcdc2c2bb
prefix cmd/gonic conf vars
2020-11-12 17:19:04 +00:00
sentriz
c05b92d924
make linter happy
2020-07-24 20:56:07 +01:00
sentriz
dae1e03940
use a "CacheCover" folder for scaled covers
2020-07-24 20:56:07 +01:00
sentriz
06ffa7d0d3
bump api to 1.15.0
2020-06-06 20:52:23 +01:00
sentriz
fd96bfe6a8
periodically clean sessions
2020-05-19 19:19:47 +01:00
sentriz
c65606ba1f
add some go-critic suggestions
2020-05-07 04:31:47 +01:00
sentriz
3f9f050a7d
gonicembed: fix lint errors and refactor
2020-05-02 04:18:46 +01:00
sentriz
31b2b65ea6
move from pkg/errors to go1.13 errors
2020-05-01 21:35:24 +01:00
sentriz
a541f97cd8
lastfm: rename scrobbleopts scrobbleoptions
2020-05-01 17:51:45 +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
1ff5845a02
refactor server startup into jobs
2020-04-18 19:35:15 +01:00
sentriz
256143a025
move senan.xyz/g/ to go.senan.xyz
2020-04-02 16:46:04 +01:00
sentriz
22992c9941
fixup! run gofumpt / format comments / comment blocks
2020-03-20 02:48:51 +00:00
sentriz
3a8e5b9205
run gofumpt / format comments / comment blocks
2020-03-12 15:17:36 +00:00
sentriz
e0b790b6ec
make cache path on start
2020-03-12 01:25:23 +00:00
Serge Tkatchouk
6488a354b6
Add cachePath variable and CLI option
2020-03-02 17:32:05 +08:00
sentriz
e9ca7fba64
refactor server creation
2020-02-21 01:19:21 +00:00
sentriz
2e85c95018
support proxy prefix
2020-01-27 17:02:53 +00:00
sentriz
fa12cb4150
rename server options struct
2020-01-22 13:44:54 +00:00
sentriz
2abd3cf70b
add selfnames to version file
2020-01-21 13:40:39 +00:00
sentriz
8c1ba0d147
add -version flag
2019-11-27 15:56:54 +00:00
sentriz
fd098f60d6
show version in cli and web
2019-11-27 15:42:03 +00:00
sentriz
dd93aa5e74
add playlist support
2019-11-27 01:46:13 +00:00
sentriz
3b240fccb0
change default listen port to match docs
2019-11-24 03:28:30 +00:00
sentriz
a92074ecb4
add scan interval
2019-11-24 01:43:52 +00:00
sentriz
69fcbd592a
tidy up cmd main
2019-11-21 19:50:38 +00:00
sentriz
c75732868d
use servefile for streaming
2019-08-21 15:04:40 +01:00
sentriz
0fab58486d
parse env vars for scanner
2019-07-31 15:11:50 +01:00
sentriz
5444b328fd
seperate routes, provide robust handler types, use mux
2019-07-31 15:11:46 +01:00
sentriz
5a1d262d6b
add some comments about speed to gonicembed
2019-07-08 15:27:17 +01:00
sentriz
ba2f835c22
remove concept of prod and dev assets
...
instead always do the "prod" thing, but use entr for restarting the
server for all assets
2019-07-08 13:36:26 +01:00
sentriz
51b6565b91
use vanity url
2019-07-06 19:28:03 +01:00
sentriz
3af0c205ae
rm gonictest
2019-07-06 17:19:30 +01:00
sentriz
8239db3117
add second flash type
2019-07-06 16:49:28 +01:00
sentriz
b988600786
remove some old indexes
2019-07-05 15:48:04 +01:00
sentriz
a24b5bfb44
do one transaction per folder only
2019-07-03 15:56:26 +01:00
sentriz
dbe7f1fb62
migrate on both binaries
2019-07-03 13:11:06 +01:00