Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rk0n/yttv
- Owner: rk0n
- Created: 2022-04-12T19:12:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-16T21:48:37.000Z (over 2 years ago)
- Last Synced: 2024-06-28T09:33:59.015Z (5 months ago)
- Topics: docker, docker-compose, firefox, pulseaudio, python, youtube, youtube-tv
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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