Metadata-Version: 2.1
Name: ccacb
Version: 0.6.10
Summary: Watches the clipboard for youtube urls and downloads them
Home-page: https://github.com/ccdale/ccacb
License: GPL-3.0-or-later
Author: Chris Allison
Author-email: chris.charles.allison+ccacb@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: ccaconfig (>=0.3.3,<0.4.0)
Requires-Dist: ccalogging (>=0.3.3,<0.4.0)
Requires-Dist: pyperclip (>=1.8.0,<2.0.0)
Project-URL: Repository, https://github.com/ccdale/ccacb
Description-Content-Type: text/markdown

# ytcb
Watches the clipboard for youtube urls and downloads them.

Will now auto-update youtube-dl on startup

## install

from pypi:

```
python3 -m pip install ccacb --user --upgrade
```

from the repo (requires poetry):
```
git clone https://github.com/ccdale/ccacb.git
cd ccacb
poetry install
poetry build
python3 -m pip install dist/ccacb-0.6.6-py3-none-any.whl --user --upgrade
```

## config
edit `~/.config/ytcb.yaml`

```
---
youtubedl: /home/chris/bin/youtube-dl
incoming: /home/chris/Videos
```

## example

```
$ ytcb
08/05/2020 13:47:55 [INFO ]  ytcb - youtube-dl clipboard queue processor 0.6.3
08/05/2020 13:47:55 [INFO ]  reading /home/chris/.config/ytcb.yaml
08/05/2020 13:47:55 [INFO ]  Using /home/chris/bin/youtube-dl
08/05/2020 13:47:55 [INFO ]  youtube-dl will store files in /home/chris/Videos/kmedia/incoming

<CTRL>-c

08/05/2020 13:48:11 [INFO ]  Interrupted: Will finish off the Q, then exit
08/05/2020 13:48:12 [INFO ]  ytcb has finished
```

