summaryrefslogtreecommitdiffstats
path: root/contrib/plugins/RioPlayer
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2007-02-28 00:56:23 +0000
committerpb1dft <pb1dft@ampache>2007-02-28 00:56:23 +0000
commit2b49c1dfc894b77272128de9ea80f8f055d4bd47 (patch)
tree20eec71695d9d554044d46f0784f6cfaa7787a97 /contrib/plugins/RioPlayer
parenta362630053caecc7c8f588e319730c677f3c24db (diff)
downloadampache-2b49c1dfc894b77272128de9ea80f8f055d4bd47.tar.gz
ampache-2b49c1dfc894b77272128de9ea80f8f055d4bd47.tar.bz2
ampache-2b49c1dfc894b77272128de9ea80f8f055d4bd47.zip
Now playing needs work
Diffstat (limited to 'contrib/plugins/RioPlayer')
-rw-r--r--contrib/plugins/RioPlayer/modules/rio/rio.php4
1 files changed, 3 insertions, 1 deletions
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);