librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1670] rename the xspf template since the 2.0 api one


From: Clint Adams
Subject: [Librefm-commits] [1670] rename the xspf template since the 2.0 api one is different
Date: Sat, 16 May 2009 18:55:18 +0000

Revision: 1670
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1670
Author:   clint
Date:     2009-05-16 18:55:18 +0000 (Sat, 16 May 2009)
Log Message:
-----------
rename the xspf template since the 2.0 api one is different

Modified Paths:
--------------
    trunk/nixtape/radio/xspf.php

Added Paths:
-----------
    trunk/nixtape/themes/librefm/templates/radio_oldxspf.tpl

Removed Paths:
-------------
    trunk/nixtape/themes/librefm/templates/radio_xspf.tpl

Modified: trunk/nixtape/radio/xspf.php
===================================================================
--- trunk/nixtape/radio/xspf.php        2009-05-16 18:43:07 UTC (rev 1669)
+++ trunk/nixtape/radio/xspf.php        2009-05-16 18:55:18 UTC (rev 1670)
@@ -96,6 +96,6 @@
 
 $smarty->assign('radiotracks', $radiotracks);
 
-$smarty->display('radio_xspf.tpl');
+$smarty->display('radio_oldxspf.tpl');
 
 ?>

Copied: trunk/nixtape/themes/librefm/templates/radio_oldxspf.tpl (from rev 
1669, trunk/nixtape/themes/librefm/templates/radio_xspf.tpl)
===================================================================
--- trunk/nixtape/themes/librefm/templates/radio_oldxspf.tpl                    
        (rev 0)
+++ trunk/nixtape/themes/librefm/templates/radio_oldxspf.tpl    2009-05-16 
18:55:18 UTC (rev 1670)
@@ -0,0 +1,26 @@
+<playlist version="1" 
xmlns:lastfm="http://www.audioscrobbler.net/dtd/xspf-lastfm";>
+<title>{$title}</title>
+<creator>libre.fm</creator>
+<link rel="http://www.last.fm/skipsLeft";>9999</link>
+<trackList>
+
+{section name=rt loop=$radiotracks}
+       <track>
+           
<location>{$radiotracks[rt].location|escape:"html":"UTF-8"}</location>
+           <title>{$radiotracks[rt].title|escape:"html":"UTF-8"}</title>
+           <id>{$radiotracks[rt].id|escape:"html":"UTF-8"}</id>
+           <album>{$radiotracks[rt].album|escape:"html":"UTF-8"}</album>
+           <creator>{$radiotracks[rt].creator|escape:"html":"UTF-8"}</creator>
+           
<duration>{$radiotracks[rt].duration|escape:"html":"UTF-8"}</duration>
+           <image>{$radiotracks[rt].image|escape:"html":"UTF-8"}</image>
+           <link 
rel="http://www.last.fm/artistpage";>{$radiotracks[rt].artisturl|escape:"html":"UTF-8"}</link>
+           <link 
rel="http://www.last.fm/albumpage";>{$radiotracks[rt].albumurl|escape:"html":"UTF-8"}</link>
+           <link 
rel="http://www.last.fm/trackpage";>{$radiotracks[rt].trackurl|escape:"html":"UTF-8"}</link>
+           <link rel="http://www.last.fm/buyTrackURL";></link>
+           <link rel="http://www.last.fm/buyAlbumURL";></link>
+           <link 
rel="http://www.last.fm/freeTrackURL";>{$radiotracks[rt].downloadurl|escape:"html":"UTF-8"}</link>
+       </track>
+{/section}
+
+</trackList>
+</playlist>

Deleted: trunk/nixtape/themes/librefm/templates/radio_xspf.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/radio_xspf.tpl       2009-05-16 
18:43:07 UTC (rev 1669)
+++ trunk/nixtape/themes/librefm/templates/radio_xspf.tpl       2009-05-16 
18:55:18 UTC (rev 1670)
@@ -1,26 +0,0 @@
-<playlist version="1" 
xmlns:lastfm="http://www.audioscrobbler.net/dtd/xspf-lastfm";>
-<title>{$title}</title>
-<creator>libre.fm</creator>
-<link rel="http://www.last.fm/skipsLeft";>9999</link>
-<trackList>
-
-{section name=rt loop=$radiotracks}
-       <track>
-           
<location>{$radiotracks[rt].location|escape:"html":"UTF-8"}</location>
-           <title>{$radiotracks[rt].title|escape:"html":"UTF-8"}</title>
-           <id>{$radiotracks[rt].id|escape:"html":"UTF-8"}</id>
-           <album>{$radiotracks[rt].album|escape:"html":"UTF-8"}</album>
-           <creator>{$radiotracks[rt].creator|escape:"html":"UTF-8"}</creator>
-           
<duration>{$radiotracks[rt].duration|escape:"html":"UTF-8"}</duration>
-           <image>{$radiotracks[rt].image|escape:"html":"UTF-8"}</image>
-           <link 
rel="http://www.last.fm/artistpage";>{$radiotracks[rt].artisturl|escape:"html":"UTF-8"}</link>
-           <link 
rel="http://www.last.fm/albumpage";>{$radiotracks[rt].albumurl|escape:"html":"UTF-8"}</link>
-           <link 
rel="http://www.last.fm/trackpage";>{$radiotracks[rt].trackurl|escape:"html":"UTF-8"}</link>
-           <link rel="http://www.last.fm/buyTrackURL";></link>
-           <link rel="http://www.last.fm/buyAlbumURL";></link>
-           <link 
rel="http://www.last.fm/freeTrackURL";>{$radiotracks[rt].downloadurl|escape:"html":"UTF-8"}</link>
-       </track>
-{/section}
-
-</trackList>
-</playlist>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]