Code Monkey home page Code Monkey logo

lazystream's Introduction

LazyStream

Build Status

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 1.10.5
tarkah <[email protected]>
Easily get LazyMan stream links, output directly or to m3u / xmltv formats. Streams can also be recorded or casted.

USAGE:
    lazystream [OPTIONS] <SUBCOMMAND>

FLAGS:
    -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

tarkah avatar

Watchers

James Cloos avatar

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.