Skip to content
/ livetv Public
forked from zjyl1994/livetv

Use Youtube live as IPTV feeds

License

Notifications You must be signed in to change notification settings

GOH3124/livetv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveTV

Use Youtube live as IPTV feeds

Install

First you need to install Docker, Centos7 users can directly use the following tutorials. How To Install and Use Docker on CentOS 7

After installing Docker, you can enable LiveTV! on your local port 9500 with the following command:

docker run -d -p9500:9000 zjyl1994/livetv:1.0

The data file is stored inside the container in the /root/data directory, so it is recommended to use the -v command to map this directory to the host's directory.

An example of using an external storage directory is shown below.

docker run -d -p9500:9000 -v/mnt/data/livetv:/root/data zjyl1994/livetv:1.1

This will open a LiveTV! container on port 9500 that uses the /mnt/data/livetv directory as storage.

PS: If you do not specify an external storage directory, LiveTV! will not be able to read the previous configuration file when it reboots.

Usage

Default password is "password".

First you need to know how to access your host from the outside, if you are using a VPS or a dedicated server, you can visit http://your_ip:9500 and you should see the following screen.

index_page

First of all, you need to click "Auto Fill" in the setting area, set the correct URL, then click "Save Config".

Then you can add a channel. After the channel is added successfully, you can play the M3U8 file from the address column.

When you use Kodi or similar player, you can consider using the M3U file URL in the first row to play, and a playlist containing all the channel information will be generated automatically.

Youtube-dl document here => https://github.com/ytdl-org/youtube-dl

Document Translate by DeepL

About

Use Youtube live as IPTV feeds

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 54.5%
  • HTML 41.3%
  • Dockerfile 1.9%
  • JavaScript 1.3%
  • CSS 1.0%