Commit Graph

82 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
e0b1603c00 feat(subsonic): update track play stats on scrobble instead of stream 2023-09-28 20:58:59 +01: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
sentriz
6f15589c08 feat!: bump to go1.16 and embed version 2021-05-08 18:37:55 +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
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
31b2b65ea6 move from pkg/errors to go1.13 errors 2020-05-01 21:35:24 +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
sentriz
256143a025 move senan.xyz/g/ to go.senan.xyz 2020-04-02 16:46:04 +01:00
sentriz
d954a60ec0 update to go1.14 2020-03-31 22:34:48 +01:00
Serge Tkatchouk
668a5bb011 Add xxhash for track cache hashing 2020-03-02 17:31:02 +08:00
MitaliBo
a9ad25e750 Update go.mod 2020-02-24 14:39:42 -08: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
69fcbd592a tidy up cmd main 2019-11-21 19:50:38 +00:00
sentriz
5444b328fd seperate routes, provide robust handler types, use mux 2019-07-31 15:11:46 +01:00
sentriz
3a4e0d9e2b use vanity url 2019-07-06 21:53:07 +01:00
sentriz
c9ca5b01b7 update deps 2019-06-27 22:12:26 +01:00