It seems to be possible to use TitleFormatter without patching as follows:
1. Call: Slim::Music::TitleFormatter::addFormat('MYCUSTOMITEM',\&getMyCustomItem) 2. Implement getMyCustomItem in your plugin, I tested this by just implementing it as follows: sub getMyCustomItem { return 'Hello'; } After this it is possible to configure a new format using the Web interface that contains MYCUSTOMITEM and then the display will show Hello in its place. However, the MusicInfoSCR solution has a number of advantages, especially now in the 2.20 version where I don't have to patch it. The TitleFormatter solution only allow me to add custom information in the scrolling song title text on the bottom line on the display. MusicInfoSCR allows me to add the custom information in for different places: - Upper Left (not scrolling) - Upper Right (not scrolling) - Lower Left (scrolling, the same as TitleFormatter) - Lower Right (not scrolling) The only real advantage with the TitleFormat solution that I see is that it will be displayed in the standard "Now Playing" screen and not just in the screen saver as with MusicInfoSCR. So I think I will continue to use MusicInfoSCR, but I may add some custom items also as TitleFormat's in the next release if someone is interested in it. -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=20533 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins