Display list of mp4 files on dashboard?

I have a camera that records 30 seconds after a motion detector detects motion.

the file is stored in /config/www/tmp

image

Is there a way to show the list of files in a card on my dashboard, so that I can click the link and play the video?

Did you already check-out the Media Source integration?

I see that Media Source, but I am trying to show a list of files in a folder, so that a user can see the last movements recorded by a camera. At the moment, I need to terminal onto the Pi, list the files, the copy and paste a file name into a browser window to have a look at the video.

I’m hoping there’s a better way to show a list of files, so I just need to click it on the dashboard. It looks like the media source can be used to play the video. But my file names are date based, so I can’t hard code a filename in there.

I need this aswell. Especially when viewing with my phone, the media files are big big icons, and this is unusable, because you can’t search, you can’t sort, etc. so I would rather have the option for a sortable list.

Did you find any solution? I am looking for exactly this too!!

This custom card will show a list of mp4 files and play them in the dashboard that worked for me.

In HACS, search for:
Gallery Card 2024