Attract-Mode Support Forum
Attract-Mode Support => Themes => Topic started by: kent79 on October 30, 2015, 09:33:27 AM
-
Hi All,
I have idea to add into reflectSpin and simpleCools theme, but don't know how coding. Anyone can help me? Thank you so much.
In current layouts, preview video area is shown game's video. But when game's video is empty. It will show black screen. My question is, can we make it to show snap picture while game's video is empty? Anyone can write the code to do this? Thanks.
1. Check video exist or not
2. If exist, show video
3. If not exist , show snap
-
i think if you give the path of videos and snaps in the config, when as no video will show a snap..
-
Kent79-
SNAPS > This has already been covered in the readme. If your media folder for like say mame doesn't have a video for a particular game then just drop a snap image with matching name in it.
Attract-Mode gives preference to videos over images when checking for artwork matches. If no video or image match is found, Attract-Mode will then check for a subdirectory that meets the match criteria. If a subdirectory is located (i.e. a "pacman" directory in the configured artwork path) then Attract-Mode will then pick a random video or image from that directory (with a preference for videos).
-
Thank you all reply. :)