Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 2 KB

README.md

File metadata and controls

44 lines (28 loc) · 2 KB

Advanced Music Player

An advanced music player in source engine game.

YouTube Video

Build Status Download
Build Status Download

Requirements

Extensions

Recommend Plugins

  • MapMusic - To control map music when player is playing.
  • Store - Cost credits to broadcast music.

Installation

  • Download and install requirements.
  • Download latest build.
  • Download ffmpeg precompiled (windows | linux) and upload ffmpeg.exe (for windows) or ffmpeg (for linux) to addons/sourcemod/data/audio_ext.
  • Upload web patch to your web host. (If you want to use our music server, ship this. Recommend using our music server)
  • Upload smx plugin to your {game dir}/addons/sourcemod/plugins .
  • Start your server.

Commands

  • sm_music - Open main menu. [alias: sm_dj / sm_media]
  • sm_adminmusicstop - [Ban flag] Stop broadcasting.
  • sm_musicban - [Ban flag] Bans the selected player from broadcasting. [Usage: sm_musicban <steamid|userid>]

Console Variables

  • amp_api_engine - Url for music engine API.
  • amp_lrc_delay - How many second(s) delay to display lyric on lyric loaded, use to adjust lyrics.
  • amp_mnt_search - How many songs will display in once search.
  • amp_cost_factor - How much for broadcasting song (per second).