SAFScriptsDocs

SAF TV

Every TV in the map becomes a smart TV the whole room watches together.

Status
Released
Version
1.0.0
Resource
saf-tv
Frameworks
Qbox, QBCore, ESX, ND Core, ox_core, standalone
Inventories
ox_inventory, qb, ps, lj, qs, codem, core, tgiann, jaksam, origen, ESX default or none
Optional
ox_target or qb-target
Database
Not needed
Open files
config.lua, bridge/, custom/
The SAF OS home screen on a TV, with the clock, a row of videos and the app shelf
On this page

Every TV in the map runs SAF OS, a smart TV home screen. Walk up to a TV, use it, and everyone in the room watches with you. Videos, radio and web pages play at the same spot for every player nearby, with sound that fades with distance.

What it does

FeatureWhat players get
Synced playbackEveryone nearby sees and hears the same thing at the same moment
Use the TV itselfThe camera frames the screen. Point, click, scroll and type on it, or use the arrow keys like a remote
AppsVinewood Video (YouTube), Weazel News and CNT channels, Eyefind browser, Radio, Media Player, Settings
Live TVPaste an IPTV playlist (.m3u) into the Media Player for a channel guide with logos and search
Home screenRows of videos, a top shelf for the current app, a clock and a screensaver
Placeable TVsFour TV items players set up on floors, tables, shelves or walls. Saved across restarts
No API keysYouTube search and rows go through your server, with no key, and are cached
Showcase tourOne key makes the TV drive itself through every app, for recording a trailer

Apps

The home screen apps are set in Config.Apps. Each app has a kind: video browsing, a channel-style feed built from a search, a web browser, the radio, a link player or settings. You can rename, reorder and recolour them, or add your own feed and web apps.

Vinewood Video browsing a row of videos
FIG 01Vinewood Video: rows come from YouTube searches you set in config.lua

Radio

Eight stations named after the in-game radio. Each one plays whatever live stream tops its search, so a station never goes stale.

The Radio app with eight stations
FIG 02The Radio app

Next steps

SAF Scripts by San Andreas' Finest StoreDiscordsupprot@safrp.org

Not affiliated with or endorsed by Rockstar Games, Take-Two Interactive or Cfx.re.