Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Get the state of the database (enabled/disabled) (Read 2178 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Get the state of the database (enabled/disabled)

I'm writing a plug-in that works with foobar's database, which means I need to know if the database is enabled or not, I looked at the albumlist component and it just has a warning & sends the user to the db's config page.  This is not a possibility for me, because my plug-in doesnt enumerate the items in the db, so i can't really just back down when enum_items or some other call returns 0.


hopefully I didnt confuse anyone and there is a way to do this...