All Projects → deterenkelt → Watchfromcli

deterenkelt / Watchfromcli

Licence: gpl-3.0
CLI for comfy using mpv

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Watchfromcli

Mpc Qt
Media Player Classic Qute Theater
Stars: ✭ 345 (+3036.36%)
Mutual labels:  mpv
Bilidan
Play videos on Bilibili.com with MPV and Danmaku2ASS
Stars: ✭ 525 (+4672.73%)
Mutual labels:  mpv
Vidcutter
Been busy guys, will be reviewing and integrating pull requests shortly. Thanks to all contributors! LATEST RELEASE: 6.0.0 - flatpak @ https://flathub.org/apps/details/com.ozmartians.VidCutter - snap @ https://snapcraft.io/vidcutter - see https://github.com/ozmartian/vidcutter/releases for more details...
Stars: ✭ 775 (+6945.45%)
Mutual labels:  mpv
Mpv thumbnail script
A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies
Stars: ✭ 350 (+3081.82%)
Mutual labels:  mpv
Maraschino
A front-end for HTPCs
Stars: ✭ 433 (+3836.36%)
Mutual labels:  episodes
Xiaobaiyang2
6pan 6盘小白羊 第二版 vue3+antd+typescript
Stars: ✭ 536 (+4772.73%)
Mutual labels:  mpv
Mpv.js
🎥 mpv pepper plugin
Stars: ✭ 323 (+2836.36%)
Mutual labels:  mpv
Flox
Self Hosted Movie, Series and Anime Watch List
Stars: ✭ 901 (+8090.91%)
Mutual labels:  episodes
Jellyfin Desktop
MPV-based desktop and cast client for Jellyfin
Stars: ✭ 510 (+4536.36%)
Mutual labels:  mpv
Mpv.net
🎞 mpv.net is a modern media player for Windows that works just like mpv.
Stars: ✭ 737 (+6600%)
Mutual labels:  mpv
Kawaii Player
Multimedia player, media library manager and portable media server with PC-To-PC casting feature.
Stars: ✭ 397 (+3509.09%)
Mutual labels:  mpv
Bilibili Mac Client
An unofficial bilibili client for mac
Stars: ✭ 3,967 (+35963.64%)
Mutual labels:  mpv
Celluloid
A simple GTK+ frontend for mpv
Stars: ✭ 541 (+4818.18%)
Mutual labels:  mpv
Movie Monad
📺 A free and simple to use video player made with Haskell.
Stars: ✭ 347 (+3054.55%)
Mutual labels:  mpv
Mpvipc
Golang implementation of the mpv video player's JSON IPC interface
Stars: ✭ 6 (-45.45%)
Mutual labels:  mpv
Mpv Easy Player
MPV-EASY Player - A movie player based on mpv
Stars: ✭ 324 (+2845.45%)
Mutual labels:  mpv
Popcorn Api
Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player. Compatible API Anime/Movies/Show Scrapper
Stars: ✭ 529 (+4709.09%)
Mutual labels:  episodes
Trim.lua
Trim mode for mpv — Turn mpv into Lossless Audio / Video Editor.
Stars: ✭ 24 (+118.18%)
Mutual labels:  mpv
Media Autobuild suite
This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
Stars: ✭ 900 (+8081.82%)
Mutual labels:  mpv
Iina
The modern video player for macOS.
Stars: ✭ 28,688 (+260700%)
Mutual labels:  mpv

watchfromcli.sh

A shell wrapper for mpv/MPlayer to run videos easy via CLI.

The main goal of this project was to access any video file in the depths of a certain folder by giving only a short keyword. And make as little movements as possible.

And this is it – the simplest command, that takes only one argument, a keyword.

First thing it does is looking for files and folders inside a basepath (the only thing that must be provided, aside from the keyword). That’s how it looks after setting up an alias (described in the wiki).

It works not only with single video files, but also with folders having disk structure. For folders with episodes watchfromcli.sh can start a cycle, in which it will play one file after another through a short pause, in the time of which it can be stopped. The watching cycle can also be stopped by quitting the player, or even killing it – watchfromcli.sh recognizes when it quits normally or is closed in the middle of an episode. That helps to resume the cycle on the right episode.

watchfromcli.sh maintains a journal, where it stores session data. It provides information needed to resume the interrupted watching cycle.

Having a keyword and being able to distinguish episode number sequences in file names enables this script to load exactly those subtitles and tracks, which are needed. This is a big step forward from the video players’ beloved paradigm ‘load by exact name or the whole bunch’.

If you’re already interested – learn more in the wiki!

N-no?.. Then how about…

  • storing screenshots to separate folders;
  • compressing them with pngcrush to reduce the size of PNGs;
  • or converting them to JPEGs with a given quality value;
  • and running such jobs in parallel to utilize all available CPU cores;
  • printing the last shown episode number in big ASCII-art (thanks to figlet);
  • three levels of heuristics to guess the right sequence of episodes;
  • ignoring disk structure and play BDMV or DVD like folders with episodes;

and, proabably, twice as much other options that tweak little things.


Running the script in ‘novice’ mode.


I hope you’ll like it.

Visit the wiki.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Y U NO GO TO THE WIKI?

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].