Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dev into master #279

Open
wants to merge 133 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
36bccaf
Extend m3u.Track to return line number and raw line
robbiet480 Aug 11, 2018
a1948f2
Checkpoint on internal overhaul of playlist/tracks/lineup/channels.
robbiet480 Aug 12, 2018
acbdd52
FIll PlaylistsCount
robbiet480 Aug 12, 2018
4cdf2a9
XMLTV/EPG parsing checkpoint
robbiet480 Aug 13, 2018
d7f66fa
XMLTV checkpoint
robbiet480 Aug 14, 2018
952cbc7
Checkpoint before redoing Lineup
robbiet480 Aug 15, 2018
35ba398
Checkpoint again. Too much to list, all good things
robbiet480 Aug 16, 2018
77985f9
Minor fixes around logging, XMLTV and more
robbiet480 Aug 16, 2018
3e09bbd
Checkpoint on Schedules Direct before migrating to new repo
robbiet480 Aug 16, 2018
f98a81c
Merge branch 'master' into internal-overhaul
robbiet480 Aug 16, 2018
356841a
Migrate to new repo
robbiet480 Aug 16, 2018
102cb5d
Finish hooking in SD
robbiet480 Aug 16, 2018
1d1562e
More Schedules Direct fixes
robbiet480 Aug 19, 2018
f41fff1
Update README
robbiet480 Aug 19, 2018
0c8d546
Update Gopkg.lock
robbiet480 Aug 19, 2018
02c0206
Fix XMLTV tests
robbiet480 Aug 19, 2018
7b34d39
Fix example.xml path
robbiet480 Aug 19, 2018
2c9f0bd
Update README.md
robbiet480 Aug 19, 2018
3976861
Allow xmltv/example.xml into Git
robbiet480 Aug 19, 2018
66fb277
Add option to ignore-epg-icons under misc
guyspr Aug 20, 2018
fdcaa93
Merge pull request #151 from guyspr/dev
robbiet480 Aug 20, 2018
309792d
Only initialize Schedules Direct if configured. Fixes #149
robbiet480 Aug 20, 2018
107d30a
FAQs
chazlarson Aug 21, 2018
983e15b
Merge pull request #153 from chazlarson/patch-3
robbiet480 Aug 21, 2018
a2fd742
Fixes for bad providers & gzip
robbiet480 Aug 21, 2018
e74ee76
Temporary fix for artwork nil issues
robbiet480 Aug 21, 2018
b407718
Change username/password replacement tokens
robbiet480 Aug 21, 2018
8f37761
Dont panic on empty tags
robbiet480 Aug 21, 2018
9f22c3a
Add Iris as a supported provider
robbiet480 Aug 21, 2018
f2c1a81
Lowercase tags
robbiet480 Aug 21, 2018
6d4f902
Add Area51 as a provider
robbiet480 Aug 21, 2018
a4d0dcb
Support including only specific channels
robbiet480 Aug 21, 2018
d824e2c
Possibly fix some weird <new /> behavior
robbiet480 Aug 21, 2018
54671b4
Maybe fix TV shows for Plex?
robbiet480 Aug 21, 2018
ba9beac
Cleanup .promu.yml, limit to certain platforms for crossbuild
robbiet480 Aug 21, 2018
51b3215
Update Gopkg.toml
robbiet480 Aug 21, 2018
fd01789
Bump version
robbiet480 Aug 21, 2018
6d8de55
Merge branch 'dev' of https://github.com/tellytv/telly into dev
robbiet480 Aug 21, 2018
906a1cf
Fix for <new> XMLTV tag
robbiet480 Aug 21, 2018
85a53b4
Improve logic around adding original-air-date
robbiet480 Aug 21, 2018
bf7b582
Add CORS headers for Angular
guyspr Aug 21, 2018
a8e1769
Merge pull request #155 from guyspr/dev
robbiet480 Aug 21, 2018
8ee7055
Add frontend
robbiet480 Aug 22, 2018
2130ad6
Initial ffmpeg support
robbiet480 Aug 22, 2018
3f5255c
Merge branch 'dev' of https://github.com/tellytv/telly into dev
robbiet480 Aug 22, 2018
f1de7f0
Update Gopkg
robbiet480 Aug 22, 2018
d0b9a70
Telly ffmpeg image
EnorMOZ Aug 23, 2018
8010240
Merge pull request #164 from EnorMOZ/dev
robbiet480 Aug 23, 2018
3ae6861
Add ffmpeg flag
chazlarson Aug 24, 2018
ad1c65b
Merge pull request #165 from chazlarson/patch-4
robbiet480 Aug 24, 2018
1f373f3
Add supported providers to comments
chazlarson Aug 24, 2018
de65fdb
Merge pull request #166 from chazlarson/patch-5
robbiet480 Aug 24, 2018
3a56ec2
Update readme
chazlarson Aug 24, 2018
8494e6a
Create ISSUE_TEMPLATE.md
chazlarson Aug 24, 2018
ce9a279
Delete ISSUE_TEMPLATE.md
chazlarson Aug 24, 2018
6fc91d9
Add note that M3U can be a file path.
chazlarson Aug 25, 2018
e2c2612
Fix some spelling
chazlarson Aug 26, 2018
b53eb05
Update README.md
chazlarson Aug 26, 2018
461b9a9
Update README.md
chazlarson Aug 26, 2018
77e7109
Note about pre-release status.
chazlarson Aug 27, 2018
a70def4
Update README.md
chazlarson Aug 27, 2018
b74eb4e
Clarify which sections are required
chazlarson Aug 27, 2018
498f4e9
Update README.md
chazlarson Aug 27, 2018
d4c4d48
Update README.md
chazlarson Aug 27, 2018
9d5f4a3
Update routes.go
BillOatman Aug 28, 2018
b1d58e9
Merge pull request #174 from BillOatman/patch-1
robbiet480 Aug 28, 2018
69197f8
Update to address minor bug in ffmpeg key handling
chazlarson Aug 28, 2018
5887001
Typo
chazlarson Aug 28, 2018
6351a17
Minor fixes for breaking changes in go.schedulesdirect
robbiet480 Aug 28, 2018
0d54e8d
More fixes for SD
robbiet480 Aug 28, 2018
3138d20
Spelling fixes
chazlarson Sep 1, 2018
466c741
Update README.md
chazlarson Sep 2, 2018
ac1d425
Note on key fields for multiple instances
chazlarson Sep 2, 2018
bd5dd3a
Update .circleci/config.yml to use dep so that we stop having build b…
robbiet480 Sep 3, 2018
632490f
Note about IPTV-EPG field names
chazlarson Sep 4, 2018
aad81cb
Update README.md
chazlarson Sep 4, 2018
c62d22a
Update README.md
chazlarson Sep 4, 2018
cec8d73
Fix XMLTV date parsing because Vaders doesnt know how to write dates …
robbiet480 Sep 5, 2018
774adb0
Update README.md
chazlarson Sep 30, 2018
54e03e8
Update Vaders URL
EinAuslander Oct 16, 2018
3b9b551
Update README.md
chazlarson Nov 19, 2018
567f906
Merge pull request #214 from EinAuslander/dev
chazlarson Jan 2, 2019
712ef5b
bump version to 1.1.0.5
chazlarson Jan 6, 2019
baaa9f5
Add a log line in a situation that might indicate a missing config file.
chazlarson Jan 21, 2019
3af2327
Add a couple more targets
chazlarson Jan 21, 2019
9557c96
Build using the same mechanism as the makefile so the docker build ha…
chazlarson Jan 21, 2019
e1455f0
Update README.md
chazlarson Jan 23, 2019
0d28df6
Update tnt.go
chazlarson Feb 18, 2019
3c289e8
hdhr device ids are alpha numeric
tmm1 May 6, 2019
21314c0
Merge pull request #245 from tmm1/device-id-alphanum
robbiet480 May 6, 2019
475e91b
remove HDHomerun prefix from friendly name
tmm1 May 6, 2019
bb437da
Use friendly name directly (#244)
robbiet480 May 6, 2019
1a1e28c
Removed references to the late, lamented Vader Streams.
May 6, 2019
95b857f
Merge pull request #246 from tellytv/no-more-vader
robbiet480 May 6, 2019
d580a94
set content type for ffmpeg stream
tmm1 May 7, 2019
cd748dc
remove unused ffmpeg option
tmm1 May 7, 2019
ab996ad
Merge pull request #248 from tmm1/ffmpeg-remux
chazlarson May 7, 2019
32492c6
Merge pull request #247 from tmm1/stream-content-type
chazlarson May 7, 2019
c66579a
replace dep with go mod
tmm1 May 7, 2019
7f224fc
update dependencies
tmm1 May 7, 2019
c5ccca9
fix test failure
tmm1 May 7, 2019
308e3d1
GOPATH not required anymore
tmm1 May 7, 2019
7beaff7
Modernize golang dev environment (#249)
robbiet480 May 8, 2019
61d35e6
fix version number configuration to be compatible with go modules
tmm1 May 9, 2019
0370e62
Merge pull request #250 from tmm1/fix-promu
robbiet480 May 9, 2019
dafac1f
Bump version number to 1.1.0.6
May 9, 2019
48b965a
updated go.mod, go.sum
May 9, 2019
741108c
Use standard crossbuild for docker build instead of spinning up a doc…
May 9, 2019
781979d
Support multicast streams through udpxy in the custom provider (#238)
5Ub-Z3r0 May 25, 2019
9eb5e99
ensure that ffmpeg processes are reaped to prevent zombies (#262)
tmm1 Oct 10, 2019
61e41a7
Remove -re from ffmpeg command (#267)
iMiMx Jan 12, 2020
e1d1d23
Remove references to non-Custom providers.
Jan 12, 2020
3a80982
Add a few more filetypes to ignore.
Jan 12, 2020
2565f2d
Issues #185, #265
Jan 12, 2020
e0f8ac5
Trimmed build platforms
Jan 12, 2020
a9fc521
tarballs require crossbuild
Jan 12, 2020
b3d502a
bump version
Jan 12, 2020
5820525
basic fix for crash on negative 'stop' times in XML
Jul 4, 2020
c3df926
add suggestion to check the filter if 0 channels are loaded
Jul 4, 2020
fcbed92
add lineup URL to startup logging
Jul 4, 2020
96424a4
bump version
Jul 4, 2020
9acd8da
Merge branch 'master' into dev
chazlarson Nov 11, 2020
f43e486
Fix merge mikstake
chazlarson Nov 11, 2020
6208fd1
More robust URI parsing in M3U files (#286)
mulbc Nov 2, 2021
55cf6b2
Update README.md
chazlarson Feb 3, 2022
a6a5040
Create go.yml
chazlarson Nov 30, 2023
4eb58f8
Change ffmpeg command
chazlarson Nov 30, 2023
afc5bbc
Delete .github/workflows/go.yml
chazlarson Nov 30, 2023
8f3e394
do nothing
chazlarson Nov 30, 2023
15d6b72
disable circleci
chazlarson Nov 30, 2023
694d4fd
Create go.yml
chazlarson Nov 30, 2023
53ddaa8
Create go-2.yml
chazlarson Nov 30, 2023
325ffcb
go 1.20, remove many platforms.
chazlarson Nov 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .circleci/config.yml

This file was deleted.

117 changes: 117 additions & 0 deletions .github/workflows/go-2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Latest Release

defaults:
run:
shell: bash

jobs:
lint:
name: Lint files
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.20'
- name: golangci-lint
uses: golangci/golangci-lint-action@v2.5.2
with:
version: latest
test:
name: Run tests
runs-on: 'ubuntu-latest'
needs: lint
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.20'
- run: go test -v -cover
release:
name: Create Release
runs-on: 'ubuntu-latest'
needs: test
strategy:
matrix:
goosarch:
# - 'aix/ppc64'
# - 'android/386'
# - 'android/amd64'
# - 'android/arm'
# - 'android/arm64'
- 'darwin/amd64'
- 'darwin/arm64'
# - 'dragonfly/amd64'
# - 'freebsd/386'
# - 'freebsd/amd64'
# - 'freebsd/arm'
# - 'freebsd/arm64'
# - 'illumos/amd64'
# - 'ios/amd64'
# - 'ios/arm64'
# - 'js/wasm'
# - 'linux/386'
- 'linux/amd64'
# - 'linux/arm'
- 'linux/arm64'
# - 'linux/mips'
# - 'linux/mips64'
# - 'linux/mips64le'
# - 'linux/mipsle'
# - 'linux/ppc64'
# - 'linux/ppc64le'
# - 'linux/riscv64'
# - 'linux/s390x'
# - 'netbsd/386'
# - 'netbsd/amd64'
# - 'netbsd/arm'
# - 'netbsd/arm64'
# - 'openbsd/386'
# - 'openbsd/amd64'
# - 'openbsd/arm'
# - 'openbsd/arm64'
# - 'openbsd/mips64'
# - 'plan9/386'
# - 'plan9/amd64'
# - 'plan9/arm'
# - 'solaris/amd64'
# - 'windows/386'
- 'windows/amd64'
- 'windows/arm'
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.20'
- name: Get OS and arch info
run: |
GOOSARCH=${{matrix.goosarch}}
GOOS=${GOOSARCH%/*}
GOARCH=${GOOSARCH#*/}
BINARY_NAME=${{github.repository}}-$GOOS-$GOARCH
echo "BINARY_NAME=$BINARY_NAME" >> $GITHUB_ENV
echo "GOOS=$GOOS" >> $GITHUB_ENV
echo "GOARCH=$GOARCH" >> $GITHUB_ENV
- name: Build
run: |
go build -o "$BINARY_NAME" -v
- name: Release Notes
run:
git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n * %an <%ae>' --no-merges >> ".github/RELEASE-TEMPLATE.md"
- name: Release with Notes
uses: softprops/action-gh-release@v1
with:
body_path: ".github/RELEASE-TEMPLATE.md"
draft: true
files: ${{env.BINARY_NAME}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 changes: 28 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Build Telly

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ telly
.DS_Store
/.GOPATH
/bin
*.xml
/*.xml
vendor/
/.build
/.release
/.tarballs
*.tar.gz
telly.config.*
.idea/*
telly.db
a_main-packr.go
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "frontend"]
path = frontend
url = https://github.com/tellytv/frontend.git
33 changes: 22 additions & 11 deletions .promu.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
repository:
path: github.com/tellytv/telly
path: github.com/tellytv/telly
build:
flags: -a -tags netgo
ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
flags: -a -tags netgo
ldflags: |
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}
-X github.com/prometheus/common/version.Branch={{.Branch}}
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
tarball:
files:
- LICENSE
- NOTICE
files:
- LICENSE
- NOTICE
crossbuild:
platforms:
- linux/386
- linux/amd64
- linux/arm
- linux/arm64
- darwin/amd64
- windows/amd64
- windows/386
- freebsd/amd64
- freebsd/386
26 changes: 3 additions & 23 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,6 @@
FROM golang:alpine as builder

# Download and install the latest release of dep
ADD https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 /usr/bin/dep
RUN chmod +x /usr/bin/dep

# Install git because gin/yaml needs it
RUN apk update && apk upgrade && apk add git

# Copy the code from the host and compile it
WORKDIR $GOPATH/src/github.com/tellytv/telly
COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure --vendor-only
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix nocgo -o /app .

# install ca root certificates + listen on 0.0.0.0 + build
RUN apk add --no-cache ca-certificates \
&& find . -type f -print0 | xargs -0 sed -i 's/"listen", "localhost/"listen", "0.0.0.0/g' \
&& CGO_ENABLED=0 GOOS=linux go install -ldflags '-w -s -extldflags "-static"'

FROM scratch
COPY --from=builder /app ./
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs/
COPY .build/linux-amd64/telly ./app
EXPOSE 6077
ENTRYPOINT ["./app"]


4 changes: 4 additions & 0 deletions Dockerfile.ffmpeg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM jrottenberg/ffmpeg:4.0-alpine
COPY --from=tellytv/telly:dev /app /app
EXPOSE 6077
ENTRYPOINT ["/app"]
Loading