MLB.TV for Channels

i'm sure you did but just to double-check: you put your actual IP in there right? and are using host port 8080 to forward into the docker container?

if you have both of those set up that way i have no idea what's going on...even more so if the games are working. if the m3u is imported into channels and it's loading the games, the container is working so i can't see any reason the epg wouldn't work as well. if you go to that URL in your browser, can you see the epg xml? (you might have to do a view-source to see it formatted easily enough to read it)

1 Like

Thanks for your help @crackers8199! I figured it out after going back and looking at script. I only included teams I was interested in on the initial docker run script. I realized I could exclude teams I don't want from the guide later on, so this is what I'm going to do. Guide data looks great now with game blocks and everything.

i'm not sure i follow, though...even if you exclude teams using the docker config, it should still show the teams you do have in the guide data.

I've been using this docker app for weeks now without any problem, really loving it. I've been enjoying lots of games throughout the day. There are a bunch of MLB games on right now though and every single one is reporting that it's "unavailable due to MLB blackout restrictions." Anyone else experiencing this? I am in Los Angeles, my ISP is Spectrum and I'm using the default settings. I previously had no issues watching teams from other states play against/in other states, but now I can't watch any. I am however able to stream games using the MLB At Bat website, as well as the (sub-par) AppleTV app. It's just MLB.TV for Channels that this error is showing and it never showed before (except for in-market games, as expected.) I tried rebooting the Channels DVR as well as the docker app, reinstalling, reverting to 1.2.1 but that didn't help, so I just upgraded back to 1.2.2. What else can I try and how do I go about troubleshooting this? Please note I'm not trying to bypass any geolocation restrictions, I'm just trying to watch the games I'm allowed to watch with my MLB subscription, at this location. Thanks!

Is anyone else having an issue with streams freezing and then getting the connection lost message? I thought it was the feed but I have 2 ATV'S on now watching the Nats and one will dump out if the stream while the other keeps playing. Never happened before today. It's always rock solid. I've got fiber and the ATV's, channels server, and docker server are all on the same gigabit switch.

The only error I see in the channels log is when I try to restart the stream and it fails right after.

Could not start stream for M3U-mlbtv ch20000 Washington Nationals: M3U: Could not fetch playlist: http://192.168.12.116:8282/playlist/WAS: Get "http://192.168.12.116:8282/playlist/WAS": net/http: timeout awaiting response headers

I did update to the latest docker version before I started the game but I don't know if that has any bearing on this or not.

1 Like

I had seen this happen occasionally when I was first testing, but not recently...it usually happens when the login info gets out of sync.

you should be able to fix it with this command (which will refresh your login credentials):

docker exec -it channels-baseball rm -rf /var/www/html/storage/app/*

that should take care of it, but I would restart the container just to be safe to make sure you clear any potential cached login info.

I haven't seen that happen but I'll keep an eye on it...anything in the container logs?

Sorry I forgot how to view those. Do u know the command offhand?

Thanks very much, that took care of it.

1 Like
docker exec -it channels-baseball cat /var/www/html/storage/logs/laravel.log

I just put the Padres game on to test and both ATV's say connection lost
This is from channels logs, looks like 5:37 the stream quit:

Blockquote
2021/06/02 17:23:23.681091 [M3U] stream timestamps: mlb-chc: start_at=2021-06-02T13:19:56-04:00 current_at=2021-06-02T17:23:03-04:00 end_at=2021-06-02T17:23:13-04:00
2021/06/02 17:23:23.681141 [TNR] Opened connection to M3U-mlbtv for ch20008 Chicago Cubs
2021/06/02 17:23:45.738347 [TNR] Closed connection to M3U-mlbtv for ch20008 Chicago Cubs
2021/06/02 17:23:49.957444 [TNR] Sharing existing connection to M3U-mlbtv for ch20005 San Diego Padres (clients=2, len=0)
2021/06/02 17:37:04.605949 [TNR] Closed connection to M3U-mlbtv for ch20005 San Diego Padres

This is from docker:

Blockquote
[2021-06-02 17:35:53] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:35:53] local.INFO: end of playlist detected
[2021-06-02 17:35:53] local.INFO: playlist processing completed
[2021-06-02 17:35:55] local.INFO: cache middleware for team: SDP
[2021-06-02 17:35:55] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:35:55] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:35:55] local.INFO: playlist request received: SDP
[2021-06-02 17:35:55] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:35:55] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:35:55] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:35:55] local.INFO: end of playlist detected
[2021-06-02 17:35:55] local.INFO: playlist processing completed
[2021-06-02 17:35:57] local.INFO: cache middleware for team: SDP
[2021-06-02 17:35:57] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:35:57] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:35:57] local.INFO: playlist request received: SDP
[2021-06-02 17:35:57] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:35:57] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:35:57] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:35:57] local.INFO: end of playlist detected
[2021-06-02 17:35:57] local.INFO: playlist processing completed
[2021-06-02 17:35:59] local.INFO: cache middleware for team: SDP
[2021-06-02 17:35:59] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:35:59] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:35:59] local.INFO: playlist request received: SDP
[2021-06-02 17:35:59] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:35:59] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:35:59] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:35:59] local.INFO: end of playlist detected
[2021-06-02 17:35:59] local.INFO: playlist processing completed
[2021-06-02 17:36:02] local.INFO: cache middleware for team: SDP
[2021-06-02 17:36:02] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:36:02] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:36:02] local.INFO: playlist request received: SDP
[2021-06-02 17:36:02] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:36:02] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:36:02] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:36:02] local.INFO: end of playlist detected
[2021-06-02 17:36:02] local.INFO: playlist processing completed
[2021-06-02 17:36:05] local.INFO: cache middleware for team: SDP
[2021-06-02 17:36:05] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:36:05] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:36:05] local.INFO: playlist request received: SDP
[2021-06-02 17:36:05] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:36:05] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:36:05] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:36:05] local.INFO: end of playlist detected
[2021-06-02 17:36:05] local.INFO: playlist processing completed
[2021-06-02 17:36:07] local.INFO: cache middleware for team: SDP
[2021-06-02 17:36:07] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:36:07] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:36:07] local.INFO: playlist request received: SDP
[2021-06-02 17:36:07] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:36:07] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:36:07] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:36:07] local.INFO: end of playlist detected
[2021-06-02 17:36:07] local.INFO: playlist processing completed
[2021-06-02 17:36:10] local.INFO: cache middleware for team: SDP
[2021-06-02 17:36:10] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:36:10] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:36:10] local.INFO: playlist request received: SDP
[2021-06-02 17:36:10] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:36:10] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:36:10] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:36:10] local.INFO: end of playlist detected
[2021-06-02 17:36:10] local.INFO: playlist processing completed
[2021-06-02 17:37:03] local.INFO: cache middleware for team: SDP
[2021-06-02 17:37:03] local.INFO: cache middleware for team: SDP
[2021-06-02 17:37:03] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:37:03] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:37:03] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.INFO: playlist request received: SDP
[2021-06-02 17:37:03] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.INFO: cache middleware for team: SDP
[2021-06-02 17:37:03] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.INFO: playlist request received: SDP
[2021-06-02 17:37:03] local.INFO: cache middleware for team: SDP
[2021-06-02 17:37:03] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:37:03] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:37:03] local.INFO: playlist request received: SDP
[2021-06-02 17:37:03] local.INFO: cache middleware for team: SDP
[2021-06-02 17:37:03] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.INFO: playlist request received: SDP
[2021-06-02 17:37:03] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:37:03] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.INFO: playlist request received: SDP
[2021-06-02 17:37:03] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.INFO: cache middleware for team: SDP
[2021-06-02 17:37:03] local.DEBUG: using mediaId from session: a1f5c718-5805-48ff-81c5-3d1951215d72
[2021-06-02 17:37:03] local.DEBUG: using streamUrl from session: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.INFO: playlist request received: SDP
[2021-06-02 17:37:03] local.DEBUG: parseStream: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/master_desktop_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: processPlaylist: https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/
~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:03] local.DEBUG: opened playlist https://hlslive-akc-ewr1.media.mlb.com/hdnts=exp=1622755058~acl=/*~id=00uly7cpdzvl6fqpi356~data=a1f5c718-5805-48ff-81c5-3d1951215d72~hmac=e9d33173a81535eb341335fcb49269a9b1d29b70eef594afe18b9f78a3e44132/665f70338cf45cbf5e4f037f4e959c63/ls01/mlb/2021/06/02/Away_VIDEO_spa_San_Diego_Padres_Chicago__20210602_1622652609070/5600K/5600_complete.m3u8
[2021-06-02 17:37:04] local.INFO: end of playlist detected
[2021-06-02 17:37:04] local.INFO: playlist processing completed

that looks like channels is just quitting the stream for some reason. nothing in those docker logs from the container indicate that it had any issues loading the stream.

Diagnostics from the dvr right after this happens will show us the hls client logs on the dvr side.

1 Like

I'll try that next time it happens. The wierd thing is that it seems to only happen when 2 ATV'S are playing the same source. In the server logs it says that it is sharing the connection so I would think that wouldn't be a problem. Sometimes it freezes and recovers and other times it freezes and then says connection lost.

@tmm1 Just turned on the Nats game and it plays fine on ATV with channels. I opened up the same stream on my other ATV with the mlbtv app for refrence. then I opened the channels app on my android and opened the same mlb feed. As soon as I did that my ATV (using channels) started freezing, then my android started freezing. It doesn't happen all the time but it will happen periodically. The stream never crashed this time but it was really degraded. I submitted logs 0692d790-06e5-4da5-b2dd-492d995124d7 right after.

The ATV running the mlbtv app natively, the stream was fine.

Seems the issue only happens when the connection is shared with channels.

2021/06/03 12:48:39.636286 [TNR] Sharing existing connection to M3U-mlbtv for ch20000 Washington Nationals (clients=2, len=0)

Hmm. Is there any restriction from MLB.tv (on their server side) about concurrent streams accessed this way?

update: I just opened 3 streams and got the ATV client to dump out of the stream.
logs: 81d6e965-8caf-4cd6-9085-371e9ee43082 .

It is definitely a sharing issue. Even though the channels log shows that it is sharing the connection I'm not sure that it is. As a workaround I recorded the game, then I played it back on 4 devices simultaneously (choosing watch recording and not live). No issues whatsoever doing this.

I did notice that even with 1 stream the docker container is going between 5-30% cpu. I'm wondering if each stream is pulling from the docker container? My docker server is spec's pretty high so I don't think its a resource issue, I just think channels is duplicating the stream and not sharing.

nah I can open the the mlb app on that many devices..

Sorry to ask the obvious, but is "Tuner Sharing" enabled on your clients under Settings > Advanced?

I thought tuner sharing was only for HDHR? Let me enable and check to see if it behaves the same