Skip to content

Commit e44eff0

Browse files
committed
Add go.mod and go.sum. Require go v1.16
1 parent 884b427 commit e44eff0

File tree

12 files changed

+42
-11
lines changed

12 files changed

+42
-11
lines changed

go.mod

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module xteve
2+
3+
go 1.16
4+
5+
require (
6+
github.com/gorilla/websocket v1.4.2 // indirect
7+
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
8+
github.com/koron/go-ssdp v0.0.2 // indirect
9+
)

go.sum

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
2+
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
3+
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 h1:iQTw/8FWTuc7uiaSepXwyf3o52HaUYcV+Tu66S3F5GA=
4+
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod h1:1NbS8ALrpOvjt0rHPNLyCIeMtbizbir8U//inJ+zuB8=
5+
github.com/koron/go-ssdp v0.0.2 h1:fL3wAoyT6hXHQlORyXUW4Q23kkQpJRgEAYcZB5BR71o=
6+
github.com/koron/go-ssdp v0.0.2/go.mod h1:XoLfkAiA2KeZsYh4DbHxD7h3nR2AZNqVQOa+LJuqPYs=
7+
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
8+
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
9+
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
10+
golang.org/x/net v0.0.0-20200904194848-62affa334b73 h1:MXfv8rhZWmFeqX3GNZRsd6vOLoaCHjYEX3qkRo3YBUA=
11+
golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
12+
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
13+
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
14+
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884=
15+
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
16+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=

src/authentication.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"strings"
88

9-
"../src/internal/authentication"
9+
"xteve/src/internal/authentication"
1010
)
1111

1212
func activatedSystemAuthentication() (err error) {

src/data.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"strings"
1212
"time"
1313

14-
"../src/internal/authentication"
15-
"../src/internal/imgcache"
14+
"xteve/src/internal/authentication"
15+
"xteve/src/internal/imgcache"
1616
)
1717

1818
// Einstellungen ändern (WebUI)
+7-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
#EXTM3U url-tvg="http://example.com/file.xml" x-tvg-url="http://example.com/xteve.xml"
2-
#EXTINF:0 channelID="1" tvg-chno="1" tvg-name="Channel.1" tvg-id="tvg.id.1" tvg-logo="https://example/logo.png" group-title="Group 1",Channel 1
2+
#EXTINF:0 channelID="1" tvg-chno="1" tvg-name="Channel.1" tvg-id="tvg.id.1" tvg-logo="https://example/logo.png" group-title="Group 1", Channel 1
33
http://example.com/stream/1
44

55
#EXTINF:0 channelID="2" tvg-chno="2" tvg-name="Channel.2" tvg-id="tvg.id.2" tvg-logo="https://example/logo.png" group-title="Group 2",Channel 2
66
#123
77
http://example.com/stream/2
8+
9+
#EXTINF:123, Sample artist - Sample title
10+
http://example.com/stream/3
11+
12+
#EXTINF:321,Example Artist - Example title
13+
http://example.com/stream/4

src/m3u.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strconv"
1010
"strings"
1111

12-
m3u "../src/internal/m3u-parser"
12+
m3u "xteve/src/internal/m3u-parser"
1313
)
1414

1515
// Playlisten parsen

src/provider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
"time"
1010

11-
m3u "../src/internal/m3u-parser"
11+
m3u "xteve/src/internal/m3u-parser"
1212
)
1313

1414
// fileType: Welcher Dateityp soll aktualisiert werden (m3u, hdhr, xml) | fileID: Update einer bestimmten Datei (Provider ID)

src/struct-system.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package src
22

3-
import "../src/internal/imgcache"
3+
import "xteve/src/internal/imgcache"
44

55
// SystemStruct : Beinhaltet alle Systeminformationen
66
type SystemStruct struct {

src/update.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"io/ioutil"
88
"net/http"
99

10-
up2date "../src/internal/up2date/client"
10+
up2date "xteve/src/internal/up2date/client"
1111

1212
"reflect"
1313
)

src/webserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strconv"
1111
"strings"
1212

13-
"../src/internal/authentication"
13+
"xteve/src/internal/authentication"
1414

1515
"github.com/gorilla/websocket"
1616
)

src/xepg.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"strings"
1717
"time"
1818

19-
"../src/internal/imgcache"
19+
"xteve/src/internal/imgcache"
2020
)
2121

2222
// Provider XMLTV Datei überprüfen

xteve.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"runtime"
1414
"strings"
1515

16-
"./src"
16+
"xteve/src"
1717
)
1818

1919
// GitHubStruct : GitHub Account. Über diesen Account werden die Updates veröffentlicht

0 commit comments

Comments
 (0)