Client
ComputerCraft client for YouCube
Install / Use
/learn @CC-YouCube/ClientREADME
YouCube
YouCube streams media from services like YouTube to ComputerCraft: Tweaked.
Project Status: Proof of concept

Installation
The client can be installed by running the following command:
pastebin run swsmNAf7
or
wget run https://raw.githubusercontent.com/CC-YouCube/installer/main/src/installer.lua
Starting the Client
youcube
Libraries
All libraries that are used by the client.
| Library | |-------------------------------------------------------------------------------------------------------| | argparse | | numberformatter | | semver | | youcubeapi | | string_pack |
UnicornPKG (Experimental)
YouCube can be installed with unicornpkg.
Just run hoof install youcube to install it.
LevelOS / lStore
On LevelOS YouCube can be installed by running lStore get YouCube <path> or lStore get bpBYV1aG <path> or by Using the StoreUI.

Settings
Settings that can be set with the CC: Tweaked settings module
| Name | Default | Description |
|------------------------|---------|---------------------------------------------------|
| youcube.server | | First server that should be used |
| youcube.keys.skip | 32 (d) | Key code to skip song |
| youcube.keys.back | 30 (a) | Key code to head to previous song |
| youcube.keys.restart | 19 (r) | Restarts the current song |
| youcube.max_back | 32 | Maximum ammount of songs that can be gone back to |
Events
List of events that are queued by youcube
| Name | Arguments | Description |
|--------------------------|-----------|-------------------------------------------------|
| youcube:vid_eof | data | Called, when Video playback has ended |
| youcube:audio_eof | data | Called, when Audio playback has ended |
| youcube:fill_buffers | | Internal event (called when buffers are filled) |
| youcube:status | data | Status of the serversided media download |
| youcube:playback_ended | | Called, when all playback has ended |
| youcube:vid_playing | data | Called, when Video playback has started |
| youcube:audio_playing | data | Called, when Audio playback has started |
| youcube:playing | | Called, when playback has started |
