Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Vid.ImagesOnly support for multiple directories #200

Closed
chris-vg opened this issue Mar 23, 2016 · 1 comment
Closed

Request: Vid.ImagesOnly support for multiple directories #200

chris-vg opened this issue Mar 23, 2016 · 1 comment

Comments

@chris-vg
Copy link

Correct me if i'm wrong, but it appears that currently when the Vid.ImagesOnly flag is set on an artwork object, it appears to only search the first directory in the list.

So, if I have multiple directories set up for "snap" artwork (eg d:\mame\videos;d:\mame\snap), i then add the code:

local snap = fe.add_artwork("snap", 0, 0, 640, 480);
snap.video_flags = Vid.ImagesOnly;

AM will not display the snap because it couldn't find any images (only videos) in the first directory (d:\mame\videos).

Would it be possible to add logic to scan the next directory in the array if the current one has no match?

@mickelson
Copy link
Owner

Yes, this was not working as intended. It should be fixed now, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants