Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rk0n/yttv

Python API for YouTubeTV
https://github.com/rk0n/yttv

docker docker-compose firefox pulseaudio python youtube youtube-tv

Last synced: 3 months ago
JSON representation

Python API for YouTubeTV

Awesome Lists containing this project

README

        

# YTTV
Python API for YouTubeTV (https://youtube.com/tv)

## Installation
```bash
poetry install
wget https://github.com/gorhill/uBlock/releases/download/1.42.4/uBlock0_1.42.4.firefox.signed.xpi
poetry run python yttv.py
```

## Testing
```bash
poetry run pytest
```

## docker
### docker-compose
```bash
chmod +x fifo.sh
./fifo.sh
docker-compose up -d
cat .yttv_config/sockets/yttv-client.0.audio
cat .yttv_config/sockets/yttv-client.1.audio
Connect to YtTV using the YouTube App on Android/iOS -> Connect using TV Code
Get TV Code from docker logs output
```

## Todo
### 0.0.1
- [X] Get YouTube TV Page
- [X] Go to Settings
- [X] Get TV Code
- [X] Add script block
- [X] Get multiple TV Code
- [X] Persistence
- [X] Dockerize
- [X] Add automated XPI Download
- [X] Add Tests
- [ ] Add Docs
- [ ] Add Versioning
- [ ] Make python package
### 0.0.X
- [ ] Enhance Tests
- [ ] Enhance crawling template creation (Maybe use accesible_name)
- [ ] Enhance speed (check if site is fully rendered)
- [ ] Enhance dockerfile (check if site is fully rendered)
### 0.1.X
- [ ] Think about new options and add them