⚙️Configuration
Configuration guide of Boombox System.
STG = {}
STG.Language = "en" -- en, de, fr, es, pt, it, nl, pl, sv, ar, jp, zh, he, fi
STG.boomboxModel = "qua_jblspeaker" -- special model for stg-boombox
STG.Categories = {
[1] = {
name = "pop",
label = "Pop",
color = "green" -- theme color of the category
},
[2] = {
name = "hiphop",
label = "Hip-Hop",
color = "#29007a" -- theme color of the category
},
[3] = {
name = "rock",
label = "Rock",
color = "blue" -- theme color of the category
},
[4] = {
name = "kpop",
label = "K-Pop",
color = "orange" -- theme color of the category
},
[5] = {
name = "love",
label = "Love",
color = "red" -- theme color of the category
},
[6] = {
name = "metal",
label = "Metal",
color = "#059d9d" -- theme color of the category
},
}
-- Notification and Help Notify Functions
STG.Functions = {
["helpNotify"] = function(message, icon)
lib.showTextUI(message, {
position = "right-center",
icon = "radio",
style = {
borderRadius = 1,
whiteSpace = 'pre-line'
}
})
end,
["hideHelpNotify"] = function()
lib.hideTextUI()
end,
["notify"] = function(type, message)
lib.notify({
title = getMessage('notify_title'),
icon = 'radio',
description = message,
type = type,
duration = 5000,
})
end
}Last updated