Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Number of plays of an Ivoox Podcast Channel
Hello buddies!

The first idea for this section is here! Monitoring the plays of a Podcast Channel.


Ivoox is a Podcast's website. A lot of Radio shows and other kind of audio documents are posted there by their creators.

The users create one Podcast Channel and post the audio files when he wants. Each audio file has a plays counter updated every hour.

We're going to monitor a full podcast channel with Pandora FMS to have all the plays statistics available without enter the site.


In this example we're going to monitor the plays of the Podcast Channel "Islas Ozores": A stupid comedy radio show of one of our team members :P.

  • Create an agent in Pandora FMS (We named it 'podcast-islas-ozores')

  • Create a perl script in the server that parse all the current audio file names and their number of plays. We configure it with the main podcast URL.

    From this string, we parse the name and URL of the current audio files.

    [img width=500];topic=4689.0;attach=587;image[/img]

    From each URL and investigating the Ivoox source code, we discovered the URL that contains the plays data: In example for audio file URL the URL of the plays data is Is easy to see that we can extrapolate this procedure with the ID of each audio file: 861842 for this case.

    [img width=500];topic=4689.0;attach=589;image[/img]

    This script obtains all the audio files names for this channel and their number of plays. Then build a XML file with our agent name ('podcast-islas-ozores') and a module for each audio file with the name of the file as name, the data of type 'generic numeric' and the current number of plays as data. Then copy this XML file to data_in path of the Pandora Installation.

    The scripts returns 'OK' to know if it has been finished the execution.

    Download the script

  • Create a plug-in module that execute the script with a 3600 seconds (1 hour) interval.

Finally we can view in a Pandora FMS agent all the audio files plays easily.

[img width=500];topic=4689.0;attach=591;image[/img]

This method is improvable adding parameters to script to do it more generic, building visual maps and reports with graphs, configuring alerts etc. But is a good beginning to work on it.

Attached Files

.png   ivoox_lista_podcasts.png (Size: 94.18 KB / Downloads: 1,209)
.pl (Size: 1.41 KB / Downloads: 350)
.png   ivoox_visitas.png (Size: 84.75 KB / Downloads: 1,069)
.png   ivoox_pandora.png (Size: 78.44 KB / Downloads: 1,102)
Messages In This Thread
Number of plays of an Ivoox Podcast Channel - by zarzuelo - 11-15-2011, 10:25 AM

Users browsing this thread: 1 Guest(s)

(c) 2006-2018 Artica Soluciones Tecnol├│gicas. Contents of this wiki are under Create Common Attribution v3 licence. | |

Theme © MyBB Themes