├── cache ├── Thumbs.db └── default.jpg ├── config.php ├── example.php ├── example_history.php ├── history.php ├── icecast.php └── var_dump.html /cache/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvaps/icecast-now-playing-script/349bb172d33bd33148a8f93ad56a81a4d412603c/cache/Thumbs.db -------------------------------------------------------------------------------- /cache/default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kvaps/icecast-now-playing-script/349bb172d33bd33148a8f93ad56a81a4d412603c/cache/default.jpg -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Icecast Now Playing Script 5 | 6 | 7 |

8 | Code by Jude (surftheair@gmail.com) 9 |

10 |
11 | 
15 | 
16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /example_history.php: -------------------------------------------------------------------------------- 1 |  Icecast Play Historyt

Code by Jude (surftheair@gmail.com)


-------------------------------------------------------------------------------- /history.php: -------------------------------------------------------------------------------- 1 | $value){ if(is_array($value)){ $array[$key] = array_decode($value); } else{ $array[$key] = base64_decode($value); } } return $array; } ?> -------------------------------------------------------------------------------- /icecast.php: -------------------------------------------------------------------------------- 1 |  4 | http://jude.im/ 5 | works with Icecast 2.3.2 6 | */ 7 | 8 | require('config.php'); 9 | $stream = getStreamInfo(); 10 | if($stream['info']['status'] == 'OFF AIR'){ 11 | cacheVar($stream); 12 | } 13 | else{ 14 | $last_song = @file_get_contents('last.txt'); 15 | if($last_song != base64_encode($stream['info']['song'])){ 16 | $stream = init($stream); 17 | $stream = getInfo($stream); 18 | file_put_contents('last.txt', base64_encode($stream['info']['song'])); 19 | cacheVar($stream); 20 | if(RECORD_HISTORY == true){ 21 | cacheHistory($stream); 22 | } 23 | } 24 | else{ 25 | $stream = array_decode(json_decode(@file_get_contents('var/info.json'), TRUE)); 26 | } 27 | } 28 | //print_r($stream); 29 | 30 | function obj_to_array($obj){ 31 | $array = (is_object) ? (array)$obj : $obj; 32 | foreach($array as $k=>$v){ 33 | if(is_object($v) OR is_array($v)) 34 | $array[$k] = obj_to_array($v); 35 | } 36 | return $array; 37 | } 38 | 39 | function getStreamInfo(){ 40 | $str = @file_get_contents(SERVER.'/status.xsl?mount='.MOUNT); 41 | if(preg_match_all('/]*class=\"streamdata\">(.*)<\/td>/isU', $str, $match)){ 42 | $stream['info']['status'] = 'ON AIR'; 43 | $stream['info']['title'] = $match[1][0]; 44 | $stream['info']['description'] = $match[1][1]; 45 | $stream['info']['type'] = $match[1][2]; 46 | $stream['info']['start'] = $match[1][3]; 47 | $stream['info']['bitrate'] = $match[1][4]; 48 | $stream['info']['listeners'] = $match[1][5]; 49 | $stream['info']['msx_listeners'] = $match[1][6]; 50 | $stream['info']['genre'] = $match[1][7]; 51 | $stream['info']['stream_url'] = $match[1][8]; 52 | $stream['info']['artist_song'] = $match[1][9]; 53 | $x = explode(" - ",$match[1][9]); 54 | $stream['info']['artist'] = $x[0]; 55 | $stream['info']['song'] = $x[1]; 56 | } 57 | else{ 58 | $stream['info']['status'] = 'OFF AIR'; 59 | } 60 | return $stream; 61 | } 62 | 63 | //get information of the current song use last.fm's API 64 | function getTrackInfo($stream){ 65 | $url = str_replace('#','','http://ws.audioscrobbler.com/2.0/?method=track.getinfo&artist='.urlencode($stream['info']['artist']).'&track='.urlencode($stream['info']['song']).'&api_key='.LAST_FM_API); 66 | $xml = simplexml_load_file($url,'SimpleXMLElement', LIBXML_NOCDATA); 67 | $xml = obj_to_array($xml); 68 | // print_r($xml); 69 | if($xml['track']['album']['image']){ 70 | $stream['album']['image_s'] = $xml['track']['album']['image'][0]; 71 | $stream['album']['image_m'] = $xml['track']['album']['image'][1]; 72 | $stream['album']['image_l'] = $xml['track']['album']['image'][2]; 73 | $stream['album']['image_xl'] = $xml['track']['album']['image'][3]; 74 | } 75 | if($xml['track']['wiki']['summary']){ 76 | $stream['track']['summary'] = $xml['track']['wiki']['summary']; 77 | $stream['track']['info'] = $xml['track']['wiki']['content']; 78 | } 79 | if($xml['track']['album']['title']){ 80 | $stream['album']['title'] = $xml['track']['album']['title']; 81 | $stream['album']['lastfm_url'] = $xml['track']['album']['url']; 82 | } 83 | $stream['track']['lastfm_url'] = $xml['track']['url']; 84 | if($xml['track']['artist']['url']){ 85 | $stream['artist']['lastfm_url'] = $xml['track']['artist']['url']; 86 | } 87 | return $stream; 88 | } 89 | 90 | //get extra information of the album 91 | function getAlbumInfo($stream){ 92 | $url = str_replace('#','', 'http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist='.urlencode($stream['info']['artist']).'&album='.($stream['album']['title']).'&api_key='.LAST_FM_API); 93 | $xml = simplexml_load_file($url,'SimpleXMLElement', LIBXML_NOCDATA); 94 | $xml = obj_to_array($xml); 95 | if ($xml['album']['releasedate'] && strlen($xml['album']['releasedate']) > 10){ 96 | $stream['album']['releasedate'] = reset(explode(",",$xml['album']['releasedate'])); 97 | } 98 | if($xml['album']['tracks']['track']){ 99 | foreach($xml['album']['tracks']['track'] as $track){ 100 | $stream['album']['track_list'][] = array('title' => $track['name'],'url' => $track['url']); 101 | } 102 | } 103 | if($xml['album']['wiki']['summary']){ 104 | $stream['album']['summary'] = $xml['album']['wiki']['summary']; 105 | $stream['album']['info'] = $xml['album']['wiki']['content']; 106 | } 107 | return $stream; 108 | } 109 | 110 | //get extra information of the artist 111 | function getArtistInfo($stream){ 112 | $url = 'http://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&artist='.urlencode($stream['info']['artist']).'&api_key='.LAST_FM_API.'&autocorrect=1'; 113 | $xml = simplexml_load_file($url,'SimpleXMLElement', LIBXML_NOCDATA); 114 | $xml = obj_to_array($xml); 115 | // print_r($xml); 116 | if($xml['topalbums']['album']){ 117 | foreach($xml['topalbums']['album'] as $album){ 118 | $stream['artist']['top_albums'][] = array('title'=>$album['name'], 'url'=>$album['url'], 'image'=>$album['image']); 119 | } 120 | } 121 | 122 | $url = 'http://ws.audioscrobbler.com/2.0/?method=artist.getInfo&artist='.urlencode($stream['info']['artist']).'&api_key='.LAST_FM_API.'&autocorrect=1'; 123 | $xml = simplexml_load_file($url,'SimpleXMLElement', LIBXML_NOCDATA); 124 | $xml = obj_to_array($xml); 125 | // print_r($xml); 126 | if($xml['artist']['bio']['summary']){ 127 | $stream['artist']['summary'] = $xml['artist']['bio']['summary']; 128 | $stream['artist']['info'] = $xml['artist']['bio']['content']; 129 | } 130 | return $stream; 131 | } 132 | 133 | //get buylink 134 | function getTrackBuyLink($stream){ 135 | $url = 'http://ws.audioscrobbler.com/2.0/?method=track.getbuylinks&artist='.urlencode($stream['info']['artist']).'&track='.urlencode($stream['info']['song']).'&api_key='.LAST_FM_API.'&country='.urlencode('united states').'&autocorrect=1'; 136 | $xml = simplexml_load_file($url,'SimpleXMLElement', LIBXML_NOCDATA); 137 | $xml = obj_to_array($xml); 138 | // print_r($xml); 139 | if($xml['affiliations']['physicals']['affiliation']){ 140 | foreach($xml['affiliations']['physicals']['affiliation'] as $buy){ 141 | $supplier = str_replace('iTuens', 'iTunes', $buy['supplierName']); 142 | if($buy['isSearch'] == 0){ 143 | $new = array('link' => $buy['buyLink'], 'price'=>$buy['price']['amount'], 'currency'=>$buy['price']['currency'], 'icon'=>$buy['supplierIcon']); 144 | } 145 | else{ 146 | $new = array('link' => $buy['buyLink'],'icon'=>$buy['supplierIcon']); 147 | } 148 | $stream['track']['buylink']['physical'][$supplier] = $new; 149 | } 150 | } 151 | if($xml['affiliations']['downloads']['affiliation']){ 152 | foreach($xml['affiliations']['downloads']['affiliation'] as $buy){ 153 | $supplier = str_replace('Amazon MP3', 'Amazon', $buy['supplierName']); 154 | if($buy['isSearch'] == 0){ 155 | $new = array('link' => $buy['buyLink'], 'price'=>$buy['price']['amount'], 'currency'=>$buy['price']['currency'], 'icon'=>$buy['supplierIcon']); 156 | } 157 | else{ 158 | $new = array('link' => $buy['buyLink'],'icon'=>$buy['supplierIcon']); 159 | } 160 | $stream['track']['buylink']['download'][$supplier] = $new; 161 | } 162 | } 163 | return $stream; 164 | } 165 | 166 | 167 | //cache album art images to local server, change the image size if you want 168 | function cacheAlbumArt($image_url){ 169 | $filename = end(explode('/', $image_url)); 170 | $local_image = 'cache/'.$filename; 171 | if (!is_file($stream['album']['local_image'])){ 172 | copy($image_url, $local_image); 173 | } 174 | return $local_image; 175 | } 176 | 177 | //get lyrics from chartlyrics.com's API 178 | function getLyric($artist, $song){ 179 | $url = str_replace('\'','','http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect?artist='.urlencode($artist).'&song='.urlencode($song)); 180 | $xml = simplexml_load_file($url,'SimpleXMLElement', LIBXML_NOCDATA); 181 | $xml = obj_to_array($xml); 182 | // print_r($xml); 183 | if($xml['LyricId'] && ($xml['Lyric'] != array())){ 184 | return $xml['Lyric']; 185 | } 186 | else{ 187 | return 'Sorry, there\'s no lyric found for this song'; 188 | } 189 | } 190 | 191 | function getInfo($stream){ 192 | if(!$stream['info']['song']){ 193 | $stream['info']['song'] == 'Not found'; 194 | return $stream; 195 | } 196 | if(GET_TRACK_INFO == TRUE){ 197 | $stream = getTrackInfo($stream); 198 | } 199 | if(GET_ALBUM_INFO && isset($stream['album']['title'])){ 200 | $stream = getAlbumInfo($stream); 201 | } 202 | if(GET_ARTIST_INFO == TRUE){ 203 | $stream = getArtistInfo($stream); 204 | } 205 | if(GET_TRACK_BUY_LINK == TRUE){ 206 | $stream = getTrackBuyLink($stream); 207 | } 208 | if(CACHE_ALBUM_ART == TRUE){ 209 | $stream['album']['local_image'] = cacheAlbumArt($stream['album']['image_l']); 210 | } 211 | if(GET_LYRICS == TRUE){ 212 | $stream['track']['lyric'] = getLyric($stream['info']['artist'], $stream['info']['song']); 213 | } 214 | $stream['fetch_time'] = time(); 215 | return $stream; 216 | } 217 | 218 | function array_encode($array){ 219 | foreach($array as $key=>$value){ 220 | if(is_array($value)){ 221 | $array[$key] = array_encode($value); 222 | } 223 | else{ 224 | $array[$key] = base64_encode($value); 225 | } 226 | } 227 | return $array; 228 | } 229 | 230 | function array_decode($array){ 231 | foreach($array as $key=>$value){ 232 | if(is_array($value)){ 233 | $array[$key] = array_decode($value); 234 | } 235 | else{ 236 | $array[$key] = base64_decode($value); 237 | } 238 | } 239 | return $array; 240 | } 241 | 242 | function cacheVar($stream){ 243 | $stream = array_encode($stream); 244 | file_put_contents('var/info.json', json_encode($stream)); 245 | } 246 | 247 | function cacheHistory($stream){ 248 | if($stream['song'] == 'Not found'){ 249 | return; 250 | } 251 | $year = date('Y'); 252 | $month = date('m'); 253 | $day = date('d'); 254 | if(!is_dir('history')){ 255 | mkdir('history', 0777); 256 | } 257 | if(!is_dir('history/'.$year)){ 258 | mkdir('history/'.$year); 259 | } 260 | if(!is_dir('history/'.$year.'/'.$month)){ 261 | mkdir('history/'.$year.'/'.$month); 262 | } 263 | $file = 'history/'.$year.'/'.$month.'/'.$day.'.json'; 264 | $history['time'] = gmdate('c'); 265 | $history['artist'] = $stream['info']['artist']; 266 | $history['song'] = $stream['info']['song']; 267 | $history['image'] = $stream['album']['image_s']; 268 | $history['itunes'] = $stream['track']['buylink']['download']['iTunes']['link']; 269 | $history['Amazon'] = $stream['track']['buylink']['download']['Amazon']['link']; 270 | $history = array_encode($history); 271 | file_put_contents($file, json_encode($history)); 272 | createHistory(); 273 | } 274 | 275 | function createHistory(){ 276 | $history = json_decode(@file_get_contents('var/history.json'), TRUE); 277 | $year = date('Y'); 278 | $month = date('m'); 279 | $day = date('d'); 280 | $history[$year][$month][$day] = $year.$month.$day; 281 | $file = 'history/'.$year.'/'.$month.'/'.$day.'.json'; 282 | file_put_contents('var/history.json', json_encode($history)); 283 | } 284 | 285 | 286 | function init($stream){ 287 | $stream['album']['image_s'] = $stream['album']['image_m'] = $stream['album']['image_l'] = $stream['album']['image_xl'] = DEFAULT_ALBUM_ART; 288 | $stream['track']['summary'] = $stream['track']['info'] = "No information found for this track, try searching for ".$stream['info']['artist']." - ".$stream['info']['song']." on Google"; 289 | $stream['album']['title'] = 'Not found'; 290 | $stream['album']['lastfm_url'] = 'http://www.google.com/search?q='.urlencode($stream['info']['artist']." - ".$stream['info']['song']); 291 | $stream['track']['download_cn'] = 'http://www.google.cn/music/search?q='.urlencode($stream['info']['artist']." - ".$stream['info']['song']); 292 | $stream['album']['summary'] = $stream['album']['info'] = 'No information found for this album, try searching for '.$stream['info']['artist']." - ".$stream['info']['song'].' on Google'; 293 | $stream['album']['releasedate'] = 'Unknown'; 294 | $stream['artist']['summary'] = $stream['artist']['info'] = 'No information found for this artist, try searching for '.$stream['info']['artist'].' on Google'; 295 | return $stream; 296 | } 297 | 298 | ?> -------------------------------------------------------------------------------- /var_dump.html: -------------------------------------------------------------------------------- 1 | 
  2 | Array
  3 | (
  4 |     [info] => Array
  5 |         (
  6 |             [status] => ON AIR
  7 |             [title] => Radio Swiss Pop
  8 |             [description] => Die besten Pophits der letzten 40 Jahre
  9 |             [type] => audio/mpeg
 10 |             [start] => Tue, 27 Sep 2011 10:22:38 +0200
 11 |             [bitrate] => 128
 12 |             [listeners] => 151
 13 |             [msx_listeners] => 531
 14 |             [genre] => Pop Music
 15 |             [stream_url] => http://www.radioswisspop.ch
 16 |             [artist_song] => Maria McKee - Show Me Heaven
 17 |             [artist] => Maria McKee
 18 |             [song] => Show Me Heaven
 19 |         )
 20 | 
 21 |     [album] => Array
 22 |         (
 23 |             [image_xl] => http://userserve-ak.last.fm/serve/300x300/4878352.jpg
 24 |             [image_l] => http://userserve-ak.last.fm/serve/174s/4878352.jpg
 25 |             [image_m] => http://userserve-ak.last.fm/serve/126/4878352.jpg
 26 |             [image_s] => http://userserve-ak.last.fm/serve/64s/4878352.jpg
 27 |             [title] => Show Me Heaven
 28 |             [lastfm_url] => http://www.last.fm/music/Maria+McKee/Show+Me+Heaven
 29 |             [info] => No information found for this album, try searching for Maria McKee - Show Me Heaven on Google
 30 |             [summary] => No information found for this album, try searching for Maria McKee - Show Me Heaven on Google
 31 |             [releasedate] => Unknown
 32 |             [local_image] => cache/4878352.jpg
 33 |         )
 34 | 
 35 |     [track] => Array
 36 |         (
 37 |             [info] => No information found for this track, try searching for Maria McKee - Show Me Heaven on Google
 38 |             [summary] => No information found for this track, try searching for Maria McKee - Show Me Heaven on Google
 39 |             [download_cn] => http://www.google.cn/music/search?q=Maria+McKee+-+Show+Me+Heaven
 40 |             [lastfm_url] => http://www.last.fm/music/Maria+McKee/_/Show+Me+Heaven
 41 |             [buylink] => Array
 42 |                 (
 43 |                     [physical] => Array
 44 |                         (
 45 |                             [Amazon] => Array
 46 |                                 (
 47 |                                     [link] => http://www.last.fm/affiliate/byid/9/1004275/1/ws.track.buylinks.dd40af1da9977c679287dd2d78f017b4
 48 |                                     [icon] => http://cdn.last.fm/favicons/amazon.gif
 49 |                                 )
 50 | 
 51 |                             [eBay] => Array
 52 |                                 (
 53 |                                     [link] => http://www.last.fm/affiliate/byid/9/1004275/90/ws.track.buylinks.dd40af1da9977c679287dd2d78f017b4
 54 |                                     [icon] => Array
 55 |                                         (
 56 |                                         )
 57 | 
 58 |                                 )
 59 | 
 60 |                         )
 61 | 
 62 |                     [download] => Array
 63 |                         (
 64 |                             [Amazon] => Array
 65 |                                 (
 66 |                                     [link] => http://www.last.fm/affiliate/byid/9/1004275/44/ws.track.buylinks.dd40af1da9977c679287dd2d78f017b4
 67 |                                     [price] => 0.99
 68 |                                     [currency] => USD
 69 |                                     [icon] => http://cdn.last.fm/favicons/amazon-mp3-16x16-a.gif
 70 |                                 )
 71 | 
 72 |                             [7digital] => Array
 73 |                                 (
 74 |                                     [link] => http://www.last.fm/affiliate/byid/9/1004275/13/ws.track.buylinks.dd40af1da9977c679287dd2d78f017b4
 75 |                                     [price] => 0.77
 76 |                                     [currency] => USD
 77 |                                     [icon] => http://cdn.last.fm/favicons/7digital.gif
 78 |                                 )
 79 | 
 80 |                             [iTunes] => Array
 81 |                                 (
 82 |                                     [link] => http://www.last.fm/affiliate/byid/9/1004275/24/ws.track.buylinks.dd40af1da9977c679287dd2d78f017b4
 83 |                                     [price] => 0.99
 84 |                                     [currency] => USD
 85 |                                     [icon] => http://cdn.last.fm/favicons/itunes16x16.png
 86 |                                 )
 87 | 
 88 |                         )
 89 | 
 90 |                 )
 91 | 
 92 |             [lyric] => There you go
 93 | Flashing fever from your eyes
 94 | Hey baby, come over here and shut them tight
 95 | I'm not denying
 96 | We're flying above it all
 97 | Hold my hand, don't let me fall
 98 | You've such amazing grace
 99 | I've never felt this way...
100 | 
101 | (Chorus)
102 | Oh Show me heaven
103 | Cover me
104 | Leave me breathless
105 | Oh Show me heaven please
106 | 
107 | Here I go
108 | I'm shaking just like the breeze
109 | Hey baby I need your hand to steady me
110 | I'm not denying
111 | I'm frightened as much as you
112 | Though I'm barely touching you
113 | I've shivers down my spine
114 | And it feels divine
115 | 
116 | Rep Chorus
117 | 
118 | If you know what it's like
119 | To dream a dream
120 | Baby hold me tight
121 | And let this be oh
122 | 
123 | Heaven
124 | Cover me
125 | Leave me breathless
126 | Oh Show me heaven please
127 | 
128 | Leave me breathless
129 | Leave me breathless
130 | Cover me
131 | Oh yeah..
132 |         )
133 | 
134 |     [artist] => Array
135 |         (
136 |             [info] => Maria McKee (born Maria Louise McKee, on August 17, 1964 in Los Angeles, California) is an American singer.
137 |  
138 |  A solo artist, McKee was a founding member of the cowpunk/country rock band Lone Justice, in 1982, with whom she released two albums. Her band opened for such acts as U2.
139 |  
140 |  In 1986, she wrote Feargal Sharkey's UK number one hit 'A Good Heart'.
141 |  
142 |  She released her first solo, self-titled album in 1989. Her song "Show Me Heaven", which appeared on the soundtrack to the film Days of Thunder, was a number one single in the United Kingdom for four weeks in 1990. Later her eerie, country-tinged single, "If Love Is a Red Dress (Hang Me in Rags)" was released on the soundtrack of Pulp Fiction. (1994).
143 |  
144 |  Her recorded output has varied between the rootsy country-folk of You Gotta Sin To Get Saved (1993) and Peddlin' Dreams  (2005), and experimental rock on Life Is Sweet (1996) and High Dive (2003).  She  even made a foray into early-90s dance music with her "Sweetest Child" single.
145 |  
146 |  Life Is Sweet was seen at the time as an artistic about-face from her country-rock sound, full of guitar feedback and complex, baroque songwriting. Confounding both fans and critics, it was her last release for seven years and her last for a major label.
147 |  
148 |  In 2007 she released Late December, an album rooted in classic 60s pop songwriting.
149 |  
150 |  She is the half-sister of Love guitarist/singer/songwriter Bryan Maclean, with whom she played in a duo as a teenager. In the nineties, she spent time living in Dublin and the East Village.
151 |     
152 | User-contributed text is available under the Creative Commons By-SA License and may also be available under the GNU FDL.
153 |             [summary] => Maria McKee (born Maria Louise McKee, on August 17, 1964 in Los Angeles, California) is an American singer.  A solo artist, McKee was a founding member of the cowpunk/country rock band Lone Justice, in 1982, with whom she released two albums. Her band opened for such acts as U2.  In 1986, she wrote Feargal Sharkey's UK number one hit 'A Good Heart'.  She released her first solo, self-titled album in 1989.
154 |             [lastfm_url] => http://www.last.fm/music/Maria+McKee
155 |             [top_albums] => Array
156 |                 (
157 |                     [0] => Array
158 |                         (
159 |                             [title] => Pulp Fiction
160 |                             [url] => http://www.last.fm/music/Various+Artists/Pulp+Fiction
161 |                             [image] => Array
162 |                                 (
163 |                                     [0] => http://userserve-ak.last.fm/serve/34s/40061829.png
164 |                                     [1] => http://userserve-ak.last.fm/serve/64s/40061829.png
165 |                                     [2] => http://userserve-ak.last.fm/serve/126/40061829.png
166 |                                     [3] => http://userserve-ak.last.fm/serve/300x300/40061829.png
167 |                                 )
168 | 
169 |                         )
170 | 
171 |                     [1] => Array
172 |                         (
173 |                             [title] => Pulp Fiction
174 |                             [url] => http://www.last.fm/music/Maria+McKee/Pulp+Fiction
175 |                             [image] => Array
176 |                                 (
177 |                                     [0] => http://userserve-ak.last.fm/serve/34s/28741473.jpg
178 |                                     [1] => http://userserve-ak.last.fm/serve/64s/28741473.jpg
179 |                                     [2] => http://userserve-ak.last.fm/serve/126/28741473.jpg
180 |                                     [3] => http://userserve-ak.last.fm/serve/300x300/28741473.jpg
181 |                                 )
182 | 
183 |                         )
184 | 
185 |                     [2] => Array
186 |                         (
187 |                             [title] => Show Me Heaven
188 |                             [url] => http://www.last.fm/music/Maria+McKee/Show+Me+Heaven
189 |                             [image] => Array
190 |                                 (
191 |                                     [0] => http://userserve-ak.last.fm/serve/34s/4878352.jpg
192 |                                     [1] => http://userserve-ak.last.fm/serve/64s/4878352.jpg
193 |                                     [2] => http://userserve-ak.last.fm/serve/126/4878352.jpg
194 |                                     [3] => http://userserve-ak.last.fm/serve/300x300/4878352.jpg
195 |                                 )
196 | 
197 |                         )
198 | 
199 |                     [3] => Array
200 |                         (
201 |                             [title] => PULP FICTION  Collector's Edition
202 |                             [url] => http://www.last.fm/music/Various+Artists/PULP+FICTION++Collector%27s+Edition
203 |                             [image] => Array
204 |                                 (
205 |                                     [0] => http://cdn.last.fm/flatness/catalogue/noimage/2/default_album_medium.png
206 |                                     [1] => http://cdn.last.fm/flatness/catalogue/noimage/2/default_album_medium.png
207 |                                     [2] => http://cdn.last.fm/flatness/catalogue/noimage/2/default_album_medium.png
208 |                                     [3] => http://cdn.last.fm/flatness/catalogue/noimage/2/default_album_medium.png
209 |                                 )
210 | 
211 |                         )
212 | 
213 |                     [4] => Array
214 |                         (
215 |                             [title] => Drivetime
216 |                             [url] => http://www.last.fm/music/Diverse+Artister/Drivetime
217 |                             [image] => Array
218 |                                 (
219 |                                     [0] => http://userserve-ak.last.fm/serve/34s/46230711.jpg
220 |                                     [1] => http://userserve-ak.last.fm/serve/64s/46230711.jpg
221 |                                     [2] => http://userserve-ak.last.fm/serve/126/46230711.jpg
222 |                                     [3] => http://userserve-ak.last.fm/serve/300x300/46230711.jpg
223 |                                 )
224 | 
225 |                         )
226 | 
227 |                     [5] => Array
228 |                         (
229 |                             [title] => Maria McKee
230 |                             [url] => http://www.last.fm/music/Maria+McKee/Maria+McKee
231 |                             [image] => Array
232 |                                 (
233 |                                     [0] => http://userserve-ak.last.fm/serve/34s/44687677.jpg
234 |                                     [1] => http://userserve-ak.last.fm/serve/64s/44687677.jpg
235 |                                     [2] => http://userserve-ak.last.fm/serve/126/44687677.jpg
236 |                                     [3] => http://userserve-ak.last.fm/serve/300x300/44687677.jpg
237 |                                 )
238 | 
239 |                         )
240 | 
241 |                     [6] => Array
242 |                         (
243 |                             [title] => You Gotta Sin To Get Saved
244 |                             [url] => http://www.last.fm/music/Maria+McKee/You+Gotta+Sin+To+Get+Saved
245 |                             [image] => Array
246 |                                 (
247 |                                     [0] => http://userserve-ak.last.fm/serve/34s/52664537.jpg
248 |                                     [1] => http://userserve-ak.last.fm/serve/64s/52664537.jpg
249 |                                     [2] => http://userserve-ak.last.fm/serve/126/52664537.jpg
250 |                                     [3] => http://userserve-ak.last.fm/serve/300x300/52664537.jpg
251 |                                 )
252 | 
253 |                         )
254 | 
255 |                     [7] => Array
256 |                         (
257 |                             [title] => 100 Essential Love Songs
258 |                             [url] => http://www.last.fm/music/Diverse+Artister/100+Essential+Love+Songs
259 |                             [image] => Array
260 |                                 (
261 |                                     [0] => http://userserve-ak.last.fm/serve/34s/69327662.jpg
262 |                                     [1] => http://userserve-ak.last.fm/serve/64s/69327662.jpg
263 |                                     [2] => http://userserve-ak.last.fm/serve/126/69327662.jpg
264 |                                     [3] => http://userserve-ak.last.fm/serve/300x300/69327662.jpg
265 |                                 )
266 | 
267 |                         )
268 | 
269 |                     [8] => Array
270 |                         (
271 |                             [title] => Life Is Sweet
272 |                             [url] => http://www.last.fm/music/Maria+McKee/Life+Is+Sweet
273 |                             [image] => Array
274 |                                 (
275 |                                     [0] => http://images.amazon.com/images/P/B000000OUN.01.MZZZZZZZ.jpg
276 |                                     [1] => http://images.amazon.com/images/P/B000000OUN.01.MZZZZZZZ.jpg
277 |                                     [2] => http://images.amazon.com/images/P/B000000OUN.01.MZZZZZZZ.jpg
278 |                                     [3] => http://images.amazon.com/images/P/B000000OUN.01.MZZZZZZZ.jpg
279 |                                 )
280 | 
281 |                         )
282 | 
283 |                     [9] => Array
284 |                         (
285 |                             [title] => Late December
286 |                             [url] => http://www.last.fm/music/Maria+McKee/Late+December
287 |                             [image] => Array
288 |                                 (
289 |                                     [0] => http://userserve-ak.last.fm/serve/34s/32993011.jpg
290 |                                     [1] => http://userserve-ak.last.fm/serve/64s/32993011.jpg
291 |                                     [2] => http://userserve-ak.last.fm/serve/126/32993011.jpg
292 |                                     [3] => http://userserve-ak.last.fm/serve/300x300/32993011.jpg
293 |                                 )
294 | 
295 |                         )
296 | 
297 |                     [10] => Array
298 |                         (
299 |                             [title] => Days of Thunder
300 |                             [url] => http://www.last.fm/music/Various+Artists/Days+of+Thunder
301 |                             [image] => Array
302 |                                 (
303 |                                     [0] => http://images.amazon.com/images/P/B000000OZO.01._SCMZZZZZZZ_.jpg
304 |                                     [1] => http://images.amazon.com/images/P/B000000OZO.01._SCMZZZZZZZ_.jpg
305 |                                     [2] => http://images.amazon.com/images/P/B000000OZO.01._SCMZZZZZZZ_.jpg
306 |                                     [3] => http://images.amazon.com/images/P/B000000OZO.01._SCMZZZZZZZ_.jpg
307 |                                 )
308 | 
309 |                         )
310 |                 )
311 | 
312 |         )
313 | 
314 |     [fetch_time] => 1317181655
315 | )
316 | 
--------------------------------------------------------------------------------