Remove Session library as well.
[adorno.git] / www / get_current_track_info.php
blob8569a8b7de1853c7d8ae9daf85790695b771b1d4
1 <?php
2 include_once("always.php");
3 $current_track = current_track();
4 if ( is_object($current_track) ) {
5 $track_information = "$current_track->artist : $current_track->album : $current_track->title ";
6 $track_information .= sprintf( ": %s : %s", date( "H:i:s" ), date( "H:i:s", $current_track->finishing ) );
7 error_log( "$sysabbr: DBG: Title >>$page_title<< Finish >>$current_track->finishing >>".time()." >>$refresh_time");
9 echo $track_information;