Wanting improved "Now Playing" info export

Beta Testing for Windows Products and plugins

Moderator: Gurus

JoePublic
Posts: 109
Joined: Tue May 19, 2009 11:43 am
Location: Fenton, MO

Wanting improved "Now Playing" info export

Post by JoePublic »

I use the WinAmp AMIP plug-in to export info from my "Now Playing" track to a .txt file. When a new track starts playing, the txt file is overwritten with the new song's metadata, and that is exactly what I want it to do. It works fine but it is kind of limited in what info it will export. It provides Year, Song Title, and Artist (all of which I want), but I'd REALLY like to have the composer field as well. And yes, I need it written to a text file and not directly fed to another app (like Skype) or service (like Last.fm).

Does anyone know of a plug-in or other method I could use to accomplish that? I've searched but come up empty. Thanks!
Peke
Posts: 17446
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Wanting improved "Now Playing" info export

Post by Peke »

Here is small Auto Script I use to print CD Covers, It can be easily modified to export any MMW field you need and available in scripting.
Here is what it is available http://www.mediamonkey.com/wiki/index.php/SDBSongData

Code: Select all

Sub OnStartup
  Set OpenInSpekButton = SDB.UI.AddMenuItem(SDB.UI.AddToolbar("Player Tools"), 0, 0) 
  OpenInSpekButton.OnClickFunc = "Tracklist"
  OpenInSpekButton.UseScript = Script.ScriptPath
  OpenInSpekButton.Hint = SDB.Localize("Tracklist")
  OpenInSpekButton.Caption = SDB.Localize("Tracklist")
End Sub

Sub Tracklist(arg)
Script.Reload(Script.ScriptPath)
Dim i, i2, LST, trackl, trackstr
set trackl = SDB.Tools.FileSystem.CreateTextFile("c:\temp\Tracklist.txt", True)
 i2 = SDB.AllVisibleSongList.Count - 1
 For i = 0 To i2
   Set LST = SDB.AllVisibleSongList.Item(i)
   trackstr = Right("0" & i+1 & ". ", 4)
   trackstr = trackstr & LST.ArtistName
   trackstr = trackstr & " - " & LST.Title
   trackl.WriteLine(trackstr)
 Next
trackl.Close
End Sub
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Post Reply