Commit Graph
46 Commits
Author SHA1 Message Date
sentriz 0f611d7f7a use track artists and album artists more appropriately
for example using track artists to find top songs, and returning artist
features in artist album lists
2023-11-07 22:49:43 +00:00
sentriz c1a34dc021 feat: store and expose individual track artists
a
2023-10-31 19:14:08 +00:00
sentriz 95bc919377 don't backtick quote stuff 2023-10-19 02:17:39 +01:00
Senan Kelly e9accfb71f refactor: refactor controllers and use standard library (#385) 2023-09-30 21:40:51 +00:00
sentriz e3dd812b6c feat(ci): add a bunch more linters 2023-09-22 19:05:55 +02:00
sentriz d9d234d826 show transcode meta info in more places 2023-09-14 23:56:56 +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
brian-dohertyandBrian Doherty 7982ffc0b4 feat(subsonic): change frequent album list to use total time played per album instead of play count. (#331)
Co-authored-by: Brian Doherty <brian@mediaserver.dohertyfamily.me>
2023-06-29 21:11:15 +00:00
brian-dohertyandBrian Doherty cbab68b057 feat(subsonic): improve search2 and search3 when there are multiple words searched on. (#335)
Co-authored-by: Brian Doherty <brian@mediaserver.dohertyfamily.me>
2023-06-29 20:59:22 +00:00
Gregor Zurowski 85eeb860bf feat(ci): update golangci-lint and action (#325)
* Update linter

- Update Github golangci-lint-action to v3
- Update golangci-lint to v1.52.2

* Fix linter issues after updating to linter 1.52.2
2023-05-19 12:05:14 +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
brian-doherty 692ec68282 fix(subsonic): correct album orderding in getAlbumList, add starred request type in getAlbumList 2022-10-27 18:41:13 +00:00
brian-dohertyandBrian Doherty e8759cb6c1 feat(subsonic): add support for track/album/artist ratings/stars
fixes #171
fixes #31

* Initial code. Compiles and passes unit tests.

* Moved average rating calculation from rating fetch to set rating function. Still only compiled and unit tested.

* Bug fixes

* Fixed bug in savePlayQueue. Removed unique_index for star / rating entries because it's not valid.

* Changed time format on stars to RFC3339Nano to match created date format.

* Lint fixes.

* More lint fixes.

* Removed add* functions and replaced with Preload.

* Fixed several bugs in handlers for getStarred and getStarred2.

* Fixed bug when using music folder ID.

Co-authored-by: Brian Doherty <brian@hplaptop.dohertyfamily.me>
2022-10-26 14:37:16 +01:00
brian-doherty 03df207e63 feat(subsonic): support dsub edgecase for queries by decade
* Found a podcast that returns 403 without a UserAgent string so I added one. URL is https://feeds.buzzsprout.com/132359.rss

* Fixed lint issues including needed error checking.

* DSub swaps fromYear and toYear so swap them back in that case. TBD -- fix the same logic in ServeGetRandomSongs
2022-09-13 13:46:33 +00:00
sentriz 6c94f194df rewrite "" search queries as `` 2022-07-22 14:13:01 +01:00
sentriz 4557a4ec33 rewrite "" search queries as ``
closes #229
2022-07-21 14:57:37 +01:00
sentriz 8b803ecf20 refactor: move shared packages up a level 2022-04-13 01:10:46 +01:00
sentriz d7655cb9d1 fix(subsonic): change order of fromYear toYear query
closes #208
2022-04-02 18:04:57 +01:00
sentrizandb-levin 14a2668426 feat: use album create time for home ui and album listings
closes #182
closes #135

Co-authored-by: b-levin <windrider417@gmail.com>
2022-01-07 11:58:53 +00:00
sentriz 27ac8e1d25 fix: add stub getStarred views to shut up refix 2021-12-20 17:06:09 +00:00
sentriz 7ec6440ed2 fix: render artistId in track types
fixes #170
2021-11-12 20:14:57 +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 40cd031b05 feat: add multi folder support
closes #50
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
sentriz b56f00e9ac feat: support filter by genre in browse by folder mode 2021-08-23 21:31:38 +01:00
sentriz 6e2d4f73c5 feat: support filter by year in browse by folder mode 2021-08-23 21:31:31 +01:00
sentriz f16f07b8a8 Update ServeGetAlbumList to reflect @Duncaen's changes 2020-07-24 14:29:02 +01:00
sentriz 431641b83a add getArtistInfo stub 2020-06-13 16:03:10 +01:00
sentriz b8ed413ed3 parse incoming ids in handlers 2020-06-06 18:13:45 +01:00
sentriz f4a1c3fb0c ctrlsubsonic: move to new param package 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 b02ade3415 update golangci lint linter list 2020-05-02 04:22:26 +01:00
sentriz 82fa77808f sort getMusicDirectory dir children by name
closes #61
2020-04-25 19:19:49 +01:00
sentriz e90f581966 ctrlsubsonic: sort getindexes and getartists views with COLLATE NOCASE
(hopefully) closes #61
2020-04-25 17:56:20 +01:00
sentriz f52ce807af upgrade sqlite3 2020-04-25 01:55:46 +01:00
sentriz 256143a025 move senan.xyz/g/ to go.senan.xyz 2020-04-02 16:46:04 +01:00
sentriz ed4f55a21f left join when counting parent's children 2020-03-20 14:15:21 +00:00
sentriz 03647176d4 clean up scanner cleanup 2020-03-14 16:41:28 +00:00
sentriz 3a8e5b9205 run gofumpt / format comments / comment blocks 2020-03-12 15:17:36 +00:00
sentriz b677af43f0 return more child counts and format sql 2020-02-21 00:00:43 +00:00
sentriz a42edc3441 move models into db package 2020-02-19 20:08:37 +00:00
sentriz 8e5d397082 add param abstraction to request context 2020-01-22 13:44:28 +00:00
sentriz c514f83cf7 clean up handler folder 2019-07-31 15:11:51 +01:00
sentriz 5444b328fd seperate routes, provide robust handler types, use mux 2019-07-31 15:11:46 +01:00