yaemiku
eccc957fd1
Merge branch 'master' into ldap_auth
Nightly Release / Check latest commit (push) Successful in 6s
Nightly Release / Lint and test (push) Has been skipped
Nightly Release / Build and release Docker image (push) Has been skipped
2025-10-12 11:06:18 +02:00
sentriz
2fcba12650
wire tag.Reader to subsonic Controller
2025-09-29 18:24:10 +01:00
yaemiku
6fba25ca0b
ldap login logic, subsonic api hex encrypted password
2025-09-21 08:02:10 +02:00
yaemiku
e5c192c83c
Merge branch 'master' into ldap_auth
2025-09-21 06:37:41 +02:00
./daniele
db97bc753e
feat(subsonic): add support for lyrics ( #519 )
...
* Add songLyrics extension since the getLyricsBySongId method is implemented
* Add support for lyrics
* Add check for getLyrics function
* fix typo
* chore: fix tests
* fix(lyrics): if lrc is formatted with empty spaces remove them
* fix(lint): use NewError correctly
bump ts
2025-08-26 11:09:00 +01:00
Daniel Hall
6ca68b2c26
Only allow use of subsonic API with one auth method
2024-04-07 10:43:07 -07:00
Daniel Hall
b36f26e32a
Have LDAP read from config
2024-04-07 10:18:00 -07:00
Daniel Hall
6eddc2a1a9
Made withUser return a middleware and take dbc
2024-04-07 09:40:25 -07:00
Daniel Hall
408d325c2c
Move LDAP into a seperate file
2024-02-17 22:12:56 -08:00
Daniel
f8b0fbbfa2
Merge branch 'ldap_auth' into master
2024-02-15 10:59:33 -08:00
sentriz
314e9632d7
fix(playlist): return new playlist id for createPlaylist
...
fixes #464
2024-02-02 19:57:43 +00:00
Daniel
05149961b5
Used log to log instead of fmt
2023-12-08 23:15:10 -08:00
Daniel
84e29da258
Merge branch 'master' into ldap_auth
2023-12-08 23:12:25 -08:00
Daniel
df42923f7b
Made LDAP query log message match others
2023-12-08 23:04:13 -08:00
Daniel
4799fb2441
Update go-ldap/ldap to v3
2023-12-01 12:31:24 -08:00
Daniel
322aa0747a
Made WithUser middleware private
2023-11-30 14:23:51 -08:00
sentriz
2edb1b8eda
feat: set global http timeouts except for streaming endpoints
...
related #411
Release-As: 0.16.2
2023-11-18 12:36:22 +00:00
Daniel
e770eaa07a
Fixed old references to use the new style
...
Readded goldap
Fixed `c.DB` to `c.dbc`
Fixed `WithUser`
2023-11-10 13:58:33 -08:00
Daniel
a24b7c07cb
Merge branch master into ldap_auth
2023-11-10 13:47:47 -08:00
sentriz
cc1a99f033
feat(subsonic): add getAlbumInfo with cache
...
Release-As: 0.16.1
2023-11-07 23:43:11 +00:00
sentriz
95bc919377
don't backtick quote stuff
2023-10-19 02:17:39 +01:00
sentriz
315c4f834e
lint
2023-10-04 21:03:41 +01:00
sentriz
97e9675dca
reorg packages
2023-10-04 20:52:06 +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
Senan Kelly
f119659acf
refactor scrobblers ( #383 )
...
- no need to explicitly pass api key
- move packages up a level
- catch more errors by extended scrobbler interface with IsUserAuthenticated
- move interface to server
- delete scrobbber package, clients implicitly satisfy Scrobble
this also helps with gonic-lastfm-sync
2023-09-27 00:13:00 +00:00
sentriz
e3dd812b6c
feat(ci): add a bunch more linters
2023-09-22 19:05:55 +02:00
sentriz
05a81a809a
move artistinfocache
2023-09-14 00:41:47 +01:00
sentriz
c374577328
feat(subsonic): cache and use lastfm responses for covers, bios, top songs
2023-09-13 21:30:57 +01:00
sentriz
b3199de967
remove a whole pile of startup indirection
...
fixes #360
2023-09-12 00:41:01 +01:00
Gregor Zurowski
dbcccdc811
add initial Last.FM tests ( #329 )
...
* Move model into separate file
* Separate Last.FM client and scrobbler
* Use separate Last.FM client and scrobbler
* Fix playcount attribute name
* Add initial test for Last.FM client
2023-05-20 11:24:03 +00:00
Senan Kelly
74de06430a
refactor: consolidate specid <-> filesystem mapping and always use abs paths ( #309 )
2023-04-22 17:23:17 +00:00
sentriz
7e097c9bdf
feat: allow for custom music folder path alias
...
closes #259
2022-11-21 20:51:26 +00:00
sentriz
131e56b3e6
refactor(subsonic): don't make getMusicFolder a method of ctrl
2022-11-02 22:21:19 +00:00
dertasiu
6e6404af73
feat(subsonic): return transcoded mime and transcoded suffix in subsonic responses
...
fixes #106
* Added support to TranscodedContentType and TranscodedSuffix
* Make sure that we have a profile
* Fix linting
* Fixed use of NewTCTrackByFolder instead of NewTrackByTags in handlers_by_tags.go
simplify a bit
2022-11-02 22:17:29 +00:00
sentriz
8b803ecf20
refactor: move shared packages up a level
2022-04-13 01:10:46 +01:00
sentriz
165904c2bb
feat(transcode): add a generic transcoding package for encoding/decoding/caching
2022-04-13 01:10:46 +01:00
sentriz
2440e69689
feat(subsonic): log error responses
2022-03-23 23:41:31 +00:00
Senan Kelly
96f693f4e4
make musicFolderIds ints ( #169 )
...
* make `musicFolderId`s ints
https://github.com/sentriz/gonic/issues/50#issuecomment-963257103
https://github.com/einsteinx2/iSubMusicStreamer/blob/006c1dafee6b926fde9d775cb0e64011a4662853/Classes/Models/API%20Models/MediaFolder.swift#L16
related #50
* add a test for multi folders and reused artists
2021-11-09 00:23:32 +00:00
sentriz
fa587fc7de
refactor: update scanner, scanner tests, mockfs
...
closes #165
closes #163
2021-11-06 21:55:46 +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
Alex McGrath
4443d7d0f5
move scrobblers into their own package
2021-01-12 11:26:36 +00:00
Alex McGrath
f4ff7e70f2
server/lastfm: make a scrobbler interface and migrate lastfm to use it
2021-01-12 11:26:36 +00:00
sentriz
dae1e03940
use a "CacheCover" folder for scaled covers
2020-07-24 20:56:07 +01:00
sentriz
4f519d71ed
add param parsing methods
...
related: #41
2020-06-06 18:13:45 +01:00
sentriz
b02ade3415
update golangci lint linter list
2020-05-02 04:22:26 +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
295bf5677f
make the "raw" handlers a bit more consistent
...
also, todo: think about deleting them
2020-04-25 03:17:50 +01:00