|
|
@ -390,10 +390,10 @@ func start(asDaemon, firstCall bool) {
|
|
|
|
server := app.config.Section("jellyfin").Key("server").String()
|
|
|
|
server := app.config.Section("jellyfin").Key("server").String()
|
|
|
|
cacheTimeout := int(app.config.Section("jellyfin").Key("cache_timeout").MustUint(30))
|
|
|
|
cacheTimeout := int(app.config.Section("jellyfin").Key("cache_timeout").MustUint(30))
|
|
|
|
stringServerType := app.config.Section("jellyfin").Key("type").String()
|
|
|
|
stringServerType := app.config.Section("jellyfin").Key("type").String()
|
|
|
|
timeoutHandler := mediabrowser.NewNamedTimeoutHandler("Jellyfin", server, true)
|
|
|
|
timeoutHandler := mediabrowser.NewNamedTimeoutHandler("Jellyfin", "\""+server+"\"", true)
|
|
|
|
if stringServerType == "emby" {
|
|
|
|
if stringServerType == "emby" {
|
|
|
|
serverType = mediabrowser.EmbyServer
|
|
|
|
serverType = mediabrowser.EmbyServer
|
|
|
|
timeoutHandler = mediabrowser.NewNamedTimeoutHandler("Emby", server, true)
|
|
|
|
timeoutHandler = mediabrowser.NewNamedTimeoutHandler("Emby", "\""+server+"\"", true)
|
|
|
|
app.info.Println("Using Emby server type")
|
|
|
|
app.info.Println("Using Emby server type")
|
|
|
|
fmt.Println(warning("WARNING: Emby compatibility is experimental, and support is limited.\nPassword resets are not available."))
|
|
|
|
fmt.Println(warning("WARNING: Emby compatibility is experimental, and support is limited.\nPassword resets are not available."))
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|