summaryrefslogtreecommitdiffstats
path: root/lib/rss.php
diff options
context:
space:
mode:
authorKevin James 'purdyk' Purdy <purdyk@gmail.com>2008-02-15 22:28:14 +0000
committerKevin James 'purdyk' Purdy <purdyk@gmail.com>2008-02-15 22:28:14 +0000
commit4314b635f170c3ea41b1791e6fe1135fa6a67466 (patch)
tree83fd29ea3b9522fc6a28451340003d021beb319f /lib/rss.php
parent2ac17f6c51b500fe62fc8e44cd347ddeb1c406a8 (diff)
downloadampache-4314b635f170c3ea41b1791e6fe1135fa6a67466.tar.gz
ampache-4314b635f170c3ea41b1791e6fe1135fa6a67466.tar.bz2
ampache-4314b635f170c3ea41b1791e6fe1135fa6a67466.zip
Fixed rss feeds to show proper length of song and artist names.
Diffstat (limited to 'lib/rss.php')
-rw-r--r--lib/rss.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rss.php b/lib/rss.php
index 4f0b1b9c..7f583380 100644
--- a/lib/rss.php
+++ b/lib/rss.php
@@ -226,14 +226,14 @@ switch ($type) {
$song = $r['song'];
$user = $r['user'];
$song->format();
- $artist = $song->f_artist;
- $album = $song->get_album_name();
- $text = "$artist - $song->f_title played by $user->fullname";
+ $artist = $song->f_artist_full;
+ $album = $song->f_album_full;
+ $text = "$artist - $song->title played by $user->fullname";
echo "<item> \n";
echo " <title><![CDATA[$text]]></title> \n";
echo " <image>$web_path/image.php?id=$song->album</image>\n";
echo " <link>$web_path/albums.php?action=show&amp;album=$song->album</link>\n";
- echo " <description><![CDATA[$song->f_title @ $album is played by $user->fullname]]></description>\n";
+ echo " <description><![CDATA[$song->title @ $album is played by $user->fullname]]></description>\n";
echo " <pubDate>$today</pubDate>\n";
echo "</item>\n";
}