[Résolu] plugin radio kiwiirc
#16
(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.
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.
le voici:
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,
}
}
 Alors d'avoir placé le dossier kiwiirc dans le dossier du site j'arrive du coup a afficher stations.json dans le navigateur en l'appelant avec kiwiirc/static/stations.json à la suite de l'adresse du site et au passage ça m'a signalé une erreur que j'ai rectifié, il manquait le ] de fin
ce que je n'arrivais pas quand il était dans le dossier usr/share
Avertir


Messages dans ce sujet
plugin radio kiwiirc - par berni83 - 16/03/2025, 17:49
RE: plugin radio kiwiirc - par CrazyCat - 16/03/2025, 19:48
RE: plugin radio kiwiirc - par berni83 - 18/03/2025, 12:36
RE: plugin radio kiwiirc - par CrazyCat - 18/03/2025, 13:23
RE: plugin radio kiwiirc - par berni83 - 19/03/2025, 13:28
RE: plugin radio kiwiirc - par CrazyCat - 19/03/2025, 14:07
RE: plugin radio kiwiirc - par berni83 - 19/03/2025, 15:19
RE: plugin radio kiwiirc - par CrazyCat - 19/03/2025, 16:14
RE: plugin radio kiwiirc - par berni83 - 19/03/2025, 16:32
RE: plugin radio kiwiirc - par CrazyCat - 19/03/2025, 16:45
RE: plugin radio kiwiirc - par berni83 - 19/03/2025, 18:49
RE: plugin radio kiwiirc - par berni83 - 20/03/2025, 02:16
RE: plugin radio kiwiirc - par CrazyCat - 20/03/2025, 11:14
RE: plugin radio kiwiirc - par berni83 - 20/03/2025, 14:06
RE: plugin radio kiwiirc - par CrazyCat - 20/03/2025, 14:33
RE: plugin radio kiwiirc - par berni83 - 20/03/2025, 14:59
RE: plugin radio kiwiirc - par CrazyCat - 20/03/2025, 15:25
RE: plugin radio kiwiirc - par berni83 - 20/03/2025, 15:40
RE: plugin radio kiwiirc - par CrazyCat - 20/03/2025, 15:51
RE: plugin radio kiwiirc - par berni83 - 20/03/2025, 16:22
RE: plugin radio kiwiirc - par berni83 - 20/03/2025, 19:44

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté