Giter Club home page Giter Club logo

hls-xmltv-docker's Introduction

This is a Docker containerized version of HLS / XMLTV Home broadcasting


HLS / XMLTV Home broadcasting (Docker Version)

Requirements

  • Docker
  • Docker-Compose

(if no docker compose installed, a experimental docker run command is in docker-compose.yml)

Setup

Build Docker Image

  • clone or download repo to your host
  • edit docker-compose.yml with your details
  • run:
$ bash build.sh

this will pass variables to docker-compose up

Configue

  • run:
$ bash tools.sh

this should make your life much easier all the items below are available - (this can copied anywhere you like on the host)

  • create concat lists for your channels
  • edit config.cfg changing the info in arg_array with your channel info - (if you want full episode info and not just filenames you need to enter a tvmaze show id...its the number in the main show url)
  • once all setup, comment out the "IF CRON EXIT" line in the config file and save
#if [ "$1" = "CRON_USER" ]; then exit; fi

Notes

if you want to force it to update you can restart, or it will boot itself in 3 minuites you can watch the files start to be generated in <docker_host_ip>:3000/, the first run will take a while to generate the epg but the m3u8 will be readible in the streams folder almost immediately (these can be copy and paste into VLC open network stream for the impatient)

once the script finished the m3u will be in the base dir of the webdir and xmltv will be in the sub folder

License

hls-xmltv-docker's People

Contributors

deanochips avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hls-xmltv-docker's Issues

typo in dockerfile

line 37 should have /tmp/rotate_hls_xmltv_logs instead of just /rotate_hls_xmltv_logs

setup

hello sorry im little lost and i dont find a way

i check already but i dont see .

i have synology nas and i able to install the docker,

how i can do this

edit docker-compose.yml with your details
run:
$ bash build.sh

there its a terminal on docker, but i dont think i cant use that

how edit yml file?

thanks

tput error

Thank you for the official docker image. This seems to be working for me! I did notice this error a number of times in my logs:

tput: No value for $TERM and no -T specified

It doesn't appear to be impacting performance, but seemed worth calling to your attention. Hopefully an easy fix.

cache folder 'resource busy'

This error is the last line in my log when I build the docker image:

mv: cannot move '/HLS-XMLTV---Home-Broadcasting-master/cache' to '/HLS-XMLTV/cache': Resource busy'

I've seen it each time I've built the image, even when things have been working, so I don't think this actually impacts performance.

Build.sh Failing

Thank you for pulling all this together and making it available.

I have a problem when I run bash build.sh per your instruction. I looks like the program is not pulling or cannot find the fdk-aac-dev file:

Step 4/8 : RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories ; apk add --no-cache fdk-aac-dev tini procps ffmpeg bash bash-completion coreutils ncurses logrotate python3 jq htop nano findutils nginx youtube-dl xmltv socat
---> Running in c34e8c5ed1e5
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

ERROR: unsatisfiable constraints:
fdk-aac-dev (missing):
required by: world[fdk-aac-dev]

ERROR: Service 'hls-xmltv' failed to build: The command '/bin/sh -c echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories ; apk add --no-cache fdk-aac-dev tini procps ffmpeg bash bash-completion coreutils ncurses logrotate python3 jq htop nano findutils nginx youtube-dl xmltv socat' returned a non-zero code: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.