Seconded!
Hard to imagine why this plugin hasn't been written already, really.. In it's simplest form, all it would have to do is to access a .txt-file in the album-directory (similar to the albumart plugin), and put the text in a string that is post-processed by foobar depending on user-settings ("background colour", "font" etc..)
A slightly more advanced version could benefit from the following features:
• Allow the user to filter names of .txt-files to search for first (eg. %fileinfo.txt%,%log.txt%,%amg_info.txt%) This could be particularly useful if one wants to have multiple tabs with different text-files. (eg. lyrics, AMG-info, statistics..)
• Database-support. Store text and meta-information in a database. This way, the user can use tagz to finetune the output of the text for each album. (If lyrics, for instance, the user can choose to center-align the text.)
• Automatically rendering http-adresses into clickable links. (Full-scale html-support seems to be a bit over-the-top for a .txt-file-reader plugin, but it would of course be brilliant if someone took the time to implement it..)
• Image-support: This could be done in various ways. The easiest, perhaps, would be to have a tag-type system that sepearates images from regular text (ala html: <IMG src="c:\music\opeth\artist.jpg" align="left" border="1">). The user could then enter image-information directly into the text-file or in foobar, depending on user preference (and availabilty of database-support...)
• On second thought, the
easiest way, would be to have the plugin search for a specific type of images to use in the output. (eg. %artist.jpg%). Again, it would be nice if the user could use a custom filter if this were to be implemented.
• Spinning on the image-support-thing, the better choice would be if the user could insert a picture in the text directly in foobar via a "browse files"-dialog. The dialog would preferably have support for setting alignment, borderthickness, bordercolour and padding.
• Support for "rich text" would be nice, but probably difficult to implement, as foobar seems to have it's own special way of formating text that's impossible for plugins to override (eg. one font - one font-style per panel/plugin)
... And probably much more!
Now, what are you waiting for all you C++ hackers out there? Go make my dreams come true!