As far as I understand it, OpenLP does not pass this kind of meta-information to the stages view. All the information about the current song is sent to an api handler at
http://localhost:4316/api/controller/live/text
If you want to display the information you need, I think you have to dig into the python code of the application itself. The point where I would start, is a script inside the application in the plugins/remotes folder. On the Mac the full path is:
/Applications/OpenLP.app/Contents/MacOS/plugins/remotes/lib/httprouter.py
<p>There in the lines 545-550 you find the routine that passes the text over to the server.</p><p>
if current_item.is_text():<br> if frame['verseTag']:<br> item['tag'] = str(frame['verseTag'])<br> else:<br> item['tag'] = str(index + 1)<br> item['text'] = str(frame['text'])<br> item['html'] = str(frame['html'])<br>
You would have to find out, if “current_item” has all the song information stored somewhere, and then include that information in the variable “data” (see line 539). Then – I hope – OpenLP would pass the information over to the API and you could read it out via JavaScript.</p>
Unfortunately I have never done anything in Python, so I can’t really help from here.
<br>
PS. While you’re there, have a look at the lines 30-106. There you have all the API handlers listed. So if you would want to program your own control interface, that’s where to find the information.<br>