Listening to ...
| Version | Released | Type | License |
|---|---|---|---|
| 1.1.1 | 2009-01-08 | Modules | Donationware (?) |
This module can be used to display information about the songs you’re just listening to (or listened to lately) on your website. The output is freely configurable.
It is designed to interact with
- last.fm (You need an account there.)
- Now Playing plug-in by Antti & Lauri Nevala (website currently down) for Winamp
- Now Playing plug-in by Brandon Fuller for Winamp, iTunes for OS X, iTunes for Windows & Windows Media Player
So every time the song in your player changes, the information on your homepage is automatically updated as well. You can, however, also just manually enter song titles if you don’t want or can’t use your player.
Furthermore it can be instructed to query an Amazon Webservice to automatically retrieve cover images in different sizes for you to show along with the song data. In case you take part in Amazon’s Associates program it can also create affiliate links for you.
The module will do its best to find related media. Should a search for Artist / Album fail, it reverts to Album / Songtitle and finally to Artist only to dig up something useful.
Example output:
Just listening to ... | preceded by | ||
|---|---|---|---|
And One: »Wasted« ![]() Album: Virgin Superstar |
Apoptygma Berzerk: »Fade to Black« ![]() Album: Welcome to Earth |
Neuroticfish: »The bomb« ![]() Album: |
NamNamBulu: »Memories (Diskonnekted mix)« ![]() Album: Elektrisch! Vol. 1 |
Comments
2009-07-04 00:51
This module is great, and just what I was looking for - thank you! I was wondering, however, if there’s any easy way to display the last few ALBUMS (specifically from last.fm) rather than tracks? I can think of a couple kludges but was wondering if you had anything in mind that might be more “built-in”?
2009-01-25 00:06

Do you get this warning always or just sometimes? It indicates that the Amazon Webservice does return something unexpected.
2009-01-24 15:09
I’m not sure why those extra variables keep popping up, my code is almost the same as what’s on the template tags section of the docs page.
2009-01-24 15:08
My code pasted funny before, it’s actually:
{exp:listening_to:history limit=“3”}
<div class=“listening”>{if image_medium}{image_medium}{/if}</div>
{if image_medium}{image_medium}{/if}
{artist} {/exp:listening_to:history}">{title}
{artist}
{/exp:listening_to:history}
2009-01-23 20:18
Thanks for all of the help. I’m getting an error and I’m not sure what to do about it.
“Notice: Undefined index: ItemSearchResponse in modules/listening_to/mod.listening_to.php on line 569”
My tracks display just fine so I’m not sure what’s causing it. My code is as follows:
{exp:listening_to:history limit=“3”}
<div class=“listening”>{if image_medium}{image_medium}{/if}</div>
{if image_medium}{image_medium}{/if}
{artist} Any help would be awesome.">{title}
{artist}
Any help would be awesome.




