Closed BEisem closed 6 years ago
I have also had a similar issue, I'm new to all this but when adding a video provider the following errors occur
[36mINFO[0m[2018-09-06T20:55:58+01:00] telly is preparing to go live (version=1.5.0, branch=HEAD, revision=110d00f4ce86ca36f33d140472a3d15488f7cb84)
[37mDEBU[0m[2018-09-06T20:55:58+01:00] creating webserver routes
[36mINFO[0m[2018-09-06T20:55:58+01:00] telly is live and on the air!
[36mINFO[0m[2018-09-06T20:55:58+01:00] Broadcasting from http://localhost:6077/
[36mINFO[0m[2018-09-06T20:55:58+01:00] EPG URL: http://localhost:6077/epg.xml
[31m2018/09/06 20:59:41 [Recovery] 2018/09/06 - 20:59:41 panic recovered:
POST /api/video_sources HTTP/1.1
Host: localhost:6077
Accept: application/json, text/plain, */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Connection: keep-alive
Content-Length: 127
Content-Type: application/json
Origin: http://localhost:6077
Referer: http://localhost:6077/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36
runtime error: index out of range
/usr/local/go/src/runtime/panic.go:502 (0x42d1b6)
/usr/local/go/src/runtime/panic.go:28 (0x42bf94)
/go/src/github.com/tellytv/telly/internal/videoproviders/m3u.go:73 (0xb27861)
/go/src/github.com/tellytv/telly/internal/videoproviders/m3u.go:25 (0xb266c3)
/go/src/github.com/tellytv/telly/internal/videoproviders/main.go:39 (0xb279a6)
/go/src/github.com/tellytv/telly/internal/api/video_source.go:32 (0xb6f42a)
/go/src/github.com/tellytv/telly/internal/api/utils.go:85 (0xb728e1)
/go/src/github.com/tellytv/telly/vendor/github.com/gin-gonic/gin/context.go:108 (0xa3be09)
/go/src/github.com/tellytv/telly/vendor/github.com/zsais/go-gin-prometheus/middleware.go:358 (0xb517d2)
/go/src/github.com/tellytv/telly/vendor/github.com/gin-gonic/gin/context.go:108 (0xa3be09)
/go/src/github.com/tellytv/telly/vendor/github.com/gin-gonic/gin/recovery.go:48 (0xa4d2d0)
/go/src/github.com/tellytv/telly/vendor/github.com/gin-gonic/gin/context.go:108 (0xa3be09)
/go/src/github.com/tellytv/telly/vendor/github.com/gin-gonic/gin/gin.go:361 (0xa441cc)
/go/src/github.com/tellytv/telly/vendor/github.com/gin-gonic/gin/gin.go:326 (0xa43a19)
/usr/local/go/src/net/http/server.go:2694 (0x729002)
/usr/local/go/src/net/http/server.go:1830 (0x725087)
/usr/local/go/src/runtime/asm_amd64.s:2361 (0x4579c0)
[0m
I'm adding an external MU3 file
I'm running this on windows 10
Issue was due to unexpected stream URLs in the Iris M3U. Now, if we have this issue, we will log the invalid line and continue with parsing (implemented at 1a9ef91f248515927468e4fc8fca318ecccdf193)
telly release with the issue:
telly, version 1.5.0 (branch: HEAD, revision: 110d00f4ce86ca36f33d140472a3d15488f7cb84) build user: root@c051c41c0081 build date: 20180906-08:27:00 go version: go1.10.3
Operating environment (Docker/Windows/Linux/QNAP, etc.):
MacOS 10.12.6
Description of problem:
When I try to add a video provider in the web ui, I get the following error in the terminal: