9.7. Lua Extension API methods
These are global methods that you can call inside
the methods described above in order to get information
from Aqualung, or change Aqualung's settings or behavior.
- current_file(): Returns the filename (string) of currently playing file, or nil if no file is playing.
- current_file_percent_complete(): Returns number between 0 and 100 with the percent complete of the current
playing file, or nil if no file is playing.
- selected_files(): Returns an array (integer-keyed table) of selected filenames (strings) for the current playlist.