Forum
How do I check if an album exists in the Gallery app?
I'd like to output some markup if an album with a specific slug exists in a PHP file.
The logic would be like this:
If an album with slug name of "x" exists then output y.
I'm pretty sure this is possible but not sure how to do it. Any help would be appreciated.
I think I've answered my own question for anyone looking for something similar:
Looks good to me.