Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tarkah/lazystream
Easily get LazyMan stream links, output directly or to m3u / xmltv formats. Streams can also be recorded or casted.
https://github.com/tarkah/lazystream
lazyman mlb nhl sports
Last synced: about 1 month ago
JSON representation
Easily get LazyMan stream links, output directly or to m3u / xmltv formats. Streams can also be recorded or casted.
- Host: GitHub
- URL: https://github.com/tarkah/lazystream
- Owner: tarkah
- Created: 2019-12-05T20:46:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-03T16:38:39.000Z (almost 2 years ago)
- Last Synced: 2024-02-13T21:44:44.787Z (7 months ago)
- Topics: lazyman, mlb, nhl, sports
- Language: Rust
- Homepage:
- Size: 249 KB
- Stars: 104
- Watchers: 13
- Forks: 17
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LazyStream
![Test](https://github.com/tarkah/lazystream/workflows/Test/badge.svg)- [Download](#download)
- [Overview](#overview)
- [Shell Completions](#shell-completions)
- [xTeVe Setup for Plex / Emby](#xteve-setup-for-plex--emby)## 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](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 --helplazystream
tarkah
Easily get LazyMan stream links, output directly or to m3u / xmltv formats. Streams can also be recorded or casted.USAGE:
lazystream [FLAGS] [OPTIONS]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 informationOPTIONS:
--sport Specify which sport to get streams for [default: nhl] [possible values: mlb, nhl]
--date Specify what date to use for games, defaults to today
--cdn Specify which CDN to use [default: akc] [possible values: akc, l3c]
--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](https://github.com/taylorbourne) / [xteve_lazystream](https://github.com/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.