List filenames in an album

How can I get a list of the filenames of photos in an album?
I already discovered that a workaround is to download the folder to a zip and then list the contents but I would like a more elegant solution.
I’m not afraid of the commanline.
Cheers, Janwillem