Commit Graph

74 Commits

Author SHA1 Message Date
sentriz
d8f3d2af40 chore: upgrade deps 2023-10-25 19:12:51 +01:00
sentriz
ce991b4d85 use sync.Pool instead of bpool 2023-10-04 20:54:42 +01:00
sentriz
a669ba8598 delete oklog 2023-10-04 20:45:41 +01:00
Senan Kelly
e9accfb71f refactor: refactor controllers and use standard library (#385) 2023-09-30 21:40:51 +00:00
sentriz
658bae2b43 chore(build)!: bump to go 1.21
Release-As: 0.16.0
2023-09-10 16:16:23 +01:00
sentriz
3ac77823c3 feat(subsonic): add support for multi-valued album artist tags
closes #103

a

a

a

r

a

a

a

a

a

a

a

a

a

a
2023-09-10 14:05:32 +01:00
sentriz
623d5c3709 feat(tags): support multi valued tags like albumartists 2023-09-05 17:42:24 +01:00
brian-doherty
7d2c4fbb5c feat(podcast): parse podcast episode descriptions from HTML to plain text (#351) 2023-08-14 21:14:13 +00:00
Gregor Zurowski
b7a50ee9cb use testify for all tests (#319)
* Use Testify for all tests

* Terminate failing non-relaxed tests using `require`
2023-05-13 15:17:37 +00:00
Gregor Zurowski
bb8507a72f add unit tests for ListenBrainz scrobbler (#317)
* Access HTTP client via interface to allow for testing

* [Minor] Fix typo

* Add initial test cases for ListenBrainz scrobbler

* Fix linter error for insecure TLS in tests

* Use Testify for unit tests

* Move model into separate file

* Embed JSON responses into tests

* [Minor] Fix test function names
2023-05-13 12:10:11 +00:00
sentriz
222256cccb feat(admin): update stylesheet 2023-03-04 13:22:33 +00:00
sentriz
475749534f feat(subsonic): fetch artist images from lastfm opengraph
closes #295

Co-authored-by: cacko <alex@cacko.net>
2023-02-20 22:03:58 +00:00
sentriz
df932864d8 feat(server): recover from panics 2022-12-12 21:57:23 +00:00
sentriz
e1488b0d18 feat(jukebox): use mpv over ipc as a player backend 2022-11-16 19:40:40 +00:00
sentriz
385a980b71 chore!: upgrade deps and require go 1.19 2022-11-16 19:40:40 +00:00
brian-doherty
ea28ff1df3 feat(scanner): add option to use fsnotify based scan watcher (#232)
* First cut at fsnotify support. Tested on Linux.

* Fixed bug in logging.

* Fixed lint issues.

* Added new scan watcher option to README.md

* Inverted conditional and dedented following code as per PR discussion.

* Changed command line switch and error return on ExecuteWatch() as per GH comments.

* Scan watcher: Removed scan at first start. Modified watcher to set a 10 second timer and then process in bulk.

Co-authored-by: Brian Doherty <brian@hplaptop.dohertyfamily.me>
2022-10-08 15:47:35 +01:00
Brian Doherty
5e66261f0c feat(subsonic): add avatar support
closes: #228
2022-07-20 23:18:35 +01:00
sentriz
165904c2bb feat(transcode): add a generic transcoding package for encoding/decoding/caching 2022-04-13 01:10:46 +01:00
sentriz
3d377372f7 chore: upgrade deps 2022-02-09 19:50:28 +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
e10c8bafdf refactor: remove godirwalk dep 2021-11-20 18:09:33 +00:00
sentriz
1d9883edbc chore: upgrade deps 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
alex
393813665a feat(jukebox): reduce complexity and update dependencies (#154)
* feat(jukebox): reduce jukebox code complexity

This removes an unessecary channel, but this is still pretty bad

* feat(jukebox): update flac/beep/oto so flac seeking works
2021-09-09 19:08:05 +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
Alex McGrath
9c4286b0e2 add support for subsonic podcast api 2021-02-03 20:45:30 +00:00
sentriz
dfefd9e616 delete old track_genre and album_genre tags while scanning 2021-01-03 18:15:16 +00:00
sentriz
5ebb135e8c bump docker version, go versions 2021-01-03 18:15:16 +00:00
Duncan Overbruck
ae98a18b52 add album cover scaling and caching 2020-07-24 20:56:07 +01:00
sentriz
9ed336242d tidy mod 2020-06-06 18:13:45 +01:00
sentriz
4f519d71ed add param parsing methods
related: #41
2020-06-06 18:13:45 +01:00
sentriz
79ad61eeb1 update deps 2020-05-19 19:19:28 +01:00
Aaron Bieber
b84ec1e16d bump deps to allow building on OpenBSD 2020-05-19 13:55:30 +01:00
sentriz
2ee1b4d978 abstract away some of the encode internals 2020-05-08 18:42:45 +01:00
sentriz
07a222d8df update gorm 2020-05-01 02:04:49 +01:00
sentriz
f52ce807af upgrade sqlite3 2020-04-25 01:55:46 +01:00
sentriz
1ff5845a02 refactor server startup into jobs 2020-04-18 19:35:15 +01:00
Alex McGrath
64d0aee8dc Add support for the jukebox endpoint
This supports most of jukeboxControl.view as far as i can tell. Things
seem to be playing ok without freaking out

I've also only tested it a little bit with ultrasonic but it does
appear to be working pretty well
2020-04-17 23:20:06 +01:00
Serge Tkatchouk
668a5bb011 Add xxhash for track cache hashing 2020-03-02 17:31:02 +08:00
sentriz
b45b57c92e tidy mod file 2020-02-25 20:42:06 +00:00
sentriz
8251f399f8 add init migrattions 2020-02-19 23:00:30 +00:00
sentriz
bdee11dfb6 consider symlinks to directories when pushing to scan stack
https://github.com/karrick/godirwalk/pull/45
https://github.com/sentriz/gonic/issues/27
2020-01-28 23:54:55 +00:00
sentriz
fd098f60d6 show version in cli and web 2019-11-27 15:42:03 +00:00
sentriz
5444b328fd seperate routes, provide robust handler types, use mux 2019-07-31 15:11:46 +01:00
sentriz
c9ca5b01b7 update deps 2019-06-27 22:12:26 +01:00
sentriz
d8881bd31c refactor asset with embed tool 2019-06-26 13:57:30 +01:00
sentriz
e6c6d2406f clean up templates 2019-06-25 13:38:05 +01:00
sentriz
58a4558d5b refactor templates 2019-06-24 21:40:48 +01:00
sentriz
895d27378f move to goresources and add build scripts 2019-06-24 13:47:32 +01:00