# VideoDB - Documentation

Table of Contents

# Usage

## Frequently Asked Questions

Here are some frequently asked questions:

I installed the database and changed the config.inc.php but when I try to browse the videodb it doesn't work.
  Make sure your PHP installation has 'short_open_tag' enabled (should be by default).
I want more Inputfields!
  There are four custom fields! Use them! Read the comments in custom.php for informations how to change the output and input of them.
My videos are not in english, german, french or spanish! What should I put into the language box?
  Just put in your desired language it is just a freeform textfield. If you want to have a country flag displayed for it, place a GIF image named like the language into the flags directory. It should be 30x15 pixels in size. There is a README in the images/flags directory - read it.
I can't borrow a video! How is this done?
  You have to assign a diskid to it! If you have done so, select the video and click on [ borrow ] in the top row.
My movies are stored on some really weird media! How can I add some new mediatypes?
  Use your favourite MySQL tool to add them into the mediatypes table. Does anyone own LaserDisks? Should they be in by default?
The Adult genre never get's filled by an IMDB lookup!
  Yes - there is no such category in IMDB - You have to mark your pr0n yourself ;-)
How does the wishlist work?
  To add a movie to wishlist find the wanted movie on IMDB, add the movie as usual but choose `wanted` as mediatype - the movie will appear on your wishlist. When you finally get the movie you can change the mediatype setting to appropriated in the edit screen.
I enabled the multiuser support. But now I can't login to add users!
  There is a default user named `admin` created on database creation. An his password is - you guessed it - `admin`. BTW: Be sure to change the password once you logged in.
Some of my movies are spread about multiple disks. How do I add them?
  There are two ways people handle this. What I do is adding them twice (or how many disks you have) with some label like "CD2" or something in the title or subtitle field. Others use a custom field to store the number of disks - but this makes the file information fields a little bit useless. All other solutions would require drastic database changes.
I have multiple movies on one disk. Is that a problem?
  No. Just add any movie and give each the same diskID - All movies on the same disk become unavailable if you borrow the disk.
Can I add some more genres?
  Just add them with your favourite MySQL tool to the genres table.
I tried to translate the english language file but when I select my newly created language everything stays in english!?
  If there is a bug in the language file the default one is used. Try to load your file directly in the browser. This will parse the file and display an error message which should help you. Another hint: You have to escape doublequotes with a backslash.
My cache/imdb directory is getting large - Can I delete the files in it?
  Yes. Or just use the cache controlbar in the Config Screen
Arghh! I locked my self out from the config screen by making a mistake in the localnet option.
  Use your favourite MySQL tool to delete the option from the config table: `DELETE FROM config WHERE opt='localnet';`
Hey your tool is great! Can I do anything for you?
  Read, inform yourself and think before voting your next president.
I want to support you and the development of VideoDB - can I donate something?
  Of course you can :-D Use the PayPal Account
Are all these questions really asked frequently or do you just make them up?
  Yes :-)

your question isn't answered here? just mail me :-)