PlexIPTV
PlexIPTV copied to clipboard
some issue with m3u file, running on raspberry pi
Thanks for the program!
mkdir -p /home/pi/docker/plexiptv
vi /home/pi/docker/plexiptv/settings.json
{
"m3u8": {
"local": "iptv.m3u8", // Locale file
"remote": "https://api.init7.net/tvchannels.m3u" // Remote URL of the playlist
},
"serverPort": 1234, // Server port
"serverName": "PlexIPTV", // Name of the server
"tunerCount": 1, // How many simultaneous feed your IPTV provider support
"removeIfNotFoundOnFilter": true, // Will remove channel from playlist that aren't present on the filter list
"doNotPullRemotePlaylist": false, // Will not pul online playlist
}
Since the raspberry pi is ARMv8, I was force to rebuild your docker image
git clone https://github.com/xiaodoudou/PlexIPTV.git
cd PlexIPTV
vi Dockerfile
replace first line with from node:9
cd ..
docker build -t plexiptvarm ./PlexIPTV
running the container
docker run -p 12345:1234 --name="plexiptvarm"
-e NODE_TLS_REJECT_UNAUTHORIZED=0
--volume /home/pi/docker/plexiptv:/opt/PlexIPTV/config
-d plexiptvarm
Note: I added NODE_TLS_REJECT_UNAUTHORIZED=0 this is insecure but the provider of the mp3 has an expired certificate! this is temporary
Now in the Logs, I see 0 channels found....
2023-02-27T18:21:45.786Z plexiptv:config:verbose 2023/02/27 18:21:45.7800 π init Getting settings...
2023-02-27T18:21:45.794Z plexiptv:config:verbose 2023/02/27 18:21:45.7930 π readSettings Reading file...
2023-02-27T18:21:45.806Z plexiptv:config:verbose 2023/02/27 18:21:45.8050 π fs.readFile Found file...
2023-02-27T18:21:45.809Z plexiptv:config:verbose 2023/02/27 18:21:45.8090 π Q.fcall.then.then Has resolve settings
2023-02-27T18:21:45.811Z plexiptv:index:info 2023/02/27 18:21:45.8110 π pullPlaylist Pulling remote playlist: https://api.init7.net/tvchannels.m3u
2023-02-27T18:21:45.886Z plexiptv:index:verbose 2023/02/27 18:21:45.8860 π request Writting to local files...
2023-02-27T18:21:45.891Z plexiptv:index:info 2023/02/27 18:21:45.8910 π fs.writeFile Sucessfully saved playlist to: iptv.m3u8
2023-02-27T18:21:45.925Z plexiptv:index:info 2023/02/27 18:21:45.9250 π express.listen Server (v1.0.4) is started at: http://0.0.0.0:1234
2023-02-27T18:21:45.926Z plexiptv:index:info 2023/02/27 18:21:45.9260 π express.listen Logs output: /opt/PlexIPTV/logs
2023-02-27T18:21:45.927Z plexiptv:index:info 2023/02/27 18:21:45.9270 π express.listen Config file: /opt/PlexIPTV/config/settings.json
2023-02-27T18:21:45.928Z plexiptv:index:info 2023/02/27 18:21:45.9280 π express.listen πΊπΊ~~Enjoy your 0 channels ~~πΊπΊ
2023-02-27T18:21:45.912Z plexiptv:dvr:verbose 2023/02/27 18:21:45.9120 π init DVR is now initiated.
2023-02-27T18:22:02.616Z plexiptv:dvr:verbose 2023/02/27 18:22:02.6160 π device Received a device identify request.
2023-02-27T18:22:02.633Z plexiptv:dvr:verbose 2023/02/27 18:22:02.6320 π discover Received a discover request.
2023-02-27T18:22:02.638Z plexiptv:dvr:verbose 2023/02/27 18:22:02.6380 π lineupStatus Received a lineup status request.
2023-02-27T18:22:11.560Z plexiptv:dvr:verbose 2023/02/27 18:22:11.5600 π lineup Received a lineup request.
2023-02-27T18:22:11.562Z plexiptv:dvr:verbose 2023/02/27 18:22:11.5610 π channels Return 0 channels.
2023-02-27T18:22:13.171Z plexiptv:dvr:verbose 2023/02/27 18:22:13.1710 π discover Received a discover request.
2023-02-27T18:22:13.176Z plexiptv:dvr:verbose 2023/02/27 18:22:13.1750 π lineupStatus Received a lineup status request.
2023-02-27T18:25:23.835Z plexiptv:dvr:verbose 2023/02/27 18:25:23.8350 π lineup Received a lineup request.
2023-02-27T18:25:23.836Z plexiptv:dvr:verbose 2023/02/27 18:25:23.8360 π channels Return 0 channels.
2023-02-27T18:25:27.193Z plexiptv:dvr:verbose 2023/02/27 18:25:27.1920 π lineup Received a lineup request.
2023-02-27T18:25:27.193Z plexiptv:dvr:verbose 2023/02/27 18:25:27.1930 π channels Return 0 channels.
maybe you see the error immediately?