Hi, is there any (efficient) way to retrieve now-playing info?
Since I'm not broadcasting with the built-in streamer I need to grab "%artist% - %title%" by other means.
I see two possibilities which both aren't ideal:
*) Read the database
Only next track in sequence is instantly available (INSERT INTO "sqlite_sequence" VALUES('library',55);) afaik; not the current playing.
I'd need to keep track of all playcounts and extract last incremented via library table which seems to come with a lot of overhead for large libraries since this would be looping in ~ 10 second interval.
[s]*) Stream to localhost and grab metadata from that[/s] Tried that - doesn't work. Most often only the first track's metadata is dispatched to icecast2 without further updates.
I've read about a new logging feature in 1.11 beta. Will this be logging the now-playing track or only tracks which have already been played?
I'm on Win7 x86; would it be tricky to tweak the app itself (e.g. write a file with that info) or write a plugin?
Perhaps I'm missing something and there is a more direct way to accomplish this?
Appreciate any ideas!