tarkah / lazystream

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 <admin@tarkah.dev>
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.

About

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


Languages

Language:Rust 100.0%