Commit Graph
67 Commits
Author SHA1 Message Date
BetaPictoris 6c8f5fa968 Added go-ldap dep 2023-08-06 00:43:20 -07: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
sentrizandcacko 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-dohertyandBrian 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
sentriz e5998dca02 move to audiotags 2019-06-11 13:44:17 +01:00
sentriz 188b52bc61 update to latest sentriz/taggolib 2019-06-07 17:13:40 +01:00
sentriz cb073a1da4 update taggolib version 2019-06-06 19:22:48 +01:00
sentriz c1cb45a6fb use github.com/sentriz/taggolib 2019-06-06 19:19:16 +01:00
sentriz 63f8889660 move from dhowden/tag to mdlayher/taggolib 2019-06-06 15:15:38 +01:00
sentriz 4d91bf2bda merge album and folder models 2019-06-04 15:27:37 +01:00
EdwardDowling ad5d2fcd49 Remove unused dependency I accidently added at some point. 2019-06-01 16:24:39 +01:00