mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
206 lines
4.2 KiB
JSON
206 lines
4.2 KiB
JSON
{
|
|
"settings": [
|
|
{
|
|
"id": "theme",
|
|
"label": "Theme",
|
|
"description": "",
|
|
"type": "select",
|
|
"options": [
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "compact",
|
|
"label": "Compact"
|
|
},
|
|
{
|
|
"value": "simple",
|
|
"label": "Simple"
|
|
},
|
|
{
|
|
"value": "card",
|
|
"label": "Card"
|
|
}
|
|
],
|
|
"defaultValue": "standard",
|
|
"group": "Appearance"
|
|
},
|
|
{
|
|
"id": "font",
|
|
"label": "Font",
|
|
"description": "",
|
|
"type": "text",
|
|
"defaultValue": "",
|
|
"group": "Appearance"
|
|
},
|
|
{
|
|
"id": "fontSize",
|
|
"label": "Font Size",
|
|
"description": "",
|
|
"type": "number",
|
|
"min": 0,
|
|
"defaultValue": 20,
|
|
"group": "Appearance"
|
|
},
|
|
{
|
|
"id": "maxWidth",
|
|
"label": "Max Width",
|
|
"description": "Set to 0 to utilize full browser width",
|
|
"type": "number",
|
|
"min": 0,
|
|
"defaultValue": 500,
|
|
"group": "Appearance"
|
|
},
|
|
{
|
|
"id": "textAlignment",
|
|
"label": "Text Alignment",
|
|
"description": "",
|
|
"type": "select",
|
|
"options": [
|
|
{
|
|
"value": "left",
|
|
"label": "Left"
|
|
},
|
|
{
|
|
"value": "center",
|
|
"label": "Center"
|
|
},
|
|
{
|
|
"value": "right",
|
|
"label": "Right"
|
|
}
|
|
],
|
|
"defaultValue": "left",
|
|
"group": "Appearance"
|
|
},
|
|
{
|
|
"id": "targetApplication",
|
|
"label": "Target Application",
|
|
"description": "Specific app to track. Leave empty to automatically follow the active player.<br><a href='http://127.0.0.1:5000/sessions' target='_blank' style='color: #4da6ff; text-decoration: underline;'>View active sources</a>",
|
|
"type": "text",
|
|
"placeholder": "e.g., Spotify.exe",
|
|
"defaultValue": "",
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "showAlbumArt",
|
|
"label": "Show Album Art",
|
|
"description": "",
|
|
"type": "checkbox",
|
|
"defaultValue": true,
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "showProgressBar",
|
|
"label": "Show Progress Bar",
|
|
"description": "Some apps do not display progress info correctly.",
|
|
"type": "checkbox",
|
|
"defaultValue": true,
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "swapArtistTrack",
|
|
"label": "Swap Artist and Track",
|
|
"description": "Displays Artist above Track instead of Track above Artist.",
|
|
"type": "checkbox",
|
|
"defaultValue": false,
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "showPrimary",
|
|
"label": "Show Primary Text",
|
|
"description": "",
|
|
"type": "checkbox",
|
|
"defaultValue": true,
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "showSecondary",
|
|
"label": "Show Secondary Text",
|
|
"description": "",
|
|
"type": "checkbox",
|
|
"defaultValue": true,
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "autoHide",
|
|
"label": "Auto-Hide on Track Change",
|
|
"description": "If enabled, the widget will show for a set duration whenever a new track starts.",
|
|
"type": "checkbox",
|
|
"defaultValue": false,
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "displayDuration",
|
|
"label": "Display Duration (seconds)",
|
|
"description": "How long the widget should remain visible.",
|
|
"type": "number",
|
|
"min": 1,
|
|
"max": 60,
|
|
"defaultValue": 5,
|
|
"showIf": "autoHide",
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "showAnimation",
|
|
"label": "Show Animation",
|
|
"description": "",
|
|
"type": "select",
|
|
"options": [
|
|
{
|
|
"value": "fade-in",
|
|
"label": "Fade In"
|
|
},
|
|
{
|
|
"value": "slide-in-from-top",
|
|
"label": "Slide In From Top"
|
|
},
|
|
{
|
|
"value": "slide-in-from-bottom",
|
|
"label": "Slide In From Bottom"
|
|
},
|
|
{
|
|
"value": "slide-in-from-left",
|
|
"label": "Slide In From Left"
|
|
},
|
|
{
|
|
"value": "slide-in-from-right",
|
|
"label": "Slide In From Right"
|
|
}
|
|
],
|
|
"defaultValue": "slide-in-from-bottom",
|
|
"group": "General"
|
|
},
|
|
{
|
|
"id": "hideAnimation",
|
|
"label": "Hide Animation",
|
|
"description": "",
|
|
"type": "select",
|
|
"options": [
|
|
{
|
|
"value": "fade-out",
|
|
"label": "Fade Out"
|
|
},
|
|
{
|
|
"value": "slide-out-top",
|
|
"label": "Slide Out Top"
|
|
},
|
|
{
|
|
"value": "slide-out-bottom",
|
|
"label": "Slide Out Down"
|
|
},
|
|
{
|
|
"value": "slide-out-left",
|
|
"label": "Slide Out Left"
|
|
},
|
|
{
|
|
"value": "slide-out-right",
|
|
"label": "Slide Out Right"
|
|
}
|
|
],
|
|
"defaultValue": "slide-out-bottom",
|
|
"group": "General"
|
|
}
|
|
]
|
|
} |