From 50e7125bce1dbad1160699308e848231e6e00841 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Thu, 12 Apr 2018 08:01:59 +0200 Subject: [PATCH] Get rid of extra code. --- plugins/icecast/output/instance.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/icecast/output/instance.go b/plugins/icecast/output/instance.go index 6a08f64..e04aa77 100644 --- a/plugins/icecast/output/instance.go +++ b/plugins/icecast/output/instance.go @@ -1,18 +1,14 @@ package icecast_output import ( - "bytes" "fmt" "io" "log" - "runtime" "git.icedream.tech/icedream/uplink/app/authentication" "git.icedream.tech/icedream/uplink/app/channels" - "git.icedream.tech/icedream/uplink/app/media" "git.icedream.tech/icedream/uplink/app/servers/http" "git.icedream.tech/icedream/uplink/app/streams" - humanize "github.com/dustin/go-humanize" "github.com/gin-gonic/gin" ) @@ -29,7 +25,6 @@ func (instance *pluginInstance) SetAuthenticator(authenticator authentication.Au func (instance *pluginInstance) SetChannelManager(channelManager *channels.ChannelManager) { instance.channelManager = channelManager - // TODO - handle channel and container closure } @@ -38,8 +33,6 @@ func (instance *pluginInstance) SetServer(server *httpserver.Server) { } func (instance *pluginInstance) Init() { - instance.ringBuffers = map[string]map[string]*rbuf.FixedSizeRingBuf{} - router := instance.server.Router router.GET("/:channel/:container", func(ctx *gin.Context) {