Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Do not try to copy logo if image does not exist on disk
Gabe Kangas9537dd30394e
diff --git a/build/release/build.sh b/build/release/build.shindex 5fe9fd7941..a4fc2fc07a 100755--- a/build/release/build.sh+++ b/build/release/build.sh@@ -116,4 +116,4 @@ docker build --build-arg NAME=docker --build-arg VERSION=${VERSION} --build-arg# Dockerhub# You must be authenticated via `docker login` with your Dockerhub credentials first.-docker push gabekangas/owncast+docker push "gabekangas/owncast:${VERSION}"diff --git a/core/core.go b/core/core.goindex 4e6dcd5fa6..458dc23750 100644--- a/core/core.go+++ b/core/core.go@@ -128,13 +128,12 @@ func resetDirectories() {log.Fatalln(err)}- // Remove the previous thumbnail- os.Remove(filepath.Join(config.WebRoot, "thumbnail.jpg"))-// Remove the previous thumbnaillogo := data.GetLogoPath()- err = utils.Copy(path.Join("data", logo), "webroot/thumbnail.jpg")- if err != nil {- log.Warnln(err)+ if utils.DoesFileExists(logo) {+ err = utils.Copy(path.Join("data", logo), filepath.Join(config.WebRoot, "thumbnail.jpg"))+ if err != nil {+ log.Warnln(err)+ }}}