mov-cli-rs

Crates.iomov-cli-rs
lib.rsmov-cli-rs
version1.0.1
sourcesrc
created_at2024-03-23 08:56:42.893831
updated_at2024-03-24 07:55:18.090689
descriptionA CLI tool for scraping and playing TV, movies and anime.
homepage
repositoryhttps://github.com/BzzzThe18th/mov-cli-rs
max_upload_size
id1183434
size96,880
BzzzThe18th (BzzzThe18th)

documentation

README

mov-cli-rs

Stargazers Issues LGPLv2.1 License
Report Bug ยท Request Feature


[!Note] this is currently a very early in-progress tool that is being developed as I learn rust, issues will arise

Installation

Installing mov-cli-rs is as easy as ensuring cargo and rust are both installed and running cargo install mov-cli-rs in your terminal. Before running this, ensure you have all the dependencies listed below.

Dependencies

  • Supported OS:
    • Linux (not tested)
    • Windows
  • rust (required)
  • fzf (required)
  • mpv (recommended - only extraction will work without mpv)

Usage

The basic CLI command is just mov-cli-rs, the only required argument is the search term. The most basic usage of this can look like mov-cli-rs "bee and puppycat".

Extraction Argument

The --extract argument prints the playlist URL to your terminal instead of opening the player with the URL.

Quality Argument

The -q or --quality argument allows you to specify a quality that will be selected if found, if not, it will default to the highest quality. Values for this argument look like 720p or auto, so -q 360p would use the 360p URL if available.

First Argument

The -f or --first argument selects the first result instead of displaying the series menu.

Season Argument

The -s or --season argument selects the specified season instead of diplsaying the season menu.

Episode Argument

The -e or --episode argument selects the specified episode instead of displaying the episode menu.

Examples

If you wanted to, for example, play season 21 episode 3 of south park at 720p and you know it'll be the first result, you could use

mov-cli-rs "south park" -f -s 21 -e 3 -q 720p

TODO

  • Playlist extract argument
  • Media FZF menu
  • Quality argument
  • Finish README
  • Download argument
  • More source resolving
  • More player support
  • Promotion poster display
  • Better documented code

Contribution

I'm new to having contributors on any of my projects, I will welcome it but may require guidance or assistance on how to structure the repository to make it easier to contribute.

Credit

Commit count: 49

cargo fmt