Adding Music

The phone doesn't include any music by default due to copyright reasons. You can add your own music to the app by following these steps:

Add audio files

Add the audio files to the lb-phone/ui/dist/assets/sound/songs folder. If you want, you can use direct links to the audio files instead. This makes it so users don't have to download the audo files when joining the server.

Add artists

Add the artists to the lb-phone/config/music.lua file. Add the following to the Music.Artists table:

lb-phone/config/music.lua
["Artist Name"] = { -- The name of the artist
    Avatar = "avatar.jpg" -- optional. a link to the artist's avatar
}

Add songs to config

After adding the audio files and artists, you need to add the songs to the lb-phone/config/music.lua file. Add the following to the Music.Songs table:

lb-phone/config/music.lua
["filename.mp3"] = { -- The name of the song
	Title = "Song Name", -- The name of the song
	Artist = "Artist Name", -- The name of the artist
	Album = "Album Name" -- optional. The name of the album the song belongs to
	Cover = "cover.jpg" -- optional. a link to the song's cover
}

(optional) Add albums

If you want the songs to be categorized into albums, you can add albums to the lb-phone/config/music.lua file. Add the following to the Music.Albums table:

lb-phone/config/music.lua
["Album Name"] = { -- The name of the album
	Artist = "Artist Name", -- The name of the artist
	Cover = "cover.jpg" -- a link to the album's cover
}