# GrPopPro

Watch movies and series with greek subtitles using mpv

In order to change menus just leave the relevant menu uncommented

In order to change player to vlc just replace the player variable to vlc in the relevant part of the code

If you want to run on termux make sure [mpv](https://f-droid.org/en/packages/is.xyz.mpv/) is installed on your device and fzf will be installed automatically if not already installed via `pkg install fzf` or `apt install fzf`

## Demo

[Interactive menu for series using dmenu](./assets/video-220502-0258-55.mp4)

[Running on termux](./assets/ScreenRecord-20220502-032628.mp4)

[With Keybindings](./assets/video-220914-0216-49.mp4)

## Installation

```sh
git clone https://git.konsthol.eu/konsthol/GrPopPro
cd GrPopPro
sudo cp grpoppro /usr/bin/
(Or cp grpoppro anywhere in your $PATH)
```

## Usage

To watch a movie `grpoppro "Name of movie"`

To watch a series `grpoppro "Name of series" season episode`

> Episodes must be in formatted as 01 02 03
**

To watch a series interactively

```sh
grpoppro --menu
```

To continue a series interactively

```sh
grpoppro --resume
```

To continue unfinished series episode

```sh
grpoppro --finish
```

## Dependencies

* curl
* mpv
* grep
* awk
* sed
* rofi or dmenu or fzf

## Credits go to 

* [Drew](https://gitlab.com/uoou)

As this script is based on his [pop](https://gitlab.com/uoou/dotfiles/-/raw/master/stow/bin/home/drew/.local/bin/pop) script

* [CoverApi](https://coverapi.store/)

As they provide the movie and series database

* [IMDB](https://www.imdb.com/)

As they provide the ids
