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

some issue with m3u file, running on raspberry pi #34

Open
cedricwalter opened this issue Feb 27, 2023 · 0 comments
Open

some issue with m3u file, running on raspberry pi #34

cedricwalter opened this issue Feb 27, 2023 · 0 comments

Comments

@cedricwalter
Copy link

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?

@cedricwalter cedricwalter changed the title some issue with m3u file some issue with m3u file, running on raspberry pi Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant