Giter VIP home page Giter VIP logo

lazystream's Introduction

LazyStream

Test

Download

The latest release for each platform can be downloaded from the following link. Just extract the archive and run from the lazystream executable.

https://github.com/tarkah/lazystream/releases/latest

Overview

Easily get LazyMan stream links, output directly or to m3u / xmltv formats. Streams can also be recorded or casted.

  • Supports both NHL and MLB games. Use --sport option to specify mlb or nhl [default: nhl]

  • Defaults to grabbing the current days games. --date YYYYMMDD can be specified for a certain day.

  • xmltv and m3u playlist formats can be generated for all games using the generate subcommand

  • Games can be recorded using the record subcommand. This requires StreamLink is installed and in your path. If a game is live, you can use the --restart flag to start recording from the beginning of the stream. Quality --quality can be specified to use a specific quality setting.

  • Games can be casted to a chromecast using the cast subcommand. In addition to Streamlink, VLC is required to cast the stream.

  • Play games directly to VLC with the play subcommand. Requires both Streamlink and VLC.

❯ lazystream --help

lazystream
tarkah <[email protected]>
Easily get LazyMan stream links, output directly or to m3u / xmltv formats. Streams can also be recorded or casted.

USAGE:
    lazystream [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
        --disable-retry    Disables unavailable stream retry for `play`, `record`, and `cast` commands. Program will
                           exit instead
    -h, --help             Prints help information
    -V, --version          Prints version information

OPTIONS:
        --sport <sport>        Specify which sport to get streams for [default: nhl]  [possible values: mlb, nhl]
        --date <YYYYMMDD>      Specify what date to use for games, defaults to today
        --cdn <cdn>            Specify which CDN to use [default: akc]  [possible values: akc, l3c]
        --quality <quality>    Specify a quality to use, otherwise stream will be adaptive [possible values: 720p60,
                               720p, 540p, 504p, 360p, 288p, 224p, 216p]

SUBCOMMANDS:
    select         Select stream link via command line
    generate       Generate an xmltv and/or playlist formatted output for all games
    play           Play a game with VLC, requires StreamLink and VLC
    record         Record a game, requires StreamLink
    cast           Cast a game, requires StreamLink and VLC
    completions    Output shell completions to a target directory
    help           Prints this message or the help of the given subcommand(s)

❯ lazystream select --sport nhl

 |        \   __  /\ \   / ___|__ __|  _ \  ____|    \     \  | 
 |       _ \     /  \   /\___ \   |   |   | __|     _ \   |\/ | 
 |      ___ \   /      |       |  |   __ <  |      ___ \  |   | 
_____|_/    _\____|   _| _____/  _|  _| \_\_____|_/    _\_|  _| 


Pick a game for 2019-12-09...

1) 4:00 PM - Chicago Blackhawks @ Boston Bruins
2) 4:00 PM - Colorado Avalanche @ Montréal Canadiens
3) 4:00 PM - Minnesota Wild @ Tampa Bay Lightning
4) 4:00 PM - Vegas Golden Knights @ New York Islanders
5) 4:00 PM - Arizona Coyotes @ Philadelphia Flyers
6) 4:00 PM - San Jose Sharks @ Carolina Hurricanes
7) 4:00 PM - New York Rangers @ Columbus Blue Jackets
8) 5:30 PM - Winnipeg Jets @ Dallas Stars
9) 6:00 PM - Buffalo Sabres @ Calgary Flames

>>> 4

Pick a stream...

1) HOME
2) AWAY
3) COMPOSITE

>>> 2

http://nhl.freegamez.ga/getM3U8.php?league=nhl&date=2019-12-05&id=70395003&cdn=akc

Shell Completions

Shell completions can be generated for Bash, Fish and Zsh. Target shell and target directory must be supplied.

lazystream completions bash ~/.local/share/bash-completion/completions/

xTeVe Setup for Plex / Emby

A docker container has been created by @taylorbourne / xteve_lazystream that automatically sets up xTeVe with this program to generate daily updated xmltv playlists that can be setup with Emby / Plex Live TV.

lazystream's People

Contributors

madtaz avatar nexxai avatar tarkah avatar thereclusivefox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lazystream's Issues

Add option to choose CDN (default to akc)

Currently akc is hardcoded into the formatted url. Add option to specify from the two CDN's, defaulting to akc if not specified. Option should only allow akc or l3c

Creating XML's from two instanaces

Im using this to generate files for Live TV.

Ive set up both one cronjob for NHL and one for MLB

The issue is in the XML file its tagging the channel identifier the same in both xml files.
lazystreamer_xml_m3u.zip

This is causing issues with the guide populating the wrong channel information. The streams are correct but the guide is wrong.

These are the two commands that were ran to generate the attached files

./lazystream --quality 720p generate xmltv /home/user/nhl.m3u --start-channel 9000
./lazystream --sport mlb --quality 720p generate xmltv /user/mlb.m3u --start-channel 10000

Add option to translate url

Currently the url that is returned from lazystream needs to be resolved to receive the hls link. I would nice to have the option to return this value. Assumes users host file is setup correctly (whether local or resolved upstream (ex: Pihole))

lazystream license type

I was wondering what open source license lazystream falls under? I was looking into setting up a homebrew formula for the software to make it even easier to download/install on macOS

Stream not available yet, will check again soon...

Hi there.

Not an issue but more of a request for info or a request for an enhancement depending on the answer!

I'm using a SQLite database to store which teams I want to record and then a bash script loops through them and fires your script to record. However, last night the NYI game was postponed and your script waits until a stream is available but that will never happen. This means that my script never continues to the other teams I want to record.

The output from your script is "Stream not available yet, will check again soon..."

So is there a variable to either turn this retry off or only let it check again X number of times (and set this to zero so it doesn't recheck)?

If there isn't such a thing then any chance this could be added to a future release?

Loving your script BTW.

Cheers.

Add MLB streams

Would be nice to have the program also handle MLB streams. The underlying stats API is very similar, so it should be fairly easy to integrate into the program without much duplication of code. I'll probably update https://github.com/tarkah/stats-api to also handle the MLB stats API instead of two different libraries since they are so similar.

MLB is not working

Hello

First of all, I am sorry that my English is not good.
All links to MLB are not working at this time. The situation today (March 18) is as shown below.

1

Also, the situation yesterday (March 17) is as shown below.
2

I have added the host file as previously described. So in case of NHL, files for today and yesterday can be recorded.

However, in the case of MLB, nothing is working, so I politely ask you a question.

What else should I do?

Regards.

MLB M3U/XMLTV Generation Throws Error

Running the latest version, the option to generate M3U/XMLTV for MLB now fails with error:

ERROR: missing field name at line 1 column 42001

NHL works as expected, and MLB worked fine up until 5/27/2021.

I'm guessing something changed with the MLB API and how it returns the schedule.

Inquiry about XML and M3U

Hi,
First i would like to thank you for this little app that lets me enjoy Hockey without having to use my PC to cast games.
this is more of an inquiry about how the M3U and XML get exported. Would it be possible to have the playlist export and keep the same channels for games even if the games are done? As an example today i generated a M3U and XML before the Jets and Winnipeg game

The game was set to play on
#EXTINF:-1 CUID="1000" tvg-id="1000" tvg-name="Lazyman 1",Lazyman 1
but once the game ends it gets pushed down and the current games move up.

I have a script that exports the XML and M3U from lazystreams every hour ( so i get the link populated to watch the games) so they appear in my IPTV software but since the app refresh of the playlist (Manual) and EPG ( minimum every 2 hours ) is not done in a timely fashion it causes issues of channel and games being out of sync the the wrong games plays with the wrong EPG entry.

Thanks

Streamlink hls segment key issue

Having an issue with Streamlink where it ends streams/recordings at random and sometimes does not start them. Looks to be related to 7d3a617

When I use the older versions (of Lazystream) where the output does not start with "Proxying segment key" it works good. Found a similar thing here: https://github.com/NHLGames/NHLGames/issues/228

[lazystream][info] Proxying segment key url to: https://xyz
[cli][info] Found matching plugin hls for URL hlsvariant://https://xyz
[cli][info] Available streams: 670k (worst), 1000k, 1450k, 2140k, 2900k, 4100k, 6600k (best)
[cli][info] Opening stream: 6600k (hls)
Exception in thread Thread-HLSStreamWriter:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/site-packages/streamlink/stream/segmented.py", line 167, in run
    self.write(segment, result)
  File "/usr/lib/python3.8/site-packages/streamlink/stream/hls.py", line 140, in write
    self.reader.buffer.write(pkcs7_decode(decrypted_chunk))
  File "/usr/lib/python3.8/site-packages/streamlink/stream/hls.py", line 31, in pkcs7_decode
    raise StreamError("Input is not padded or padding is corrupt, got padding size of {0}".format(val))
streamlink.exceptions.StreamError: Input is not padded or padding is corrupt, got padding size of 60
[cli][error] Try 1/1: Could not open stream <HLSStream('https://xyz.m3u8')>, tried 1 times, exiting
[cli][info] Closing currently open stream...

ERROR: StreamLink failed

Kind regards

Is all link break down? Please

QQ图片20210817234154
Hi I tried both mlb and nhl recording, but all of them go back with "Stream not available yet, will check again soon...".
So I wonder if this way to record mlb games still valid?
Thank you very much.

Not able to play m3u file from past games

Hi i am trying to create a m3u file from past games, not sure if its an issue on my end or not. was working fine this summer for the games.

IE : lazystream.exe --date 20200201 --quality 720p60 generate xmltv
It generates the m3u file and it has the playlist links in it but when itry to load in VLC i get error.

main error: no suitable access module for `https://mf.svc.nhl.com:443/ws/media/mf/v2.3/key/silk/mediaid/71007003/kid/70290456'
adaptive error: Failed to create demuxer 0000000000000000 Unknown
ps warning: this does not look like an MPEG PS stream, continuing anyway
ps warning: garbage at input from 509, trying to resync...
ps warning: garbage at input from 509, trying to resync...
gnutls error: Certificate verification failure: The certificate is NOT trusted. The certificate chain uses expired certificate. The name in the certificate does not match the expected.
main error: TLS session handshake error

When i use the lazyman kodi addon i dont seem to be running into issues. This on my end or is something messed up in the playlist?

Hoping to get setup for puck drop tommorow

Error passing to player

Hey there, really psyched to use this but having some issues getting up and running. I'm try to load in mpv per above but getting the following error. Any suggestions?

Passing game to player...

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

[cli][info] Found matching plugin hls for URL hlsvariant://https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1596519653~acl=/*~id=nhlGatewayId:3238580~data=2000009351~hmac=368e1b7480d8757d441bdf81efbc268f72aaa20f907b70146eded342041a6970/11426becaba7ffb12506e9070a093e8c/ls03/nhl/2020/08/02/NHL_GAME_VIDEO_PHIBOS_M2_NATIONAL_20200802_1595879014740/master_wired60.m3u8 name_key=bitrate
[cli][info] Available streams: 670k (worst), 1000k, 1450k, 2140k, 2900k, 4100k, 6600k (best)
[cli][info] Opening stream: 6600k (hls)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2000009351/kid/70324982 (400 Client Error: Bad Request for url: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2000009351/kid/70324982)
[cli][error] Try 1/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1596519653~acl=/*~id=nhlGatewayId:3238580~data=2000009351~hmac=368e1b7480d8757d441bdf81efbc268f72aaa20f907b70146eded342041a6970/11426becaba7ffb12506e9070a093e8c/ls03/nhl/2020/08/02/NHL_GAME_VIDEO_PHIBOS_M2_NATIONAL_20200802_1595879014740/5600K/5600_complete-trimmed.m3u8')> (No data returned from stream)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2000009351/kid/70324982 (400 Client Error: Bad Request for url: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2000009351/kid/70324982)
[cli][error] Try 2/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1596519653~acl=/*~id=nhlGatewayId:3238580~data=2000009351~hmac=368e1b7480d8757d441bdf81efbc268f72aaa20f907b70146eded342041a6970/11426becaba7ffb12506e9070a093e8c/ls03/nhl/2020/08/02/NHL_GAME_VIDEO_PHIBOS_M2_NATIONAL_20200802_1595879014740/5600K/5600_complete-trimmed.m3u8')> (No data returned from stream)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2000009351/kid/70324982 (400 Client Error: Bad Request for url: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2000009351/kid/70324982)
[cli][error] Try 3/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1596519653~acl=/*~id=nhlGatewayId:3238580~data=2000009351~hmac=368e1b7480d8757d441bdf81efbc268f72aaa20f907b70146eded342041a6970/11426becaba7ffb12506e9070a093e8c/ls03/nhl/2020/08/02/NHL_GAME_VIDEO_PHIBOS_M2_NATIONAL_20200802_1595879014740/5600K/5600_complete-trimmed.m3u8')> (No data returned from stream)
error: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1596519653~acl=/*~id=nhlGatewayId:3238580~data=2000009351~hmac=368e1b7480d8757d441bdf81efbc268f72aaa20f907b70146eded342041a6970/11426becaba7ffb12506e9070a093e8c/ls03/nhl/2020/08/02/NHL_GAME_VIDEO_PHIBOS_M2_NATIONAL_20200802_1595879014740/5600K/5600_complete-trimmed.m3u8')>, tried 3 times, exiting
[cli][info] Closing currently open stream...

Help Getting Lazystream into xTeVE

I've been told that the creator of lazystream has it setup where it works together with xteve, and then can be set up through Plex DVR. I have been trying to do this for a while now, but can't seem to actually get any video.

I have figured out how to get Lazystream to generate an m3u and xml file, and can setup xteve to read both of those, and can even get Plex to see the guide, see what games are playing, etc. But there's never any video content in the m3u's.

Just wondering if you can give a bit of a quick rundown on how you can actually get lazystream to export the working m3u? I must be missing some step that makes the m3u an actual working file.

Thanks in advance!

Do the links work in Android?

The links work great in desktop VLC, but they don't work in VLC for Android. Is it normal? I always get this message: "The location [...] cannot be played."

Thanks

Append XML file versus overwriting

Would it be possible to have the generated m3u and xml files append instead of over writing so that channel numbers and order stay the same for those of use who are feeding this in to a media player front end like emby.

IE:

Scan runs at 5pm
CH1 Game 1 Feed 1
CH2 Game 1 Feed 2
no other feeds
Scan runs at 6pm
CH1 Game 1 Feed 1
CH2 Game 1 Feed 2
CH3 Game 2 Feed 1
CH4 Game 2 Feed 2
Scan runs at 7pm
CH1 Game 1 Feed 1
CH2 Game 1 Feed 2
CH3 Game 2 Feed 1
CH4 Game 2 Feed 2
CH5 Game 3 Feed 1
CH6 Game 3 Feed 2
CH7 Game 4 Feed 1
CH8 Game 4 Feed 2

ERROR: missing field `teamName` at line 1161 column 3

Not sure if this is a known issue but getting the above error when just trying to do a basic game select.

➜  lazystream git:(master) ./lazystream select --sport mlb

 |        \   __  /\ \   / ___|__ __|  _ \  ____|    \     \  |
 |       _ \     /  \   /\___ \   |   |   | __|     _ \   |\/ |
 |      ___ \   /      |       |  |   __ <  |      ___ \  |   |
_____|_/    _\____|   _| _____/  _|  _| \_\_____|_/    _\_|  _|


ERROR: missing field `teamName` at line 1161 column 3

Any idea what might be going on?

xmltv updates

  • xmltv xml file should populate with programme entries for games that are scheduled with an MLBTV / NHLTV game, even if no stream is available yet
  • fix start time in programme to be actual start time

Record - Filename

When using the record function have it label the file with the date and team names from the stream

YYYY-MM-DD - Teams

WSL - Command Line Argument (Title) Sent With No Quotes

Test Environment: WSL v2 - Ubuntu 18.04 | Host: W10 Pro
Asset Installed: v1.9.2
Command: ./lazystream play select
Error: Appears that the title command line parameter is being passed without quotes and is causing Streamlink to report invalid input parameters.
Console Output:

Passing game to VLC...

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

usage: streamlink [OPTIONS] [STREAM]
streamlink: error: unrecognized arguments: --title Winnipeg Jets @ Washington Capitals - HOME - 2020-02-25 5:00 PM

ERROR: StreamLink failed

NHL M3U Creation Fails, MLB Working

Now that NHL preseason has begun, I'm seeing that the script fails to retrieve NHL games (which are available from Lazyman/NHLGames). Trying to create an M3U causes this error:

thread 'main' panicked at 'called Option::unwrap() on a None value', src/stream.rs:324:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

MLB stream error 5000

Hi
All MLB stream get error 5000 and could not tune channel, check your antenna.

NHL are good.

Option to select audio feed

From reddit:

Is there a way to select which audio track to cast for MLB? MLB.tv feeds usually include at least 3 audio tracks on each stream: tv, radio, ambient. I believe the correct streamlink option is "--hls-audio-select" followed by the name of the track, or * if you are just watching in VLC and want all of them available. None of the pre-season feeds I have seen have had additional tracks, so it might not be something that can be tested until the season starts, but it's a really awesome feature and it would be great to have it available. Thanks.

Error running Lazystream

THis just started today

lazystream.exe --sport nhl select

| \ __ /\ \ / | _| _ \ | \ \ |
| _ \ / \ /_
\ | | | __| _ \ |/ |
| ___ \ / | | | __ < | ___ \ | |
_____|
/ _
| | _____/ | | __
|_/ __| _|

←[31mERROR←[0m: missing field shortName at line 1197 column 3

anyway you can have a look, MLB seems to be listing

n00b here looking for help!

I downloaded the ios version (apple-darwin) and in the zip are just the lazystream (terminal) and the readme. When I open the terminal, it acts as if it loads the instructions, but says "Process completed" at the bottom and I can't type any further commands (solid block).
If I open a fresh terminal window and type "$ lazystream --help" it says "-bash: lazystream: command not found"

What am I doing wrong here? Thanks for the help!

Compile / Install instructions?

Not a developer here, but am comfortable on linux command line. I can install any necessary dependencies. Can someone provide a checklist for compiling and installing?

Thanks!

Unable to create XML file for NHL

When trying to create an XML file for NHL I receive the following error, MLB is fine though.

/ # lazystream generate xmltv /playlists/lazystream/lazystream-nhl --sport mlb --date 20210926
Creating .m3u & .xml for XMLTV...
Playlist saved to: "/playlists/lazystream/lazystream-nhl.m3u"
Xmltv file saved to: "/playlists/lazystream/lazystream-nhl.xml"
/ # lazystream generate xmltv /playlists/lazystream/lazystream-nhl --sport nhl --date 20210926
Creating .m3u & .xml for XMLTV...
thread 'main' panicked at 'called Option::unwrap() on a None value', src/stream.rs:305:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
/ #

--quality 720p60 option plays adaptive stream

Hi there! It seems like that --quality 720p60 flag plays the highest bitrate available from the adaptive stream when passing to streamlink, but because it's still adaptive, it leads to some issues when I cast the stream (whether I use this app's cast function, or use the play function and cast from the VLC GUI) If possible, it'd be great if setting the quality flag would use the dedicated m3u8 for the 720p60 quality.

Context: When casting the adaptive stream to my Chromecast device (at least for me), if the quality changes VLC disconnects from the cast device for 15-30 seconds before switching to a lower bitrate which I find pretty annoying. In my experience on other devices if I force the player to use the highest quality bitrate, it'll play without buffering problems even if using the adaptive setting would downgrade to a lower quality.

Here's a modified version of what I see:

lazystream cast select --quality 720p60

{I select the game and feed and cast device}

Casting with StreamLink...

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

[cli][info] Found matching plugin hls for URL [...]/master_wired60.m3u8 name_key=bitrate
[cli][info] Available streams: 670k (worst), 1000k, 1450k, 2140k, 2900k, 4100k, 6600k (best)
[cli][info] Opening stream: 6600k (hls)
[cli][info] Starting player: vlc -I dummy --sout "#chromecast" --sout-chromecast-ip=X.X.X.X --demux-filter=demux_chromecast

Thanks!

Ability to start stream at certain time

Hey there, thank you for your work on this program. Works great and I use it often.

One thing I feel is missing is being able to start a VOD (or stream) at a certain time. Sometimes my internet connection goes down and there is no option within Lazystream to start where it left off. The seek in vlc does not seem to work either. Not being able to fast forward can make it so you have to actually watch through hours of what you've already seen.

One thing that does work is opening the url with streamlink and at the end pass:
--hls-start-offset 90m

This method is maybe not so precise and you have to estimate where you were, but it gives an option to actual find your way back in the stream.

Interested to hear if this has been an issue for anyone else and if there is a better solution.

Failed to crreate decyptor: Unable to open URL

Unable to play any streams.

$ ./lazystream play team COL
Found matching team for COL
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=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/master_wired60.m3u8 name_key=bitrate
[cli][info] Available streams: 670k (worst), 1000k, 1450k, 2140k, 2900k, 4100k, 6600k (best)
[cli][info] Opening stream: 6600k (hls)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2013044171/kid/70335957 (HTTPSConnectionPool(host='mf.svc.nhl.com', port=443): Max retries exceeded with url: /ws/media/mf/v2.3/key/silk/mediaid/2013044171/kid/70335957 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10fe35340>: Failed to establish a new connection: [Errno 61] Connection refused')))
[cli][error] Try 1/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/5600K/5600_complete.m3u8', 'https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/master_wired60.m3u8')> (No data returned from stream)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2013044171/kid/70335957 (HTTPSConnectionPool(host='mf.svc.nhl.com', port=443): Max retries exceeded with url: /ws/media/mf/v2.3/key/silk/mediaid/2013044171/kid/70335957 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10fe3dbb0>: Failed to establish a new connection: [Errno 61] Connection refused')))
[cli][error] Try 2/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/5600K/5600_complete.m3u8', 'https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/master_wired60.m3u8')> (No data returned from stream)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2013044171/kid/70335957 (HTTPSConnectionPool(host='mf.svc.nhl.com', port=443): Max retries exceeded with url: /ws/media/mf/v2.3/key/silk/mediaid/2013044171/kid/70335957 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10fe35580>: Failed to establish a new connection: [Errno 61] Connection refused')))
[cli][error] Try 3/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/5600K/5600_complete.m3u8', 'https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/master_wired60.m3u8')> (No data returned from stream)
error: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/5600K/5600_complete.m3u8', 'https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610852405~acl=/*~id=nhlGatewayId:1239075~data=2013044171~hmac=352f1f71accf23f67223ffca2eb2f584eced7379c5f3bbf7e8451cb7c98cd98f/3334990fe4fb77c0d0812593155cf529/ls03/nhl/2021/01/16/NHL_GAME_VIDEO_STLCOL_M2_HOME_20210116_1610212683078/master_wired60.m3u8')>, tried 3 times, exiting
[cli][info] Closing currently open stream...

ERROR: StreamLink failed 

720p60 Streams issue

Hi, each time i run this "lazystream.exe --sport mlb --quality 720p60 generate xmltv mlb" it seems to only give me the SD stream
same if i use 720p quality

Can you look into it please? when i check the Lazyman app itself it outputs the 720 fine

thanks

Permissions Issue with Windows Absolute File Path

Getting an error when trying to specify an absolute path in windows for recording games

lazystream.exe record team OTT C:\Users\cforsstrom\Downloads\

ERROR: Output directory is read only, please change permissions or specify a directory you have permissions for

ERROR: StreamLink failed - error: Could not open stream

[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2013031911/kid/70335172 (HTTPSConnectionPool(host='mf.svc.nhl.com', port=443): Max retries exceeded with url: /ws/media/mf/v2.3/key/silk/mediaid/2013031911/kid/70335172 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f4534be8b20>: Failed to establish a new connection: [Errno 111] Connection refused')))
[cli][error] Try 3/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610670035~acl=/*~id=nhlGatewayId:2807936~data=2013031911~hmac=bb37bb85c7c3d1aaa22444eaa3dc186b0af7c6471c0bf563edf4cf2d7068fc76/9ff2e9060f750014e4b9f86e4902d88b/ls03/nhl/2021/01/14/NHL_GAME_VIDEO_MTLTOR_M2_NATIONAL_20210114_1610207154355/5600K/5600_complete.m3u8')> (No data returned from stream)
error: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1610670035~acl=/*~id=nhlGatewayId:2807936~data=2013031911~hmac=bb37bb85c7c3d1aaa22444eaa3dc186b0af7c6471c0bf563edf4cf2d7068fc76/9ff2e9060f750014e4b9f86e4902d88b/ls03/nhl/2021/01/14/NHL_GAME_VIDEO_MTLTOR_M2_NATIONAL_20210114_1610207154355/5600K/5600_complete.m3u8')>, tried 3 times, exiting
[cli][info] Closing currently open stream...

ERROR: StreamLink failed

M3U Output With Highest Quality Produces Broken Composite Links

When M3U output is selected with --quality 720p60 option, the returned composite stream links are broken. The maximum quality available is 3500K, and so hard-coding 5600 into the link won't work. Perhaps a conditional statement to replace 5600 with 3500 in the link generator for composite links would do the trick.

Pass quality setting to Streamlink

Currently the --quality setting only affects select subcommand with --resolve to get the link returned in console. It should be easy to pass this to Streamlink so user can specify a specific quality for record, cast, and play commands.

Error

Was going to list some pre season games and received this error

�[31mERROR�[0m: Failed to get team response.

Could this be related to NHL is now at 32 teams?

URL returns "Not available yet"

Hello,
I understand this is only implicitly related to lazystream; any help is appreciated but not expected.

I am unable to use the URL to view streams. Plugging the URL into my browser yields "Not available yet" even when the game is playing and readily accessible via LazyMan on Windows.

query

My hosts file is properly edited. However, I am unable to open streams via LazyMan on Linux either (Pop!_OS LTS), receiving the "Failed to create decryptor" error (See #54 ).

Again, I apologize for the tangential relevance. Thanks for all your work.

EDIT: I guess I'm wondering if anyone can enlighten me on what exactly the process is once this URL is acquired, in terms of hosts/proxies/etc., because I don't really understand it.

MLB issues(?)

Just wondering if this is expected:

➜ ./lazystream select --sport mlb

 |        \   __  /\ \   / ___|__ __|  _ \  ____|    \     \  |
 |       _ \     /  \   /\___ \   |   |   | __|     _ \   |\/ |
 |      ___ \   /      |       |  |   __ <  |      ___ \  |   |
_____|_/    _\____|   _| _____/  _|  _| \_\_____|_/    _\_|  _|


ERROR: missing field `abbreviation` at line 1 column 673

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.