foo_pod - Foobar2000 meets the iPod
Reply #86 – 2004-03-24 20:13:00
Loving the plugin, Aero. Unfortunately, the latest version crashes when I try to access the foo_pod preferences, either through the preferences menu or directly through the Components --> foo_pod menu. I'll PM you the log. Thanks anathema & rufu for the logs. If anyone else is experiencing the crash, try this test version and see if it helps. I added some more checks related to the iPodService, and also some debugging information written to the Foobar console. If you are still experiencing problems, please send me the part that either gives the iPodService version, or the "iPodService is not available" message.Also, I was wondering whether it was in the plans to allow the user to define custom TAGZ strings for artist/title/album. I'm still in the pre-planning stages for the Lua scripting support, but it will probably be something like this: There will be callbacks from foo_pod into the Lua script for various operations, like OnSyncStart(), OnFileTransfer(), OnAddFileToDB(), etc. What you will be able to do is add a OnAddFileToDB() function that intercepts the file as it is being added to the iPod database, and modify the metadata. So if you wanted to format the artist and album for all Blues genre songs, the script might look something like:function OnAddFileToDB(file) if file.GetGenre() == "Blues" then file.SetArtist("%tracknumber% - %_filename%") file.SetAlbum("%comment%") end end Any valid TAGZ format strings will be supported, so there will be quite a bit of flexibility and control over what shows up on the iPod.