20/03/2025, 14:59
(20/03/2025, 14:33)CrazyCat a écrit : Sinon, tu peux peut-être montrer le config.json de ton kiwiirc, tu as peut-être tout simplement oublié de mettre le port dans plugin-radio.url.le voici:
Mon premier exemple (avec "Aucune radio sélectionnée") était sans radio, le stations.json était celui de l'exemple initial. Même si les radios ne sont pas atteignables, le plugin est censé s'afficher.
Code :
{
"windowTitle": "Web IRC RadioSlm",
"startupScreen": "welcome",
"kiwiServer": "/webirc/kiwiirc/",
"restricted": true,
"hide_advanced": true,
"theme": "default",
"themes": [
{ "name": "Default", "url": "static/themes/default" },
{ "name": "Dark", "url": "static/themes/dark" },
{ "name": "Coffee", "url": "static/themes/coffee" },
{ "name": "GrayFox", "url": "static/themes/grayfox" },
{ "name": "Nightswatch", "url": "static/themes/nightswatch" },
{ "name": "Osprey", "url": "static/themes/osprey" },
{ "name": "Radioactive", "url": "static/themes/radioactive" },
{ "name": "Sky", "url": "static/themes/sky" }
],
"startupOptions" : {
"server": "irc.radioslm.fr",
"port": "6667",
"channel": "#radioslm",
"nick": "votre-peudo-ici",
"greetingText": "Hello!",
"infoBackground": "antiab.png",
"infoContent": "<h3>bienvenue sur radioSlm!</h3><p>visitez notre site: http://www.radioslm.fr</p>"
},
"plugins" : [
{"name": "stations.json", "url": "static/stations.json" },
{"name": "plugin-radio.js", "url": "static/plugins/plugin-radio.js" },
{"name": "plugin-channels-sidebar.html", "url": "static/plugins/plugin-channels-sidebar.html" },
{"name": "plugin-imgur.html", "url": "static/plugins/plugin-imgur.html" }
],
"plugin-radio": {
// URL path to stations.json file
"url": "//radioslm.fr/static/stations.json",
// Initial volume for the player (0 to 1)
"volume": 0.4,
// Station names to be starred by default
"starred": [],
// Initially selected station name
// if none is set then a random station will be selected on play
"active": "RadioSLM",
// Should the equalizer wave be shown behind the station name
"showWave": true,
// Should the radio start playing soon as the user connects
// note: this option does require some user interaction on the page
"autoPlay": true,
// Force the above volume to be set on startup overriding any volume
// saved from the last session
"forceVolume": false,
// Reload stations.json when opening the stations browser
"reloadOnOpen": false,
// Force show the close button on stations browser
"forceShowClose": false,
}
}
ce que je n'arrivais pas quand il était dans le dossier usr/share