diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 6d91d3a4b5..46392873fe 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -16,6 +16,7 @@ This release fixes issues when updating your databases from **really** old versi * Fetch Seafile cover art * Album might get sent to the temp playlist and screw up on insert * A couple of issues with now_playing.php when enabled +* RSS user lookup on now_playing * Subsonic * Allow empty search queries diff --git a/src/Module/Util/AmpacheRss.php b/src/Module/Util/AmpacheRss.php index 190e7ff4c2..3674d0952c 100644 --- a/src/Module/Util/AmpacheRss.php +++ b/src/Module/Util/AmpacheRss.php @@ -224,7 +224,7 @@ public static function load_now_playing($rsstoken = "") ); foreach ($data as $element) { $song = $element['media']; - $client = $element['user']; + $client = $element['client']; $title = $format; $description = $format; foreach ($string_map as $search => $replace) { @@ -274,7 +274,6 @@ public static function load_recently_played($rsstoken = "") $data = ($user) ? Song::get_recently_played($user->id) : Song::get_recently_played(); $results = array(); - foreach ($data as $item) { $client = new User($item['user']); $song = new Song($item['object_id']);