Current version is 2.0.0.0 released on 2007-04-12
This plugin will allow you to publish what song you are listening to on iTunes, Windows Media Player, or Winamp at the time you write a blog entry.
Since Movable Type does not have ready access to your computer's media palyer in most cases, a Now Playing plugin is required to complete process. That plugin is available here.
- This plugin only works with Movable Type version 3.3 or higher.
- This plugin will only work in static (not dynamic) templates.
- You must purchase a Now Playing in order to use this Movable Type plugin. There is a trial version available.
- Install the Now Playing plugin.
- Configure the Now Playing plugin to publish an XML file to your server. Be sure this is working and the file is on the server.
- Download the latest version of the plugin.
- Unzip the contents of the file.
- Copy the file NowPlaying.pl to your Movable Type "plugins" directory.
(If you don't have a plugins directory, create a plugins directory in the same directory where your mt.cgi file is located. Then upload NowPlaying.pl into the newly created plugins directory.)
- Go into your blog settings. Click on the Plugins tab. You should see an entry for MT-NowPlaying. Click on Show Settings and configure as desired.
- If you have any trouble, be sure to check the Movable Type Activity Log for errors.
This plugin will only work in static (not dynamic) templates.
- MTNowPlaying
This tag prints the value of the specified attribute name. This tag must be placed within the context of an entry (for example, inside a <MTEntries> block or Individual Entry Archive template). You must provide the following attribute:
- name="tag"
This is a required parameter. The name parameter specifies which attribute of the song data to print out. It can be set to any one of: title, artist, album, genre, track, numTracks, year, kind, comments, time, bitrate, rating, disc, numDiscs, playcount, compliation, urlAmazon, urlApple, image, composer.
- MTNowPlayingIf
A container tag that conditionally generates its contents based on the existence of a value in for the tag name given. This tag must be placed within the context of an entry (for example, inside a <MTEntries> block or Individual Entry Archive template). You can provide one of the following attributes:
- name="tag"
This is a required parameter. The name parameter specifies which attribute of the song data to perform the operation on. It can be set to any one of: title, artist, album, genre, track, numTracks, year, kind, comments, time, bitrate, rating, disc, numDiscs, playcount, compliation, urlAmazon, urlApple, image, composer.
- state="0|1"
If 1, then tag shows output when value exists. If 0, then tag shows output when value does not exist.
None.
1. Adding the song you are currently listening to while writing a blog entry to your Main Index template.
<p class="posted">
<MTNowPlayingIf name="title">
I was listening to
<MTNowPlayingIf name="urlamazon">
<a href="<$MTNowPlaying name="urlamazon"$>">
<$MTNowPlaying name="title"$>
</a>
</MTNowPlayingIf>
<MTNowPlayingIf name="urlamazon" state="0">
<b><$MTNowPlaying name="title"$></b>
</MTNowPlayingIf>
by <i><$MTNowPlaying name="artist"$></i> when I wrote this.<br/>
</MTNowPlayingIf>
Posted by <$MTEntryAuthor$> at ...
If you enjoy using this plugin and/or would like to see it enhanced, please donate a buck or two...or fifty. I will use the money to buy my wife dinner so she lets me keep working on this stuff for free and does not complain.
This software is licensed under the CC-GNU LGPL.

Download the current version from the link below. Past versions are not archived.
2.0.0.0 -- 2007-04-12
- Re-architected plugin to work with newer plugin configuration options in Movable Type 3.3.
1.0.2.0 -- 2005-09-04
- Updated plugin info to take advantage of MT 3.2 enhancements.
- Changed file layout.
1.0.1.1 -- 2004-12-10
- Fixed bug where plugin reported error in MT-Medic.
1.0.1.0 -- 2004-09-26
- Added more error handling.
1.0.0.0 -- 2004-06-01
For questions, suggestions, bug reports, and anything else related to this plugin, please e-mail brandon@fuller.name or leave a comment.
Updated: 2009-11-25 at 10:52
MDT in
Hacks
Tags:
movabletype