Is it possible to get the current filename in an HLS stream?

Scenario:

  1. Roku is playing an HLS stream. The stream consists files named:
    file_01.ts,
    file_02.ts,
    file_03.ts

  2. Roku sends a periodic “progress” messages to the application (say every 10 seconds)

Q:
3. While processing this message, is it possible to query Roku API (or the message object received) to determine the name of the file currently played?

NOTE: I understand it is possible to determine the current position of the play in seconds. The difficulty of determining the filename given the position is that the files are not of equal length. They vary slightly. This makes it PITA (not impossible though) to determine the current filename. I just wanted to make sure there isn’t a simpler way through the API I might have missed.

The “http.connect” log type of the roSystemLog will give you the last file requested. While still not exact, given buffer size and whatnot, using that in conjunction with playback position, might be enough to get you what you need.

Thanks! I’ll look into it.