Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 4.66 KB

README.md

File metadata and controls

88 lines (61 loc) · 4.66 KB

YouCube

CC: Tweaked Version: 1.100+ or CC: Tweaked Version: 1.80pr1.3+ + Computronics Version: 0.1.0+

Page deployment Illuaminate lint

YouCube streams media from services like YouTube to ComputerCraft: Tweaked.
Project Status: Proof of concept

preview

YouCube.mp4

Installation

The client can be installed by running the following command:

pastebin run swsmNAf7

or

wget run https://raw.githubusercontent.com/Commandcracker/YouCube/main/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

lStore Package

On LevelOS YouCube can be installed by running lStore get YouCube <path> or lStore get bpBYV1aG <path> or by Using the StoreUI.

preview

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.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