Live For Speed InSim application combining a real-time server map with an integrated internet radio player.
Download the latest version from the Releases page.
- Live Map - Real-time positioning of all players on the server
- 9 Supported Tracks - Blackwood, South City, Fern Bay, Aston, Kyoto, Westhill, Autocross, Rockingham, Layout Square
- Internet Radio - 30,000+ international stations + Czech stations (Abradia.cz)
- InSim GUI - Control the radio directly inside LFS
- Metadata - "Now Playing" overlay with song info
- Multilingual - English / Czech support
- Player Tracking - Click on a player in the list to auto-follow camera
This application runs on Node.js.
- Node.js (Version 18 or newer): Download Here
- MPV Player (Recommended for Radio):
choco install mpv(or add to PATH)
- Download the latest ZIP from Releases
- Extract the ZIP content to a folder.
- Double-click
START.batto launch the server. - In LFS chat, type:
/insim 29999 - Open browser:
http://localhost:3000
# 1. Clone repo
git clone https://github.com/VlastikYoutubeKo/lfs-lmar.git
cd lfs-live-map-radio
# 2. Install dependencies
npm install
# 3. Run dev server
npm start
/o gui- Reset GUI if it disappears/o np- Show "Now Playing" overlay manually
- Click the [R] icon in the top-right corner of LFS screen
- Select Category: Favorites, Recent, Abradia.cz, or Search.
- Volume Control: +/- buttons
- Language: Switch between EN/CZ
Control your Spotify playback directly from the radio interface and in-game!
Setup:
- See
readme_spotify.txtfor full setup instructions - Create a free Spotify Developer app at https://developer.spotify.com/dashboard
- Add your Client ID and Client Secret to
radio_config.json - Enable Spotify integration and authenticate via the radio web interface
Features:
- Play/Pause control
- Next/Previous track
- Volume control
- Real-time "Now Playing" display with album artwork
- Works both in web interface and InSim GUI
- Optional - can be enabled/disabled with a toggle switch
Requirements:
- Spotify Premium account (required for Web API playback control)
- Active Spotify device (desktop app, mobile, or web player)
- Zoom: Mouse wheel or +/- buttons
- Pan: Click and drag
- Reset View: Home button (โ)
- Follow Player: Click player name in the sidebar list
If the app doesn't connect automatically, type this in LFS:
/insim 29999
lfs-live-map-radio/
โโโ server.js # Main server logic
โโโ START.bat # Launcher script
โโโ public/ # Web interface files
โโโ radio_browser.js # Radio API
โโโ abradia_api.js # Czech Radio API
โโโ .github/workflows/ # CI/CD
- Node.js - Runtime
- node-insim - LFS InSim protocol
- WebSocket - Real-time communication
- Canvas API - Map rendering
- MPV - Audio playback
The radio_config.json file is generated automatically on the first run.
{
"favorites": [],
"recent": [],
"lang": "en"
}
- Ensure you have installed Node.js from nodejs.org.
- Restart your computer after installation.
- Install MPV player and ensure it is in your system PATH.
-
- Use choco
choco install mpv
- Use choco
- Check the browser console (F12) for errors.
- Ensure port 3000 is not used by another application.
MIT License - Vlastimil ยฉ 2025
- GitHub Issues: Report Bug
Made with โค๏ธ for the Live For Speed Community