Reply To: Song rating for Firefly via Roku Soundbridge

#17278
Anonymous
Inactive

Oooh, I’ve now recreated a feature that should really be there anyway – takes the current playlist and injects it into Firefly so you can recall it.


<?php
/**
* Save the playlist currently on the Roku Client to the Firefly media server
*/
require_once( "roku_client.php" );
require_once( "firefly_db.php" );

$sb = new RokuClient();
$ff = new FireflyDb();
$aIds = $sb->GetNowPlayingSongIds();
$ff->savePlaylist( "Custom", $aIds );
?>

😛