Commit Graph

701 Commits

Author SHA1 Message Date
Serge Tkatchouk
24cbe8c0b2 Merge branch 'master' of github.com:sentriz/gonic into features/transcoding 2020-03-04 13:01:34 +08:00
sentriz
80d5c420dd scrobble with brainz trackid, not album id 2020-03-03 15:08:35 +00:00
Duncan Overbruck
4d3c78a677 ctrlsubsonic: add genre parameter support to getRandomSongs 2020-03-03 13:40:24 +01:00
Duncan Overbruck
16d9d00408 ctrlsubsonic: add getSongsByGenre view 2020-03-03 13:40:23 +01:00
Duncan Overbruck
a0d8e7c6df ctrlsubsonic: add byGenre to ServeGetAlbumListTwo 2020-03-03 13:40:23 +01:00
Duncan Overbruck
14d68f748c ctrlsubsonic: implement getGenres 2020-03-03 13:40:23 +01:00
Duncan Overbruck
ae31d4a893 scanner: add genre support 2020-03-03 13:40:23 +01:00
Duncan Overbruck
f03b615583 db: add genres table and genre id column to album and tracks 2020-03-03 13:40:23 +01:00
sentriz
754bc74bc7 bump to v0.7.5 2020-03-03 12:30:26 +00:00
Duncan Overbruck
2f563c3406 spec: add IgnoredArticles attribute to Index responses
This attribute is required as per spec and keeping it empty,
complies the spec as long as articles are not ignored while indexing.
In the future, this could maybe be a user setting that could be
supported.

With this change, the aurial client works now.

* https://shrimpza.github.io/aurial/
* https://github.com/shrimpza/aurial
2020-03-03 12:22:34 +00:00
Serge Tkatchouk
399f80a605 Make cache hit/miss messages mention the track 2020-03-03 19:28:15 +08:00
Serge Tkatchouk
16b9b31f6d Use detected bitrate when logging 2020-03-02 19:59:28 +08:00
Serge Tkatchouk
ec341a2888 Avoid fetching profile bitrate twice 2020-03-02 19:18:19 +08:00
Serge Tkatchouk
1b0dc01994 Change leftover "model" calls to new "db" calls 2020-03-02 19:18:01 +08:00
Serge Tkatchouk
de31de6864 Fix Bitrate type mismatch 2020-03-02 19:07:02 +08:00
sentriz
0733117aed wrap some encode errors 2020-03-02 19:04:01 +08:00
sentriz
c79524e44e move transcoding stuff to "encode" package 2020-03-02 18:31:13 +08:00
Serge Tkatchouk
3582d0a4a2 Also unexport streamTrack(), since it's only used in ctrlsubsonic 2020-03-02 17:36:33 +08:00
Serge Tkatchouk
b896574346 Implement client-preferred bitrate support in StreamTrack() 2020-03-02 17:35:59 +08:00
Serge Tkatchouk
a19ba1cf8b Add support for client-preferred streaming bitrate 2020-03-02 17:35:22 +08:00
Serge Tkatchouk
55014e264c "Unexport" encodeTrack()
It's only used by StreamTrack() anyway.
2020-03-02 17:35:22 +08:00
Serge Tkatchouk
bd5150e67f Make linters happy 2020-03-02 17:35:22 +08:00
Serge Tkatchouk
056747ec62 Switch "/stream" controller to new "encode or stream cache" function 2020-03-02 17:35:22 +08:00
Serge Tkatchouk
03cfd1ef7e Add "cache/encode" controller 2020-03-02 17:33:51 +08:00
Serge Tkatchouk
53971be2aa Extract client app name (needed for per-client quirks) 2020-03-02 17:33:51 +08:00
Serge Tkatchouk
e79003996e Add separate "Download" controller 2020-03-02 17:33:51 +08:00
Serge Tkatchouk
6488a354b6 Add cachePath variable and CLI option 2020-03-02 17:32:05 +08:00
Serge Tkatchouk
550fc04436 Prepare cache volume in Docker image 2020-03-02 17:31:02 +08:00
Serge Tkatchouk
1f82133516 Tune HTTP response timeouts, to allow "slow" FFmpeg to finish 2020-03-02 17:31:02 +08:00
Serge Tkatchouk
85e4f916d3 Add FFmpeg to worker container 2020-03-02 17:31:02 +08:00
Serge Tkatchouk
668a5bb011 Add xxhash for track cache hashing 2020-03-02 17:31:02 +08:00
Serge Tkatchouk
938ef6e63c Make builder image more cache-friendly 2020-03-02 17:31:02 +08:00
sentriz
3ec07cfded bump to v0.7.4 2020-03-01 21:12:54 +00:00
sentriz
6e0c891bcc render correct template for change password page
closes #40
2020-03-01 21:12:04 +00:00
sentriz
972bef5ad7 bump to v0.7.3 2020-02-25 20:42:49 +00:00
sentriz
b45b57c92e tidy mod file 2020-02-25 20:42:06 +00:00
MitaliBo
a9ad25e750 Update go.mod 2020-02-24 14:39:42 -08:00
sentriz
21d801130e update footer year 2020-02-23 04:32:29 +00:00
sentriz
8e374af629 bump to v0.7.2 2020-02-23 04:09:46 +00:00
sentriz
554a74cba5 fix user date format and create helper
closes #38
2020-02-23 04:09:02 +00:00
sentriz
3ced8221db bump to v0.7.1 2020-02-21 22:51:32 +00:00
sentriz
d502945b7f rename server vars 2020-02-21 17:55:50 +00:00
sentriz
7c170a68c2 add more omitempty changes 2020-02-21 17:55:30 +00:00
sentriz
9b8a35df00 dont ommit empty json lists 2020-02-21 03:28:56 +00:00
sentriz
526de91566 delete "model" 2020-02-21 02:53:25 +00:00
sentriz
09d67e854e bump to v0.7.0 2020-02-21 02:21:54 +00:00
sentriz
e8b0ea6713 add getRandomSongs
closes #33
2020-02-21 02:15:29 +00:00
sentriz
6de50dc865 set known mimetypes while streaming 2020-02-21 01:43:27 +00:00
sentriz
e9ca7fba64 refactor server creation 2020-02-21 01:19:21 +00:00
sentriz
b677af43f0 return more child counts and format sql 2020-02-21 00:00:43 +00:00