Also unexport streamTrack(), since it's only used in ctrlsubsonic
This commit is contained in:
@@ -29,7 +29,7 @@ var (
|
||||
bufLen = 4096
|
||||
)
|
||||
|
||||
func StreamTrack(w http.ResponseWriter, r *http.Request, trackPath string, client string, clBitrate int, cachePath string) {
|
||||
func streamTrack(w http.ResponseWriter, r *http.Request, trackPath string, client string, clBitrate int, cachePath string) {
|
||||
// Guess required format based on client:
|
||||
profileName := detectFormat(client)
|
||||
profile := encProfiles[profileName]
|
||||
|
||||
Reference in New Issue
Block a user