Commit Graph

350 Commits

Author SHA1 Message Date
sentriz
29e9abc1d4 scrobble with brainz trackid, not album id 2020-03-12 13:28:27 +00:00
Serge Tkatchouk
4db3d678c4 Make cache hit/miss messages mention the track 2020-03-12 13:27:53 +00:00
Serge Tkatchouk
ed610d36f6 Use detected bitrate when logging 2020-03-12 13:27:53 +00:00
Serge Tkatchouk
c9eb142c61 Avoid fetching profile bitrate twice 2020-03-12 13:27:53 +00:00
Serge Tkatchouk
1ab96f67b5 Change leftover "model" calls to new "db" calls 2020-03-12 13:27:53 +00:00
Serge Tkatchouk
e1c54a3484 Fix Bitrate type mismatch 2020-03-12 13:27:53 +00:00
sentriz
49194aa14e wrap some encode errors 2020-03-12 13:27:53 +00:00
sentriz
53ce82d6af move transcoding stuff to "encode" package 2020-03-12 13:27:52 +00:00
Serge Tkatchouk
3230c8b2cb Also unexport streamTrack(), since it's only used in ctrlsubsonic 2020-03-12 13:27:52 +00:00
Serge Tkatchouk
db7c965a65 Implement client-preferred bitrate support in StreamTrack() 2020-03-12 13:27:52 +00:00
Serge Tkatchouk
ca0ec6da15 Add support for client-preferred streaming bitrate 2020-03-12 13:27:52 +00:00
Serge Tkatchouk
1ac50b3e16 "Unexport" encodeTrack()
It's only used by StreamTrack() anyway.
2020-03-12 13:27:52 +00:00
Serge Tkatchouk
0024e3ef8b Make linters happy 2020-03-12 13:27:52 +00:00
Serge Tkatchouk
c22fb3d482 Switch "/stream" controller to new "encode or stream cache" function 2020-03-12 13:27:51 +00:00
Serge Tkatchouk
a3abdfca08 Add "cache/encode" controller 2020-03-12 13:27:51 +00:00
Serge Tkatchouk
e93d35445c Extract client app name (needed for per-client quirks) 2020-03-12 13:27:51 +00:00
Serge Tkatchouk
01b620cffb Add separate "Download" controller 2020-03-12 13:27:51 +00:00
Serge Tkatchouk
9f61e92487 Add cachePath variable and CLI option 2020-03-12 13:27:51 +00:00
Serge Tkatchouk
7c9c3e4ff1 Prepare cache volume in Docker image 2020-03-12 13:27:51 +00:00
Serge Tkatchouk
a5ab437dd6 Tune HTTP response timeouts, to allow "slow" FFmpeg to finish 2020-03-12 13:27:51 +00:00
Serge Tkatchouk
9493b8a6a3 Add FFmpeg to worker container 2020-03-12 13:27:50 +00:00
Serge Tkatchouk
dca85313ed Add xxhash for track cache hashing 2020-03-12 13:27:50 +00:00
Serge Tkatchouk
26e4430abc Make builder image more cache-friendly 2020-03-12 13:27:46 +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
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
sentriz
13d61db339 detent handler test gen 2020-02-20 13:18:03 +00:00