But the two will be linked, in that the list of currently playing tracks, will be a list of FIDs will it not.
What you are doing is reading a list of FIDS (admittedly, from the playlists database) and then turning it into detailed song information (e.g. title, source etc).

Therefore you are doing some of what the other thread requires already I think.