tgorgdotcom / locast2plex

A very simple script to connect locast to Plex's live tv/dvr feature.
MIT License
231 stars 43 forks source link

Source is unavailable #206

Open SCVODArchives opened 3 years ago

SCVODArchives commented 3 years ago

I actually have a real problem now, unlike the last issue I posted that made me feel stupid for not catching.

So I got everything working but every channel gives me the "source is unavailable" error in Plex.

As a test, I opened the /lineup.json file in locast2plex and found all the channel urls. Using those URLs, I can open any channel in a local media play such as VLC and the video plays fine. In the locast2plex logs it shows the following. This log is the same no matter if I attempt to play in Plex or another media player. No errors I can find the logs.

"GET /watch/1077 HTTP/1.0" 200 -
1077 will use 1280x720 resolution at 2700000bps
Found 3 Playlists
Determining best video stream for 1077...
Getting station info for 1077...

config.ini

[main]
locast_username=****
locast_password=****
plex_accessible_ip=192.168.*.*

I've also changed the plex_accessible_ip to 127.0.0.1 with the same results in Plex, but of course using a local media player doesn't work. This happens on ALL channels. I've also refreshed the guide multiple times.

Synology NAS w/ Plex locast2plex via docker

EDIT:

Enabled the transcoder within Plex and it seems to be working now however I don't want to use the transcoder. Transcoding only seems to occur when viewing on Plex web, not on mobile. Any workaround?

Plex has maximum quality for internet streaming and home streaming as well as direct play and direct stream enabled. 2021-02-01 08_53_17-Plex

EDIT 2: Seems to be only with browsers. All other devices direct stream okay. Plex logs showing... no direct play video profile exists for hls/mpegts/h264

gramster commented 3 years ago

Same here. It was working fine until I updated Plex, so it seems something changed in Plex.