Commit Graph

762 Commits

Author SHA1 Message Date
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
Jef LeCompte
d2c9136b3a ci: use short hash 2021-05-11 08:43:48 +01:00
Senan Kelly
5a61fb4436 chore: release 0.13.1 2021-05-09 00:22:56 +01:00
sentriz
1f941b2085 fix(docker): bump alpine / go 2021-05-09 00:19:40 +01:00
Senan Kelly
4b3adf0f7f chore: release 0.13.0 2021-05-09 00:07:43 +01:00
sentriz
06226724b7 feat(ci): arm builds, push multiple registries
Release-As: 0.13.0
2021-05-09 00:03:37 +01:00
Jef LeCompte
c2c7eb249f feat(ci): use ghcr and auto release
- Pushes images to GitHub Container Registry (GHCR) to deprecate Docker Hub
- Auto releases for nightly
- Auto releases for new release
2021-05-08 23:56:40 +01:00
sentriz
e6b76915da fix: don't clutter db close in main 2021-05-08 18:37:55 +01:00
sentriz
58624f07dc feat(subsonic)!: don't return gonic version from responses 2021-05-08 18:37:55 +01:00
sentriz
e9743f0cb0 fix(ci): only test on go1.16 2021-05-08 18:37:55 +01:00
sentriz
a5650084d7 fix: trim newline from version 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
6a99cdf299 bump to v0.12.3
generated by `_do_bump_version` script in project root
2021-04-20 23:17:05 +01:00
sentriz
61e11471b3 Fix non-folder folder empty parent ids
fixes #134
introduced by 711ffe144f

id          updated_at                           modified_at                          left_path   right_path  right_path_u_dec  parent_id   cover       tag_artist_id  tag_title   tag_title_u_dec  tag_brainz_id  tag_year
----------  -----------------------------------  -----------------------------------  ----------  ----------  ----------------  ----------  ----------  -------------  ----------  ---------------  -------------  ----------
1           2021-04-20 22:04:31.437318349+01:00  2021-04-20 21:35:55.423563144+01:00              .
2           2021-04-20 22:04:31.437920005+01:00  2021-04-20 21:35:50.766896425+01:00              luke
3           2021-04-20 22:04:31.475871668+01:00  2021-04-20 21:35:11.526895985+01:00  luke/       (2003) Yos                    2           folder.jpe  1              YosepH                       cf497d42-736a  2003
4           2021-04-20 22:04:31.476325505+01:00  2021-04-20 21:35:55.423563144+01:00              beng
5           2021-04-20 22:04:31.511647498+01:00  2021-04-20 21:35:27.060229492+01:00  beng/       (2013) Cha                    4           folder.jpg  2              Chapter II                   bcafa993-f065  2013

->

id          updated_at                           modified_at                          left_path   right_path  right_path_u_dec  parent_id   cover       tag_artist_id  tag_title   tag_title_u_dec  tag_brainz_id  tag_year
----------  -----------------------------------  -----------------------------------  ----------  ----------  ----------------  ----------  ----------  -------------  ----------  ---------------  -------------  ----------
1           2021-04-20 22:22:55.368005558+01:00  2021-04-20 21:35:55.423563144+01:00              .                                                                                                                0
2           2021-04-20 22:22:55.331985959+01:00  2021-04-20 21:35:50.766896425+01:00              luke                          1                                                                                  0
3           2021-04-20 22:22:55.33148277+01:00   2021-04-20 21:35:11.526895985+01:00  luke/       (2003) Yos                    2           folder.jpe  1              YosepH                       cf497d42-736a  2003
4           2021-04-20 22:22:55.367693081+01:00  2021-04-20 21:35:55.423563144+01:00              beng                          1                                                                                  0
5           2021-04-20 22:22:55.36711045+01:00   2021-04-20 21:35:27.060229492+01:00  beng/       (2013) Cha                    4           folder.jpg  2              Chapter II                   bcafa993-f065  2013
2021-04-20 23:12:15 +01:00
Senan Kelly
e206dd25db Merge pull request #133 from Duncaen/original_year
scanner/tags: fix original date
2021-04-19 23:05:44 +01:00
Duncan Overbruck
ef86f5b094 scanner/tags: fix original date
Real tag is `originaldate` and matches TDOR from taglib in id3v2:
https://github.com/taglib/taglib/blob/1644c0dd/taglib/mpeg/id3v2/id3v2frame.cpp#L338

originalyear does not exist.
2021-04-19 16:18:12 +02:00
Senan Kelly
068b531a0b Merge pull request #132 from Duncaen/original_year
scanner/tags: prefer original_date over date
2021-04-18 23:55:55 +01:00
Duncan Overbruck
482c6f0e19 scanner/tags: prefer original_date over date 2021-04-18 23:58:56 +02:00
Sumner Evans
5d1aee79e6 update sublime-music link 2021-04-18 12:41:24 +01:00
sentriz
b17ce76a72 Set getUser.view jukebox/podcast role
closes #130
2021-04-18 12:34:54 +01:00
sentriz
e9cc2e8ea6 fix podcast nil ITunesExt and escape cover path with slash
Co-authored-by: Alex McGrath <amk@amk.ie>
2021-03-30 21:41:22 +01:00
sentriz
e7d4b857f7 sanitise password in logs 2021-03-23 21:15:56 +00:00
sentriz
51dc407f2e Add PodcastEpisodeStatusError 2021-03-04 19:38:34 +00:00
sentriz
3c926aab99 use enum for PodcastEpisodeStatus and PodcastAutoDownload 2021-03-04 19:38:34 +00:00
Alex McGrath
512d967dfa Add updated assets 2021-03-04 19:38:34 +00:00
Alex McGrath
10fca91785 Add download all button and include options to automatically download new episodes 2021-03-04 19:38:34 +00:00
Duncan Overbruck
2a11017d54 add flag (-http-log) to disable http request logging 2021-02-27 18:26:37 +00:00
sentriz
7d420f61a9 bump to v0.12.2
generated by `_do_bump_version` script in project root
2021-02-19 00:11:20 +00:00
sentriz
bcd7886484 fix download episode 2021-02-19 00:10:47 +00:00
sentriz
07f77bf107 bump to v0.12.1
generated by `_do_bump_version` script in project root
2021-02-18 12:26:35 +00:00
Alex McGrath
f7772303b0 Fix podcasts with / in the name 2021-02-18 12:18:35 +00:00
sentriz
87cd303257 update readme for offical arm builds 2021-02-09 20:09:25 +00:00
sentriz
d31ec7f666 [test] setup binfmt in qemu action 2021-02-09 01:12:08 +00:00
sentriz
f73e1a0c99 [test] arm build 2021-02-08 23:18:53 +00:00
sentriz
31ee0fe8bc [test] arm build 2021-02-08 23:05:28 +00:00
sentriz
bfaeadfb09 [test] docker base image platform 2021-02-07 00:56:07 +00:00
sentriz
524ea5a476 Fix podcats GetPodcastEpisodes 2021-02-06 22:06:58 +00:00
sentriz
9049bfa6aa setup qemu for arm build action 2021-02-06 19:23:26 +00:00
sentriz
fab02aa307 split _do_build_server 2021-02-06 19:16:24 +00:00
Alex McGrath
76875de87b Fix feeds not updating if they dont contain a feedurl 2021-02-06 16:19:20 +00:00
Alex McGrath
b57860a967 make podcast audio finding more robust
this will check that if there is no type field in an enclosure that
the url ends with an audio filename, if none of these are true, itll
then check audio:content for an item and do those checks again.
2021-02-06 16:19:20 +00:00
ᗪєνιη ᗷυнʟ
8dba8eb924 add tini 2021-02-06 16:18:38 +00:00
David Florness
a5c1f43a93 List /podcasts as a volume in dockerfiles 2021-02-06 14:45:40 +00:00