PPF Home
Plugins
Developers
   Font size:      

SHOUTcast (v1.0)

PDF
PDF

Description

Shows SHOUTcast station information.

The SHOUTcast plugin queries SHOUTcast servers and displays information about the station. Yuo can also save stations with a name and use that name to make the query rather than have to remember IPs and PORTs.

Configuration

The configuration file for this plugin is system/SHOUTcast/ShoutCastConfig.xml

commandServerQuery

The command for showing information about a station. You can set the authLevel to control who is allowed to access the command. The output is used to define where the output from the command will go.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE
  • output - CHANNEL, PM, NOTICE

      <commandServerQuery authLevel="none" output="channel">!showcast</commandServerQuery>

    

commandAddShortcut

The command for adding a station shortcut. You can set the authLevel to control who is allowed to access the command. The output is used to define where the output from the command will go.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE
  • output - CHANNEL, PM, NOTICE

      <commandAddShortcut authLevel="trusted" output="notice">!addstation</commandAddShortcut>

    

commandRemoveShortcut

The command for removing a station shortcut. You can set the authLevel to control who is allowed to access the command. The output is used to define where the output from the command will go.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE
  • output - CHANNEL, PM, NOTICE

      <commandRemoveShortcut authLevel="trusted" output="notice">!delstation</commandRemoveShortcut>

    

commandShowShortcuts

The command for showing all station shortcuts. You can set the authLevel to control who is allowed to access the command. The output uses DCC chat.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE

      <commandShowShortcuts authLevel="trusted">!showstations</commandShowShortcuts>

    

broadcastServer

The default server to use for the query.

  • name - the name to use as a shortcut for the station
  • ip - the IP of the station
  • port - the port of the station

      <broadcastServer name="pirate" ip="64.62.252.140" port="8926" />

    

shortcut

A list of shortcuts use for the query.

  • name - the name to use as a shortcut for the station
  • ip - the IP of the station
  • port - the port of the station

      <shortcut name="wolf" ip="216.218.254.100" port="5426" />
      <shortcut name="classicrock" ip="radiost.sc.llnwd.net" port="12545" />

    

Commands

Show SHOUTcast server information

Command: !showcast
Description: Shows information about shoutcast server stored with the shortcut name or then by the server information. If neither are given, it shows the default shoutcast server.
Auth Level: trusted
Where to give command: private message
Outputs to: DCC chat
Example(s):

  • !showcast
  • !showcast pirate
  • !showcast 64.62.252.140:8926

Add a station shortcut

Command: !addstation
Description: Adds a station to the shortcuts list
Auth Level: trusted
Where to give command: channel
Outputs to: notice
Example(s):

  • !addstation pirate 64.62.252.140:8926

Delete a station shortcut

Command: !delstation
Description: Deletes a station from the shortcuts list
Auth Level: trusted
Where to give command: channel
Outputs to: notice
Example(s):

  • !delstation pirate

Show all station shortcuts

Command: !showstations
Description: Shows all station shortcuts
Auth Level: trusted
Where to give command: private message
Outputs to: DCC chat
Example(s):

  • !showstations

Change History

v1.0 First Version by DeadEd