From 2b49c1dfc894b77272128de9ea80f8f055d4bd47 Mon Sep 17 00:00:00 2001 From: pb1dft Date: Wed, 28 Feb 2007 00:56:23 +0000 Subject: Now playing needs work --- contrib/plugins/RioPlayer/modules/rio/rio.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib/plugins/RioPlayer') diff --git a/contrib/plugins/RioPlayer/modules/rio/rio.php b/contrib/plugins/RioPlayer/modules/rio/rio.php index aab3bea1..5ed543b7 100644 --- a/contrib/plugins/RioPlayer/modules/rio/rio.php +++ b/contrib/plugins/RioPlayer/modules/rio/rio.php @@ -1356,8 +1356,10 @@ require_once("../../lib/init.php"); print rio_tagdata(14,$duration); print rio_tagdata(15,$tracknr); print pack("C",255); // EOF - + $_SERVER['HTTP_USER_AGENT'] = "RioPlayer"; //Lets update Now Playing here... Maybe the wrong place but coulnd't find a better one for the moment + gc_now_playing(); +// debug_event('RioPlayer',print_r($_SERVER,1),1); insert_now_playing($songid,$ampacheUserID,$duration); // debug_event('RioPlayer',print_r($row,1),1); -- cgit