ESPN+ & FOX Sports with Custom Channels via EPlusTV

Hi there,
for some reason, Something is killing unwatched stream FID 60
After the stream is killed, Channels will stop playing.
If i start the stream backu up it will play for a bit before killing the stream.

A channel that's being played has a 'heartbeat' that ticks when a segment is requested. I'm not sure how Channels could be playing something and it would kill the process

So, I have this working in Windows 11 using Docker Desktop.
I only changed the port because 8000 was already being used.
(docker run -p 8005:8000 -v config_dir:/app/config m0ngr31/eplustv)

2 things,

  1. If I use the START_CHANNEL option, the channels numbers are changed, but nothing will stream. No Biggie, I just let channels remap them.
  2. After some period of idle time, I have to restart the container to get it working again or all I get is the Event will start shortly display.

Any ideas?

Thanks!

What networks are you trying to watch on? What does your log look like?

bally sports and bally sports plus would be neat.

1 Like

I did a pretty big re-write of how playback works now... I ripped out the ffmpeg dependency + the tmp folder to store the segments, and wrote an HLS proxy that handle getting the data on the fly. In addition, I'm not saving segments to a directory and instead just storing them in RAM to increase performance.

I also added support for NBC Sports through your TV provider.

Please look at the documentation on the Docker Hub page. There are some environment variables that have been removed and new ones have been added.

There is one potential issue that I'm currently working on is on some players there is an issue starting playback of an event after it shows the 'event will start soon' message. Some players play it perfectly, some struggle and have to stop and restart the stream. I'm not sure how Channels will handle it, so please keep that in mind if you are recording events to double check this first.

Other than that, it should be a bit more performant and more stable :crossed_fingers:

edit: figured it out

Hi there,
Just tried the new build on channels.
We did get the issue where it starts to play the stream and suddently drops as described above.
I simply restarted the stream and it seemed to play.
I did notice that the channel's DVR was detecting ads and it would play parts of the ads during insertion. Apparently when it goes back to the feed the program continues.
Thanks for the improvements.

Is there anything relevant in the Channels logs about not being able to play after the event stream tries to start?

1 Like

Thanks for the continued improvement! :+1:

Please see the following.
2022/12/29 10:24:00.203611 [TNR] Opened connection to M3U-ESPN for ch10874 EPlusTV 5
2022/12/29 10:24:04.142166 [SNR] Buffer statistics for 192.168.254.131 (Apple TV) for ch6021 TVLANDP: buf=0% drop=0%
2022/12/29 10:24:04.147051 [TNR] Closed connection to TVE-Philo for ch6021 TVLANDP
2022/12/29 10:24:13.210348 [TNR] Error during live stream for ch10874 EPlusTV 5: Transcoder Reset: Playlist reset to a lower sequence (38528 -> 1009): http://192.168.254.100:8000/channels/5.m3u8
2022/12/29 10:24:13.210591 [SNR] Buffer statistics for 192.168.254.131 (Apple TV) for ch10874 EPlusTV 5: buf=0% drop=0%
2022/12/29 10:24:13.211296 [TNR] Closed connection to M3U-ESPN for ch10874 EPlusTV 5
2022/12/29 10:24:42.195726 [M3U] stream timestamps: EPlusTV 5: start_at=2022-12-29T10:19:40-08:00 end_at=2022-12-29T10:24:35-08:00 live_delay=1.873720967s
2022/12/29 10:24:42.195842 [TNR] Opened connection to M3U-ESPN for ch10874 EPlusTV 5

@tmm1 is there any way channels can get around that error? Same issue I get in MPV (and presumably VLC but harder to see the messages there)

@tmm1 in relation to the issue, channels is looping inserted commercials I've used the docker before and the ads normally play just fine.
thankfully the new updated docker isn't dropping the spots.
I'm watching a feed at present with an audio problem. I was able to verify the channel with the Hulu app.

I don't understand the ad break issue.. does Channels do something with commercials on the fly? What's your audio issue? Trying to make sure my HLS proxy isn't breaking everything

Hi there,
Channels will play the commercial insertion based on location when signaled by EsPN+.
Apparently, it isn't playing them correctly.
When ESPN+ sends the signal the ads will stop and it will go back to the feed.
Channels detect ads in real time.

Are you sure about that? That hasn't been my experience at all. The Channels app just plays the stream the EPlusTV sends it.

Hi there,
if ads aren't playing in your area, content isn't targeted.
Wish ESPN+ had an ad free option at least for their inserted ads.

1 Like

Thank you all for the continued development on this awesome app that keeps getting better.

I am running Channels on an Apple Silicon Mac Mini with the latest version of EPlus running on Docker. I am also running into issues where a stream will not load immediately, but if I flip to another channel and back again, it will end up working.

I don't believe my logs show anything terribly interesting, but here goes:

2022-12-29 18:51:13 Channel #7096 has an active event. Going to start the stream.
2022-12-29 18:51:13 Channel #7096 has upcoming event. Setting timer to start
2022-12-29 18:51:13 Channel #7096 has upcoming event. Setting timer to start
2022-12-29 18:53:01 Channel #7095 has an active event. Going to start the stream.
2022-12-29 18:53:01 Channel #7095 has upcoming event. Setting timer to start

1 Like

there are ads, but Channels doesn't insert them. They are just part of the stream.

Unfortunately I know a bit too much about how ESPN+ works from the inside. Some ads are inserted by ESPN Master Control and I think can be targeted based on viewer location. However, if you see an ad break with ads for the school hosting the game/the conference/something really local to where the game is being hosted that is being inserted by whomever is producing the broadcast.
Some games are also pass-thru which means that no ads are inserted and you just see a title card but that's only if either ESPN doesn't have a master control operator available or if whoever is producing the broadcast doesn't have someone to talk to ESPN on the phone throughout the game.

1 Like