tarkah / lazystream

Easily get LazyMan stream links, output directly or to m3u / xmltv formats. Streams can also be recorded or casted.
106 stars 17 forks source link

M3u8 link won’t play from lazystream #94

Closed loyahdev closed 2 years ago

loyahdev commented 2 years ago

I’m getting an error like this here’s a video

https://user-images.githubusercontent.com/68242406/140377931-c42faf92-5cd6-4f8d-b667-2dec3baf8a65.MOV

image

MaDTaZ commented 2 years ago

Have you confirmed your IP in the host file. They have changed in yesterday or the day before? I was able to play that game no problem just now!

loyahdev commented 2 years ago

Have you confirmed your IP in the host file. They have changed in yesterday or the day before? I was able to play that game no problem just now!

Confirmed my IP? So I can’t play it on my computer it doesn’t work on my phone either

loyahdev commented 2 years ago

Have you confirmed your IP in the host file. They have changed in yesterday or the day before? I was able to play that game no problem just now!

I’m getting this now image

Evilmnkey commented 2 years ago

Well still no work for me so MaDTaZ is a magician :) this is the right ip right : freesports.ddns.net [128.199.46.251]

loyahdev commented 2 years ago

Well still no work for me so MaDTaZ is a magician :) this is the right ip right : freesports.ddns.net [128.199.46.251]

Still no work can we go to discord? [Loyah#2370]

MaDTaZ commented 2 years ago

Well still no work for me so MaDTaZ is a magician :) this is the right ip right : freesports.ddns.net [128.199.46.251]

Hey Guy

Yes that is the right about the IP ./lazystream play team VAN Found matching team for VAN Game found for today Using stream feed HOME

Passing game to player...

============================

[cli][info] Found matching plugin hls for URL hlsvariant://https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1636248055~acl=/*~id=nhlGatewayId:6352669~data=2026717501~hmac=bf5db92fb0531f80116ba54eb7c72f6cebc7e45f2a34e58016e979c8f72f6518/fce4891f2d86a3af38e7048a560326ca/va01/nhl/2021/11/06/NHL_GAME_VIDEO_NSHVAN_M2_HOME_20211106_1633970162964/master_wired60.m3u8 name_key=bitrate [cli][info] Available streams: 670k (worst), 1000k, 1400k, 2100k, 2900k, 4100k, 6600k (best) [cli][info] Opening stream: 6600k (hls) [cli][info] Starting player: vlc

This is tonight game and moved to VLC waiting for the game to start. can you post your host file and the cmd line info. Also what version are you running ./lazystream --version?

image

Thanks

tarkah commented 2 years ago

@Galorlx You have to specify DNS overrides. You can find the information on how from LazyMan resources.

fedorajoe commented 2 years ago

Did the host file additions change recently? I have not been able to get it working for about a week now.

tarkah commented 2 years ago

Yeah I think IP changed within the last ~week. Same host, new IP.

tarkah commented 2 years ago

Latest release of lazystream has a command host that will print the host I'm using in the program, if you're ever in doubt.

It also includes an option --host where you can override the host used, in case of changes in the future.

fedorajoe commented 2 years ago

Oh, that would make sense. Whats the new IP?

On Tue, Nov 9, 2021 at 5:50 PM Cory Forsstrom @.***> wrote:

Yeah I think IP changed within the last ~week. Same host, new IP.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tarkah/lazystream/issues/94#issuecomment-964617087, or unsubscribe https://github.com/notifications/unsubscribe-auth/APH2MY26TAJOF3ZOOJSO2BTULGQVHANCNFSM5HL256DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

(°v°) (/(_)) Joe Shedler Linux Engineer, ww @.***

tarkah commented 2 years ago

Run this

ping <host>

fedorajoe commented 2 years ago

Ok to running with the host option returns http://freesports.ddns.net

$ ping freesports.ddns.net PING freesports.ddns.net (128.199.46.251) 56(84) bytes of data. 64 bytes from mlbam.ml (128.199.46.251): icmp_seq=1 ttl=50 time=96.2 ms 64 bytes from mlbam.ml (128.199.46.251): icmp_seq=2 ttl=50 time=95.2 ms

I was asking about the ip's in the hosts file tho. $ grep 165 /etc/hosts 165.22.201.101 playback.svcs.mlb.com 165.22.201.101 mlb-ws-mf.media.mlb.com 165.22.201.101 mf.svc.nhl.com

Here is what I get seems like streamlink is complaining:

Game found for today Using stream feed NATIONAL

Recording with StreamLink...

============================

[cli][info] Found matching plugin hls for URL hlsvariant:// https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1636519264~acl=/*~id=nhlGatewayId:8424981~data=2026733251~hmac=4be1b2a2b71a41152055f8dc3b5bd286d35ad42f755e5604ba34f0c7339822d0/8e9157429b6c09a5af8ea032b2f8358a/va01/nhl/2021/11/09/NHL_GAME_VIDEO_LAKTOR_M2_NATIONAL_20211109_1635865228387/master_wired60.m3u8 name_key=bitrate [cli][info] Available streams: 670k (worst), 1000k, 1400k, 2100k, 2900k, 4100k, 6600k (best) [cli][info] Opening stream: 6600k (hls) [cli][error] Try 1/3: Could not open stream <HLSStream(' https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1636519264~acl=/*~id=nhlGatewayId:8424981~data=2026733251~hmac=4be1b2a2b71a41152055f8dc3b5bd286d35ad42f755e5604ba34f0c7339822d0/8e9157429b6c09a5af8ea032b2f8358a/va01/nhl/2021/11/09/NHL_GAME_VIDEO_LAKTOR_M2_NATIONAL_20211109_1635865228387/5600K/5600_complete-trimmed.m3u8', ' https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1636519264~acl=/*~id=nhlGatewayId:8424981~data=2026733251~hmac=4be1b2a2b71a41152055f8dc3b5bd286d35ad42f755e5604ba34f0c7339822d0/8e9157429b6c09a5af8ea032b2f8358a/va01/nhl/2021/11/09/NHL_GAME_VIDEO_LAKTOR_M2_NATIONAL_20211109_1635865228387/master_wired60.m3u8')> (Failed to read data from stream: Read timeout) [stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2026733251/kid/70438408 (HTTPSConnectionPool(host='mf.svc.nhl.com', port=443): Max retries exceeded with url: /ws/media/mf/v2.3/key/silk/mediaid/2026733251/kid/70438408 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f7cb24ff4f0>, 'Connection to mf.svc.nhl.com timed out. (connect timeout=20.0)')))

On Tue, Nov 9, 2021 at 5:54 PM Cory Forsstrom @.***> wrote:

Run this

ping

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tarkah/lazystream/issues/94#issuecomment-964618637, or unsubscribe https://github.com/notifications/unsubscribe-auth/APH2MY36CZFWJJ6OLYBN3GLULGRAVANCNFSM5HL256DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

(°v°) (/(_)) Joe Shedler Linux Engineer, ww @.***

tarkah commented 2 years ago

Update hosts file with the IP you got from ping for those 3 entries

fedorajoe commented 2 years ago

Ok. Just curious tho, if its the same IP as reg dns resolution why is there a hosts file entry?

On Tue, Nov 9, 2021 at 6:12 PM Cory Forsstrom @.***> wrote:

Update hosts file with the IP you got from ping for those 3 entries

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tarkah/lazystream/issues/94#issuecomment-964629095, or unsubscribe https://github.com/notifications/unsubscribe-auth/APH2MY6N2DH3UEKLYNB2J7DULGTHDANCNFSM5HL256DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

(°v°) (/(_)) Joe Shedler Linux Engineer, ww @.***

tarkah commented 2 years ago

Not sure I follow? Those 3 hosts in the hosts file resolve to completely different IPs.

fedorajoe commented 2 years ago

sorry... I see what you said now. my bad! DUH. Not dns ips, the freesports IP. :( Thanks much!

On Tue, Nov 9, 2021 at 6:14 PM Joe Shedler @.***> wrote:

Ok. Just curious tho, if its the same IP as reg dns resolution why is there a hosts file entry?

On Tue, Nov 9, 2021 at 6:12 PM Cory Forsstrom @.***> wrote:

Update hosts file with the IP you got from ping for those 3 entries

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tarkah/lazystream/issues/94#issuecomment-964629095, or unsubscribe https://github.com/notifications/unsubscribe-auth/APH2MY6N2DH3UEKLYNB2J7DULGTHDANCNFSM5HL256DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

(°v°) (/(_)) Joe Shedler Linux Engineer, ww @.***

--

(°v°) (/(_)) Joe Shedler Linux Engineer, ww @.***

tarkah commented 2 years ago

Np!