Net_MPD
[ class tree: Net_MPD ] [ index: Net_MPD ] [ all elements ]

Source for file listCurrentPlaylist.php

Documentation is available at listCurrentPlaylist.php

  1. <?php
  2. require_once 'MPD.php';
  3. $MPD_PLS Net_MPD::factory('Playlist');
  4. if (!$MPD_PLS->connect()) {
  5.     die('Connection failed: '.print_r($MPD_DB->getErrors()true));
  6. }
  7.  
  8. $data $MPD_PLS->getPlaylistInfo();
  9. var_dump($data);

Documentation generated on Mon, 11 Mar 2019 14:48:00 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.