Skip to content

BzzzThe18th/mov-cli-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CLI tool for watching anime, movies and TV heavily inspired by ani-cli and mov-cli, written in rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages