feat: add videodb media index with Docker stack

- Add videodb PHP/MySQL media collection manager (Blu-ray, DVD, CD)
- Dockerfile: PHP 8.1 + Apache with GD/mysqli/exif extensions
- docker-compose.yml: app on port 6761 + MySQL 8.0 with health checks
- docker-entrypoint.sh: auto-generates config.inc.php from env vars,
  waits for MySQL, initializes DB schema idempotently
- init-db.php: CLI schema installer using app's own prefix_query() logic
- Persistent volumes for DB, cache, and cover images

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-11 09:49:52 +02:00
commit f55c91276e
1230 changed files with 252321 additions and 0 deletions

731
videodb/doc/CHANGES Normal file
View File

@@ -0,0 +1,731 @@
# Version History
## videoDB Rel. 4.0
### 13.03.13
- Created nexgen template based on Foundation CSS library
- Added Foundation4 library
- Upgraded to Smarty 3.1.10
- Released videoDB 4.0pre
### 04.03.12
- Upgraded to Smarty 3.1.8
- Various PHP 5.4 compatibility fixes (Andreas Götz)
## videoDB Rel. 3.0
### 13.02.11 (3.1)
- Loads of engine fixes, especially but not limited to IMDB
- All bundled libraries upgraded
### 01.04.10
- Various PHP 5.3 compatibility fixes (Andreas Götz)
- Enhanced PDF output (Muddle)
- Upgraded to Smarty 3 (Andreas Götz)
### 19.01.10
- Added support for mod_fastcgi Basic authentication (Muddle)
### 25.03.09
- Replaced outdated amazon engine with new Amazon Web Service (Andreas Götz)
- Replaced partically broken google images engine with new google REST api (Andreas Götz)
### 05.03.09
- Released v3.0.3
### 25.02.09
- Fixed dvdb engine (Chinamann)
- Fixed ofdb engine (Chinamann)
- Fixed test classes for dvdb and dvdpalace engines (Chinamann)
- Added test class for ofdb engine (Chinamann)
- Fixed allocine engine and test (Martin Vauchel & Andreas Götz)
- Fixed various character encoding issues (Andreas Götz)
- Rewrote basic authentication code- should now provide seamless integration (Andreas Götz)
### 21.08.08
- Fixed dvdb engine (Chinamann)
- Fixed add_dvdb_barcode contrib (Chinamann)
- Fixed OFDB engine (Chinamann)
### 20.01.08 (3.0a1)
- Upgraded database schema to utf8- you can now have videos of various languages in one db
- Revamped elegant template to support AJAX
- Out-of-the-box thumbnail generation for better image quality and performance
- Out-of-the-box support for PDF export
- Various performance fixes
- Added cantonese (Hong Kong) flag
### 03.12.07 (pre v3.0)
- Added bundled fpdf and phpthumb libraries (Andreas Götz)
## videoDB Rel. 2.0
### 01.12.07
- Fixed IMDB engine (Andreas Götz)
- Upgraded xajax library to 0.5 (Andreas Götz)
- Improved setup screen by calculating cache size in background (Andreas Götz)
- Fixed various test cases (Andreas Götz)
### 08.09.07
- Fixed PHP short tags (Andreas Götz)
- Moved Smarty to /libs folder (Andreas Götz)
### 18.08.07
- Fixed tv.com engine (Victor)
- Fixed allocine.fr engine (tedemo)
### 10.08.07
- Added support for youTube trailers (youtube developer key required)
- More engine test cases (Sebastien)
### 15.07.07
- Released videoDB 2.3.0
- Upgraded Smarty to 2.6.18 (Andreas Götz)
- Zillions of engine fixes
- Added automated test cases for engines (Andreas Götz)
### 06.02.07
- Completely rewritten OFDB engine (beta state) (Chinamann)
### 05.02.07
- Fixed less privileged users can't use random, search, borrow and new/edit views even if the should (Chinamann)
### 17.01.07
- Fixed security hole in show.php which enabled users to see movies they don't have access to (Chinamann)
- Bugfix in stats.php: Don't count movies which are on the wishlist (Chinamann)
### 16.01.07
- Fixed dvdb engine and improved fetching performance (Chinamann)
- Fixed dvdpalace engine (Chinamann)
- Fixed JavaScript error in elegant.css (Chinamann)
- Added session status restore in httpClient (Chinamann)
### 11.11.06
- Added template screenshots for selected templates (Andreas Götz)
- Fixed an installer issue when upgrading (Andreas Götz)
- Fixed [ 1596452 ] displaying movie takes a long time (Andreas Götz)
### 10.10.06
- Upgraded Smarty to 2.6.14 (Andreas Götz)
### 04.10.06
- Updated dvdfr engine (Seb)
- Updated release scripts for new SF CVS settings (Andreas Götz)
### 03.10.06
- Fixed IMDB cast issue (Andreas Götz)
- Fixed include security issue Secunia advisory SA22184 (Andreas Götz)
### 05.07.06
- Updated google image search engine according to google website updates (Andreas Götz)
### 28.03.06
- added Aka search for IMDB (Andreas Götz)
- split xml.tpl from header scripts for advanced and jeckyl template (Andreas Götz)
### 25.01.06
- upgraded Smarty to 2.6.12 (Andreas Götz)
### 27.12.05
- upgraded Smarty to 2.6.11 (Andreas Götz)
### 27.09.05
- added dvdb user login support to acess FSK18 movies (Chinamann)
### 23.09.05
- added favicons by Paul Leclair (Andreas Götz)
- added previous/next navigation to show template (Andreas Götz)
- added new auto DiskId calculation. Now: "next free" before: "highest+1" (Chinamann)
- fixed external search (Chinamann)
- added convert_engines contrib to switch between dvdpalace and dvdb engine (Chinamann)
- added user and engine filter to refetchAllInfos contrib (Chinamann)
- added imdbID prefix history functions to dvdb and dvdpalace engine (Chinamann)
- fixed dvdb engine to avoid bad results if httpClient sends "Request Timeout" (Chinamann)
### 21.09.05
- added DVDB.de engine (Chinamann)
- changed barcode based adding contrib to use DVDB.de engine (Chinamann)
- changed LableWriter Export to use DVDB.de engine (Chinamann)
- added UTF8 support to httpClient (Chinamann)
- added imdb-id-prefix also to imdb and changed it in dvdpalace engine (Chinamann)
### 01.09.05
- PDF title formatting fix (Justin Pasher)
- Excel export (Chinamann)
- added Amazon.com engine (Andreas Götz)
- added more IMDB genres (Andreas Götz)
- added HTTP caching support (Andreas Götz)
- upgraded Smarty to latest 2.6.10 (Andreas Götz)
### 31.07.05
- Image max width/height values (pdf config file) (Justin Pasher)
- Image width/height values (in the generated PDF) (pdf config file) (Justin Pasher)
- Overall font size (pdf config file) (Justin Pasher)
- Display mediatype next to diskid in the title for the movies (Justin Pasher)
- Search form now display "Video Codec" in the "Search Fields" box (Justin Pasher)
### 15.06.05
- fixed db prefix problems in create- and upgradescripts (Chinamann)
- fixed "database not empty" problem even if different prefix is selected (Chinamann)
- fixed bug [ 1199833 ] Database prefix not added when MySQL database is not empty (Chinamann)
### 24.05.05
- added user to user permissions (Chinamann)
- updated dvdpalace engine (Chinamann)
- fixed bug [ 1122052 ] Automatic DiskID generation problem (Chinamann)
### 01.04.05
- upgraded Smarty to latest 2.6.8 (Andreas Götz)
### 23.02.05
- added engine config options (Andreas Götz)
- added prelimenary improved episodes support (Andreas Götz)
- added add_tv_episodes
### 10.02.05
- added support for common table prefix for hosting environments (Andreas Götz)
- added content drilldown to DvdInside engine (Andreas Götz)
- added support for regrouping of articles (Andreas Götz)
- added default values for list- and castcolumns to createtables.sql (Andreas Götz)
- upgraded Smarty to latest 2.6.7 (Andreas Götz)
- moved some language flags to images/flags/additional (Andreas Götz)
### 25.01.05
- added HTTP basic auth support for use by RSS feed readers (Andreas Götz)
- disabled IMDB browser access for anonymous users for security reasons
- added new language flags (Constantinos Neophytou)
### 21.01.05
- added langcheck tooltips update (Constantinos Neophytou)
- added greek language files (Constantinos Neophytou)
- applied multi-language patch (Constantinos Neophytou)
### 17.01.05
- added https patch (Andreas Götz, thanks to Robert Hendricks)
- added removal of html tags in title and subtitle (Andreas Götz)
### 05.01.05
- security fix for javascript attacks (Andreas Götz, thanks to Holger van Lengerich)
### 28.12.04
- fixed phpthumb code sometimes generating duplicate thumbnails
- fixed custom fields not being copied from IMDB
### 24.12.04
- added cache-less mode to avoid caching of IMDB queries (Andreas Götz)
- various template fixes (bug 1084553, etc)
- added swedish translations (Nisse Hellberg)
- several security fixes (Andreas Götz, Steve Kemp)
### 15.11.04
- even more PDF export fixes (Andreas Götz)
### 05.11.04
- PDF export fixes
- removed 'Adult' genres for users without permissions (Andreas Götz)
- added default adult genre to the setup SQL (Andreas Götz)
### 27.10.04
- added PDF export (Andreas Götz)
- added advanced template (Elkin)
### 15.10.04
- added thumbnail scaling using phpThumb for saving bandwidth (Andreas Götz)
### 20.09.04
- moved javascripts to separate files for re-use (Andreas Götz)
- moved xml headers to separate template file for re-use (Andreas Götz)
- added xml import/export (Andreas Götz)
- separated search field names in templates from physical columns names (Andreas Götz)
- upgraded smarty to 2.6.5 (Andreas Götz)
- added custom smarty function html_checkbox to get rid of the {if $video.seen}{else}{/if} (Andreas Götz)
- added tool to decode html entities into ANSI characters (contrib/decode_entities.php)
- fixed user dropdown (Mike Clark)
### 10.09.04
- added hierarchical language files (Idea by Elkin)
- added tool for finding recommendations (contrib/add_recommended_movies.php)
- added owner dropdown for multiuser mode (PimpGoblin)
### 24.08.2004
- added support for google image lookup (edit.tpl)
- allowed to store engine as id prefix (experimental: imdb:081547)
- upgraded search functionality to search any external site
- added tool to remove orphans from image cache (contrib/clean_unused_images.php)
- updated delete functionality to remove cover of deleted movie
### 16.08.2004
- updated to allow drilldown on individual countries (if separated by ,)
- major overhaul of installer (Andreas Götz)
### 15.08.2004
- major overhaul of internal database structure
- improved developer documentation
### 01.08.2004
- Added indian language flag
- small updates to the manual
### 03.07.2004
- Not working search IMDB button fixed in default template
### 29.06.2004
- Bugfix for PHP installation with missing '.' in include_path
### 28.06.2004
- Bugfix for SQL error on user insert (Kris Senden)
### 27.06.2004
- install.php (Andreas Götz)
- upgrade accross multiple versions at once
- jumps directly into upgrade step
### 21.06.2004
- french update by Cyril Duveau
- bugfix for german language file
### 19.06.2004
- fixed support for admin to change owner
- added per user seen value (statistics not updated yet)
- bugfix for default lookup.tpl (no engine support yet)
### 11.06.2004
- added amazon webservice (experimental) (Andreas Götz)
- added compact.css (Andreas Götz)
- modified imdboverwrite to be more flexible (Andreas Götz)
### 09.06.2004
- small bugfix for contrib/tvtome.php
- added access keys to default template
### 05.06.2004
- Andreas Götz:
- upgraded smarty 2.5 to 2.6.3 to ensure php5 compatibility
- modified html_image to allow max_width and max_height parameters for
modern template
- Andreas Gohr:
- fixed permission problems when logging out and in within the same
browser session
- added profile support to modern template
- fetching gueststars in contrib/tvtome.php
### 03.06.2004
- added <title> support for speaking html page titles (Andreas Götz)
### 01.06.2004
- added installer support to write configuration back to
config.inc.php (Andreas Götz)
### 28.05.2004
- Various changes by Andreas Götz
- added httpClient support for gzip-encoding
- added httpClient support to remember redirects
- reformatted error messages and added links to install.php
- added preliminary multi-engine support
- added improved video copy support
- added referer patch by Mike Clark
### 16.05.2004
- added user profiles
### 13.05.2004
- bugfix for names containing quotes
- bugfix for modern template CSS by Justin Pasher
### 10.05.2004
- swedish language file by Nisse added
- spanish update by Elkin Fricke
- bugfix for tvtome.php by Elkin Fricke
### 09.05.2004
- Multiuser Bug on deletion fixed by Stephan Hesmer
- added a index.html (thx to Merle Reine)
- added dvdadd.pl to contrib (based upon sample script by Elkin
Fricke)
- Request to Borrow Feature added some time in between ;-)
- multiple minor changes and fixes by Andreas Götz and some
others including some fixes on the IMDB integration
### 04.02.2004
- language updates
### 29.12.2003
- videoadd.pl supports the owner field
- default template now uses the full screen width
### 21.12.2003
- minor code cleanup
- manual additions
- use of security mechanisms for tvtome.php
- all images are tried in the template directory first
- VideoDB now checks for a loaded mysql PHP extension
- videoadd.pl now sets the created timestamp
- the # filter now matches foreign characters and special
chars, too (thx to Justin Lim)
- Now all fields from the videodata table are selected for list
views (index and search) - more freedom for template designers
### 19.12.2003
- bugfix for russian language file by Eugene Surov
- Optional adult check for certain genres
### 29.11.2003
- bugfix for IMDB Problem (thx to Andreas Götz and others)
- more effective session init (Andreas Götz)
### 05.11.2003
- no edit links on missing permissions in modern template
- admin can change owner (thx to Mike Clark)
### 02.11.2003
- small doc updates
### 26.10.2003
- New custom type for MPAA ratings by Tim M. Sanders
- bulgarian language update by drJekyll
- polish update by Maciej Witkowiak
### 25.10.2003
- french language update by Cyril Duveau
- minor tweaks for modern template
### 23.10.2003
- dutch language update by Kees de Bruin
- german language updated
### 21.10.2003
- small update for french language by Daniel Caujolle-Bert
### 19.10.2003
- added new cutom type 'movix' by Antonio Giungato
- added new default style 'metal'
### 15.10.2003
- new Multiplayer code based on many code contributions by Mike
Clark and some by "weber"
### 03.10.2003
- added new stylesheet for the default template by Joakim Sandén
### 21.09.2003
- spanish update by Elkin Fricke
- DB versioning
### 17.09.2003
- Added missing <?xml ?> header
### 16.09.2003
- Dutch update by Kees de Bruin
### 15.09.2003
- Manual and Helpbrowser added
- random view does no longer show wishlist items
- French update by Cyril Duveau
- Bulgarian Update by drJekyll
- movies are only marked as new when added not when changed anymore
### 14.09.2003
- Portuguese update by Tiago Fonseca, Brasilian Portuguese
by Marcus Leandro
### 08.09.2003
- Italian update by Antonio Giungato
### 07.09.2003
- language checker added to the contrib directory
### 04.09.2003
- all IMDB functions now use the new link formats
- imdbData now returns a hash
### 30.08.2003
- bugfix for new imdb link format by Charles Morgan
### 29.08.2003
- french update by Cyril Duveau
- patch to enable upload from an URL in Konquerer by Stephan Zalewski
- Userdefinable config table (by Stephan Zalewski)
- Brazillian portuguese Language by Marcus Leandro added
### 27.08.2003
- custom type for original title by Stephan Zalewski
- better cachedirectory checks
### 26.08.2003
- POST support for HTTP client by Andreas Götz
- IMDB-Browser by Andreas Götz
### 25.08.2003
- bulgarian language update by drJekyll
### 23.08.2003
- spanish update by Elkin Fricke
- bugfix for HTTP caching on windows
- lots of comments added its now possible to generate a API doc with phpDocumentor
### 21.08.2003
- small wishlist bugfix by Andreas Götz
- Number of shown movies in new filter is cutomizable now (Patch by Stephan Zalewski)
- improvements to the year statistic
### 18.08.2003
- minor template tweaks (default)
- updated spanish translation by Elkin Fricke
- idea for year statistic implemented not finished yet
### 17.08.2003
- setup.php uses REPLACE now
- merged multi template with default
- new template by Andreas Götz: modern
- Fixed bug with interfering environment variables (Thanks to
Raymond Scholz pointing that out)
- nocover image is now a transparent gif - Templates can use
their own.
- Added a new rating custom type which uses the IMDB rating as
a default
- Search now works with ' in queries (Fixes Ed O'Neill)
- Fixed error when selecting random on an empty database
- New Mediatype 'wanted' for building a wishlist of movies (Idea by
Andreas Götz)
- Cover-Upload by Stephan Zalewski
- some template tuning
### 11.08.2003
- bugfix by Harald Leithner for mediadefault in setup.php
- bulgarian update by drJekyll
- minor template fixes
### 10.08.2003
- Enhancement of the imdbActor function
- Updated french language by Cyril Duveau
- local files in the cover field now work again
- setup.tpl is now independent from the available setup options
- changed the random function again please send me a mail if it
isn't random enough
### 09.08.2003
- New template (multi) and some minor codechanges (Andreas Götz)
- Fix for missing director and country fields in show.php
- Not found actorthumbnails are retried after specified age
### 07.08.2003
- Patches by Andreas Götz:
- fix for chunked encoding which makes http/1.1 possible
- enhanced imdbActor function
- bugfix for IMDB caching function
- Bulgarian language update by drJekyll
### 05.08.2003
- Spanish language updates by Elkin Fricke
### 03.08.2003
- IMDB cache reimplemented
- small fix for imdbActors by Andreas Götz
- Translation update for russian language by Konstantin Boudnik
### 31.07.2003
- Dutch translation updated by Kees de Bruin
### 30.07.2003
- update for the portuguese languagefile by Nuno Nunes
- Some updates to the new proxy enabled download function
- Experimental support for actor fotos by Andreas Götz
### 29.07.2003
- Bulgarian languagefile by drJekyll added
- spanish language update by ctRl
- Proxy support by Andreas Götz
### 28.07.2003
- Bugfix for the ID assigning problem which made adding new videos impossible (sorry folks)
- image cacheing is now handled seperately by img.php
### 26.07.2003
- Small fix by Andreas Götz for autoDiskID calculation
### 20-25.07.2003
- Everything is better now! :-) I like to call it Version 2
- Templates with Smarty
- Webbased, database stored config
- SQL function now returns associative arrays
- much code cleanup
- display bug in Linux Opera fixed
- a TODO file was added
- Style by drJeckyll added
### 20.07.2003
- Patch by Andreas Götz to fix the genre links in show.php
- The TV-Episode switch is now stored in the session (Patch by Thomas Zajik)
### 17.07.2003
- Now checkboxlabels are clickable (patch by Kjetil Thuen)
### 16.07.2003
- Fixed the random function to produce more random values
### 15.07.2003
- Unavailable movies are now shown in red on the browsing view (Thanks to Alexandre Thomas for the idea)
- The french translation was corrected by Alexandre Thomas
### 14.07.2003
- Added russian language file by Konstantin Boudnik
- bugfix for orderallbydiskid
### 05.07.2003
- Incorporated lots of changes by Nicola Asuni (www.tecnick.com
info@tecnick.com)
- The output is in XHTML 1.0 Transitional
- some PHP bugs has been removed
- code cleanup
- directory hierachy was redesigned
- Added portuguese languagefile by Nuno Nunes
- The style can be changed from the config file
### 21.06.2003
- changed error_reporting to show fatal errors and parse errors this
should make debugging of custom function easier
### 20.06.2003
- added polish language file by Maciej Witkowiak
- charsetencoding is now set with the languagefile
- czech and polish flags added
### 19.06.2003
- You can now define your own input/output functions for the custom fields. see custom.php
- videoadd.pl now uses mplayer for getting video informations, it can create md4 sums for edonkey links, too (thx to Frank Schubert for the idea)
- The recursion bug in videoadd now really is fixed
### 12.06.2003
- added missing top.gif
### 09.06.2003
- some more language flags and a new config option for language quick select buttons were added
- cosmetic changes
- infinite recursion fixed in videoadd.pl
### 01.06.2003
- Cast is displayed in multiple columns now (Idea by Andreas Götz)
- videoadd.pl now scans recursivly for files - this should work with (S)VCDs can anyone confirm that?
### 30.05.2003
- fixed a small bug in the IMDB cast parser
### 28.05.2003
- Updated the README a little bit
### 25.05.2003
- back to top link on every page
- Patches by Andreas Götz
- addslashes for delete JavaScript (fixes problems with "Charlie's Angels")
- The filtersetting is now saved in a session
### 24.05.2003
- added french language file by Cyril Duveau
- disabled error_reporting in nondebugmode
### 09.05.2003
- Patches by Andreas Götz
- bug fix for the new Cast IMDB parser (bad HREFs removed)
- you can set a default language for new movies
- thumbnails when browsing - sweet :-)
### 22.04.2003
- added patches by Raymond Scholz:
- little bug on custom fields fixed
- IMDB parser now gets the runtime right on movies >999 min
- The cast is now fetched from the extended credits page
### 17.04.2003
- videoadd.pl now always sets the mediatype to CD-R and a bug in the titelguesser was fixed
### 23.03.2003
- more statistics
### 18.03.2003
- Dutch translation by Kees de Bruin added
- IMDB parser now splits Title from Subtitle at " - " instead of "-" (patch by Kees de Bruin)
### 17.03.2003
- added some JavaScript to enable the IMDB lookup by default when the IMBD-ID is changed
- added an option to let IMDB lookups replace existing data
### 16.03.2003
- various patches by "unknown":
- saving new items without a genre with no errors from functions.php line 87
- stop imdb lookup when searching on empty title/subtitle (window still shows but it is faster as it does nothing)
- stop imdb lookup when selected checkbox "lookup missing data from imdb" and there is no imdb item value before clicking save
- option to show listing entries sorted by diskid
- allow editing seen option from inside edit screen
- show total hours seen (watched) in statistics
- added "Adult" genre
- IMDB caching now works on redirects, too
### 15.03.2003
- added spanish translation contributed by "Orko"
### 06.03.2003
- linked the categories from the statistics page to the search
### 02.03.2003
- applied some Patches by Cameron W. Johnston to add support for
various writable DVD formats
### 04.02.2003
- fixed a problem with duplicate keys on genre inserts
### 02.02.2003
- The default filter can be set in the config (thx to Dale Blount)
- removed the useless 'Edit' and 'View' link on the respective pages (thx to Stephen Tomkinson)
- only nonempty fields are shown in the movie view (thx to Stephen Tomkinson)
- Category names are linked to the search (thx to Stephen again)
- empty years default to 0000 instead 2002 now
- Version tag added
### 30.01.2003
- Useragent of IMDB grabber is now IE and IMDB queries are now cached locally (thx to Marc Schoenefeld and Andreas Götz)
### 25.01.2003
- new Perl script direxport.pl added
- splitbrain link at the bottom now links directly to the videodb page
### 24.01.2003
- fixed another small bugs in the IMDBgrabber and added a new search.gif (again: all the fame goes to Antonio :-))
### 23.01.2003
- made search DISTINCT (thx to Antonio Giungato)
- IMDBfetcher now grabs 'Runtime: USA: 110 min' correctly (thx to Antonio again)
- added mediatype dropdown (thx to Rob Vonk)
- added custom fields
- limit edit to localnet only (thx to Jens Oberender)
### 20.01.2003
- "column 'comment' specified twice" error removed (ARGG! STUPID ME!)
- languages with no flag available don't result in a broken image anymore
### 19.01.2003
- started a changefile ;-)
- you may add a comment to each movie (currently 255 chars - mail me if that is a problem)
- "lent tofred" solved
- diskid '0' is possible now
- actors and director is linked to the search (works pretty well)
- changed the link color
- borrow manager links to the first movie on disk
- magic quote problems hopfully solved forever
### 16.01.2003
- better borrowmanager, various smaller bugfixes and improvements
### 12.01.2003
- It now works with register_globals=off.
- Title and subtilefetching added.
- Problems with gpc_magicquotes solved.
### 11.01.2003
- Much better IMDB Search :-)
### 06.01.2003 17:00
- Fixed a typo in the english language file
- Grabbing the plot and image URL from IMDB now works again.
### 06.01.2003
- Thanks to Marcel Spitau <marcel at spitau dot de> VideoDB now supports multiple languages. Currently english and german is available. But adding your own language is easy. If you do so please send in your language file!

340
videodb/doc/COPYING Normal file
View File

@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

1
videodb/doc/INSTALL Normal file
View File

@@ -0,0 +1 @@
See README

66
videodb/doc/README Normal file
View File

@@ -0,0 +1,66 @@
INSTALL
- Be sure to have a recent PHP version! At least 5.3 with GD library is required
- copy all files in a directory somewhere below your webserver root
Do one of these steps:
- point your browser the install.php and follow the instructions
or (not recommended since v2.0)
- create a MySQL-Database using the table definitions in install/install.sql
- edit the config.inc.php to match your database
- point your browser to your new VideoDB and add some movies
- customize everything in the config screen
UPDATING FROM A PRIOR VERSION
- extract the new videoDB archive into the same folder as your old installation
- open videoDB- the system will recognize that upgrade is required and start install.php
or
- manually point your browser to install.php
- follow the instructions
or (not recommended since v2.0)
- run doc/updatedb.sql over your existing database with the -f option to
force mysql to ignore errors. This *should* not delete any of your data.
e.g.
mysql -p -f VideoDB < doc/updatedb.sql
- check out new config options in the config screen
CUSTOMIZING
- You can define up to four custom fields in the config screen
- You can add input and output functions for them in custom.php
- You can add additional stylesheets by dropping them into the template
directory (e.g. templates/default/)
- You can create your own templates by putting them into their own
directory in templates/
- Whenever you do anything of the above please send it to me
PROBLEMS/FEEDBACK
- Use the mailinglist to contact the developers at
http://lists.sourceforge.net/mailman/listinfo/videodb-devel
THANKS
- all the people mentioned in the CHANGELOG
- all th people who made the wonderful free software this project is
based on (e.g. Developers of PHP, Smarty, Apache, MySQL, Linux)
LICENSE
VideoDB is released under the GNU General Public License (GPL)
See COPYING for more Info
VideoDB comes with the Smarty Template Engine
Smarty is released under the GNU Lesser General Public License (LGPL)
See COPYING.lib in the smarty directory for more Info

30
videodb/doc/TODO Normal file
View File

@@ -0,0 +1,30 @@
Here are some things that still have to be done. I add my thoughts
about them, too. So you have an idea how likely you will see them
in the next version.
If you want to do some of them *please* do so! I'm drowning in work.
This file is always slightly out of date - to have full insight in
the ongoing development process join the mailing list!
* Template-Creation HOWTO
- which variables are available in which template and so on
* Update/Add language files
- Yes please do so! You may even correct my bad english!
* Export-Function

1
videodb/doc/VERSION Normal file
View File

@@ -0,0 +1 @@
4_0_0

View File

@@ -0,0 +1,5 @@
The database design was modeled with FabForce DBModeler
To work with this model download from http://www.fabforce.net/downloads.php
cpuidle@gmx.de

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@@ -0,0 +1,803 @@
<?xml version="1.0" standalone="yes" ?>
<DBMODEL Version="4.0">
<SETTINGS>
<GLOBALSETTINGS ModelName="videoDB v2" IDModel="3" IDVersion="4" VersionStr="1.0.0.1" Comments="" UseVersionHistroy="1" AutoIncVersion="1" DatabaseType="MySQL" ZoomFac="91.00" XPos="151" YPos="310" DefaultDataType="5" DefaultTablePrefix="0" DefSaveDBConn="dbdesigner" DefSyncDBConn="videodb_localhost" DefQueryDBConn="" Printer="" HPageCount="4.0" PageAspectRatio="1.440892512336408" PageOrientation="1" PageFormat="A4 (210x297 mm, 8.26x11.7 inches)" SelectedPages="" UsePositionGrid="1" PositionGridX="20" PositionGridY="20" TableNameInRefs="0" DefaultTableType="0" ActivateRefDefForNewRelations="1" FKPrefix="" FKPostfix="" CreateFKRefDefIndex="0" DBQuoteCharacter="`" CreateSQLforLinkedObjects="0" DefModelFont="Tahoma" CanvasWidth="4096" CanvasHeight="2842" />
<DATATYPEGROUPS>
<DATATYPEGROUP Name="Numeric Types" Icon="1" />
<DATATYPEGROUP Name="Date and Time Types" Icon="2" />
<DATATYPEGROUP Name="String Types" Icon="3" />
<DATATYPEGROUP Name="Blob and Text Types" Icon="4" />
<DATATYPEGROUP Name="User defined Types" Icon="5" />
<DATATYPEGROUP Name="Geographic Types" Icon="6" />
</DATATYPEGROUPS>
<DATATYPES>
<DATATYPE ID="1" IDGroup="0" TypeName="TINYINT" Description="A very small integer. The signed range is -128 to 127. The unsigned range is 0 to 255." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
<OPTIONS>
<OPTION Name="UNSIGNED" Default="1" />
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="2" IDGroup="0" TypeName="SMALLINT" Description="A small integer. The signed range is -32768 to 32767. The unsigned range is 0 to 65535." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
<OPTIONS>
<OPTION Name="UNSIGNED" Default="1" />
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="3" IDGroup="0" TypeName="MEDIUMINT" Description="A medium-size integer. The signed range is -8388608 to 8388607. The unsigned range is 0 to 16777215." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
<OPTIONS>
<OPTION Name="UNSIGNED" Default="1" />
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="4" IDGroup="0" TypeName="INT" Description="A normal-size integer. The signed range is -2147483648 to 2147483647. The unsigned range is 0 to 4294967295." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="1" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
<OPTIONS>
<OPTION Name="UNSIGNED" Default="0" />
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="5" IDGroup="0" TypeName="INTEGER" Description="A normal-size integer. The signed range is -2147483648 to 2147483647. The unsigned range is 0 to 4294967295." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="1" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
<OPTIONS>
<OPTION Name="UNSIGNED" Default="1" />
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="6" IDGroup="0" TypeName="BIGINT" Description="A large integer. The signed range is -9223372036854775808 to 9223372036854775807. The unsigned range is 0 to 18446744073709551615." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
<OPTIONS>
<OPTION Name="UNSIGNED" Default="0" />
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="7" IDGroup="0" TypeName="FLOAT" Description="A small (single-precision) floating-point number. Cannot be unsigned. Allowable values are -3.402823466E+38 to -1.175494351E-38, 0, and 1.175494351E-38 to 3.402823466E+38." ParamCount="1" OptionCount="1" ParamRequired="1" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="precision" />
</PARAMS>
<OPTIONS>
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="8" IDGroup="0" TypeName="FLOAT" Description="A small (single-precision) floating-point number. Cannot be unsigned. Allowable values are -3.402823466E+38 to -1.175494351E-38, 0, and 1.175494351E-38 to 3.402823466E+38." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
<PARAM Name="decimals" />
</PARAMS>
<OPTIONS>
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="9" IDGroup="0" TypeName="DOUBLE" Description="A normal-size (double-precision) floating-point number. Cannot be unsigned. Allowable values are -1.7976931348623157E+308 to -2.2250738585072014E-308, 0, and 2.2250738585072014E-308 to 1.7976931348623157E+308." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="2" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
<PARAM Name="decimals" />
</PARAMS>
<OPTIONS>
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="10" IDGroup="0" TypeName="DOUBLE PRECISION" Description="This is a synonym for DOUBLE." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="2" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
<PARAM Name="decimals" />
</PARAMS>
<OPTIONS>
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="11" IDGroup="0" TypeName="REAL" Description="This is a synonym for DOUBLE." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="2" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
<PARAM Name="decimals" />
</PARAMS>
<OPTIONS>
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="12" IDGroup="0" TypeName="DECIMAL" Description="An unpacked floating-point number. Cannot be unsigned. Behaves like a CHAR column." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="3" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
<PARAM Name="decimals" />
</PARAMS>
<OPTIONS>
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="13" IDGroup="0" TypeName="NUMERIC" Description="This is a synonym for DECIMAL." ParamCount="2" OptionCount="1" ParamRequired="1" EditParamsAsString="0" SynonymGroup="3" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
<PARAM Name="decimals" />
</PARAMS>
<OPTIONS>
<OPTION Name="ZEROFILL" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="14" IDGroup="1" TypeName="DATE" Description="A date. The supported range is \a1000-01-01\a to \a9999-12-31\a." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="15" IDGroup="1" TypeName="DATETIME" Description="A date and time combination. The supported range is \a1000-01-01 00:00:00\a to \a9999-12-31 23:59:59\a." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="16" IDGroup="1" TypeName="TIMESTAMP" Description="A timestamp. The range is \a1970-01-01 00:00:00\a to sometime in the year 2037. The length can be 14 (or missing), 12, 10, 8, 6, 4, or 2 representing YYYYMMDDHHMMSS, ... , YYYYMMDD, ... , YY formats." ParamCount="1" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
</DATATYPE>
<DATATYPE ID="17" IDGroup="1" TypeName="TIME" Description="A time. The range is \a-838:59:59\a to \a838:59:59\a." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="18" IDGroup="1" TypeName="YEAR" Description="A year in 2- or 4-digit format (default is 4-digit)." ParamCount="1" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
</DATATYPE>
<DATATYPE ID="19" IDGroup="2" TypeName="CHAR" Description="A fixed-length string (1 to 255 characters) that is always right-padded with spaces to the specified length when stored. values are sorted and compared in case-insensitive fashion according to the default character set unless the BINARY keyword is given." ParamCount="1" OptionCount="1" ParamRequired="1" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
<OPTIONS>
<OPTION Name="BINARY" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="20" IDGroup="2" TypeName="VARCHAR" Description="A variable-length string (1 to 255 characters). Values are sorted and compared in case-sensitive fashion unless the BINARY keyword is given." ParamCount="1" OptionCount="1" ParamRequired="1" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="length" />
</PARAMS>
<OPTIONS>
<OPTION Name="BINARY" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="21" IDGroup="2" TypeName="BIT" Description="This is a synonym for CHAR(1)." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="22" IDGroup="2" TypeName="BOOL" Description="This is a synonym for CHAR(1)." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="23" IDGroup="3" TypeName="TINYBLOB" Description="A column maximum length of 255 (2^8 - 1) characters. Values are sorted and compared in case-sensitive fashion." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="24" IDGroup="3" TypeName="BLOB" Description="A column maximum length of 65535 (2^16 - 1) characters. Values are sorted and compared in case-sensitive fashion." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="25" IDGroup="3" TypeName="MEDIUMBLOB" Description="A column maximum length of 16777215 (2^24 - 1) characters. Values are sorted and compared in case-sensitive fashion." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="26" IDGroup="3" TypeName="LONGBLOB" Description="A column maximum length of 4294967295 (2^32 - 1) characters. Values are sorted and compared in case-sensitive fashion." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="27" IDGroup="3" TypeName="TINYTEXT" Description="A column maximum length of 255 (2^8 - 1) characters." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="28" IDGroup="3" TypeName="TEXT" Description="A column maximum length of 65535 (2^16 - 1) characters." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="29" IDGroup="3" TypeName="MEDIUMTEXT" Description="A column maximum length of 16777215 (2^24 - 1) characters." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="30" IDGroup="3" TypeName="LONGTEXT" Description="A column maximum length of 4294967295 (2^32 - 1) characters." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="31" IDGroup="3" TypeName="ENUM" Description="An enumeration. A string object that can have only one value, chosen from the list of values." ParamCount="1" OptionCount="0" ParamRequired="1" EditParamsAsString="1" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="values" />
</PARAMS>
</DATATYPE>
<DATATYPE ID="32" IDGroup="3" TypeName="SET" Description="A set. A string object that can have zero or more values, each of which must be chosen from the list of values." ParamCount="1" OptionCount="0" ParamRequired="1" EditParamsAsString="1" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<PARAMS>
<PARAM Name="values" />
</PARAMS>
</DATATYPE>
<DATATYPE ID="33" IDGroup="4" TypeName="Varchar(20)" Description="" ParamCount="0" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<OPTIONS>
<OPTION Name="BINARY" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="34" IDGroup="4" TypeName="Varchar(45)" Description="" ParamCount="0" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<OPTIONS>
<OPTION Name="BINARY" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="35" IDGroup="4" TypeName="Varchar(255)" Description="" ParamCount="0" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
<OPTIONS>
<OPTION Name="BINARY" Default="0" />
</OPTIONS>
</DATATYPE>
<DATATYPE ID="36" IDGroup="5" TypeName="GEOMETRY" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="38" IDGroup="5" TypeName="LINESTRING" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="39" IDGroup="5" TypeName="POLYGON" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="40" IDGroup="5" TypeName="MULTIPOINT" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="41" IDGroup="5" TypeName="MULTILINESTRING" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="42" IDGroup="5" TypeName="MULTIPOLYGON" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
<DATATYPE ID="43" IDGroup="5" TypeName="GEOMETRYCOLLECTION" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
</DATATYPE>
</DATATYPES>
<COMMON_DATATYPES>
<COMMON_DATATYPE ID="5" />
<COMMON_DATATYPE ID="8" />
<COMMON_DATATYPE ID="20" />
<COMMON_DATATYPE ID="15" />
<COMMON_DATATYPE ID="22" />
<COMMON_DATATYPE ID="28" />
<COMMON_DATATYPE ID="26" />
<COMMON_DATATYPE ID="33" />
<COMMON_DATATYPE ID="34" />
<COMMON_DATATYPE ID="35" />
</COMMON_DATATYPES>
<TABLEPREFIXES>
<TABLEPREFIX Name="Default (no prefix)" />
</TABLEPREFIXES>
<REGIONCOLORS>
<REGIONCOLOR Color="Red=#FFEEEC" />
<REGIONCOLOR Color="Yellow=#FEFDED" />
<REGIONCOLOR Color="Green=#EAFFE5" />
<REGIONCOLOR Color="Cyan=#ECFDFF" />
<REGIONCOLOR Color="Blue=#F0F1FE" />
<REGIONCOLOR Color="Magenta=#FFEBFA" />
</REGIONCOLORS>
<POSITIONMARKERS>
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
<POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
</POSITIONMARKERS>
</SETTINGS>
<METADATA>
<REGIONS>
<REGION ID="1368" RegionName="Actors" XPos="680" YPos="20" Width="320" Height="220" RegionColor="5" TablePrefix="0" TableType="0" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="23" />
<REGION ID="1366" RegionName="Attributes" XPos="320" YPos="260" Width="680" Height="260" RegionColor="3" TablePrefix="0" TableType="0" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="21" />
<REGION ID="1357" RegionName="User" XPos="320" YPos="540" Width="300" Height="380" RegionColor="2" TablePrefix="0" TableType="0" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="20" />
<REGION ID="1341" RegionName="Configuration" XPos="680" YPos="540" Width="320" Height="380" RegionColor="0" TablePrefix="0" TableType="0" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="16" />
<REGION ID="1342" RegionName="Base data" XPos="20" YPos="20" Width="280" Height="900" RegionColor="1" TablePrefix="0" TableType="0" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="17" />
<REGION ID="1367" RegionName="Borrow" XPos="320" YPos="20" Width="300" Height="220" RegionColor="4" TablePrefix="0" TableType="0" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="22" />
</REGIONS>
<TABLES>
<TABLE ID="1216" Tablename="actors" PrevTableName="" XPos="740" YPos="60" TableType="0" TablePrefix="0" nmTable="0" Temporary="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="2" >
<COLUMNS>
<COLUMN ID="1228" ColName="name" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1229" ColName="actorid" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(15)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1230" ColName="imgurl" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1231" ColName="checked" PrevColName="" Pos="5" idDatatype="16" DatatypeParams="(14)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<INDICES>
<INDEX ID="1232" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1228" LengthParam="0" />
<INDEXCOLUMN idColumn="1229" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
<INDEX ID="1234" IndexName="actorid" IndexKind="1" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1229" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1217" Tablename="config" PrevTableName="" XPos="760" YPos="600" TableType="0" TablePrefix="0" nmTable="0" Temporary="0" UseStandardInserts="0" StandardInserts="" TableOptions="" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="3" >
<COLUMNS>
<COLUMN ID="1235" ColName="opt" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(50)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1236" ColName="value" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<INDICES>
<INDEX ID="1237" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1235" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1218" Tablename="genres" PrevTableName="" XPos="660" YPos="300" TableType="0" TablePrefix="0" nmTable="0" Temporary="0" UseStandardInserts="0" StandardInserts="" TableOptions="" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="4" >
<COLUMNS>
<COLUMN ID="1238" ColName="id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1239" ColName="name" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<RELATIONS_START>
<RELATION_START ID="1345" />
</RELATIONS_START>
<INDICES>
<INDEX ID="1240" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1238" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1219" Tablename="lent" PrevTableName="" XPos="380" YPos="60" TableType="0" TablePrefix="0" nmTable="0" Temporary="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="5" >
<COLUMNS>
<COLUMN ID="1241" ColName="diskid" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(15)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1243" ColName="who" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1244" ColName="dt" PrevColName="" Pos="4" idDatatype="16" DatatypeParams="(14)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<RELATIONS_START>
<RELATION_START ID="1369" />
</RELATIONS_START>
<INDICES>
<INDEX ID="1245" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1241" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1220" Tablename="mediatypes" PrevTableName="" XPos="360" YPos="420" TableType="0" TablePrefix="0" nmTable="0" Temporary="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="6" >
<COLUMNS>
<COLUMN ID="1359" ColName="id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(10))" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1247" ColName="name" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(15)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<RELATIONS_START>
<RELATION_START ID="1365" />
</RELATIONS_START>
<INDICES>
<INDEX ID="1360" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1359" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1221" Tablename="userconfig" PrevTableName="" XPos="760" YPos="740" TableType="0" TablePrefix="0" nmTable="0" Temporary="0" UseStandardInserts="0" StandardInserts="" TableOptions="" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="7" >
<COLUMNS>
<COLUMN ID="1249" ColName="user_id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(11)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1250" ColName="opt" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(50)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1251" ColName="value" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<RELATIONS_END>
<RELATION_END ID="1339" />
</RELATIONS_END>
<INDICES>
<INDEX ID="1252" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1249" LengthParam="0" />
<INDEXCOLUMN idColumn="1250" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1222" Tablename="users" PrevTableName="" XPos="360" YPos="700" TableType="0" TablePrefix="0" nmTable="0" Temporary="0" UseStandardInserts="0" StandardInserts="" TableOptions="" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="8" >
<COLUMNS>
<COLUMN ID="1253" ColName="id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(11)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1254" ColName="name" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1255" ColName="passwd" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(100)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1256" ColName="cookiecode" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(100)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1257" ColName="permissions" PrevColName="" Pos="5" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1258" ColName="timestamp" PrevColName="" Pos="6" idDatatype="16" DatatypeParams="(14)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1259" ColName="email" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<RELATIONS_START>
<RELATION_START ID="1330" />
<RELATION_START ID="1339" />
</RELATIONS_START>
<INDICES>
<INDEX ID="1260" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1253" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
<INDEX ID="1261" IndexName="name" IndexKind="1" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1254" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1224" Tablename="videodata" PrevTableName="" XPos="40" YPos="60" TableType="0" TablePrefix="0" nmTable="0" Temporary="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="10" >
<COLUMNS>
<COLUMN ID="1265" ColName="id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1266" ColName="md5" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(32)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1267" ColName="title" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1268" ColName="subtitle" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1269" ColName="language" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1270" ColName="diskid" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(15)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1271" ColName="comment" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1272" ColName="disklabel" PrevColName="" Pos="8" idDatatype="20" DatatypeParams="(32)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1273" ColName="imdbID" PrevColName="" Pos="9" idDatatype="20" DatatypeParams="(15)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1274" ColName="year" PrevColName="" Pos="10" idDatatype="18" DatatypeParams="(4)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1275" ColName="imgurl" PrevColName="" Pos="11" idDatatype="27" DatatypeParams="" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1276" ColName="director" PrevColName="" Pos="12" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1277" ColName="actors" PrevColName="" Pos="13" idDatatype="28" DatatypeParams="" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1278" ColName="runtime" PrevColName="" Pos="14" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1279" ColName="country" PrevColName="" Pos="15" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1280" ColName="plot" PrevColName="" Pos="16" idDatatype="28" DatatypeParams="" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1281" ColName="filename" PrevColName="" Pos="17" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1282" ColName="filesize" PrevColName="" Pos="18" idDatatype="5" DatatypeParams="(16)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1283" ColName="filedate" PrevColName="" Pos="19" idDatatype="15" DatatypeParams="" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1284" ColName="audio_codec" PrevColName="" Pos="20" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1285" ColName="video_codec" PrevColName="" Pos="21" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1286" ColName="video_width" PrevColName="" Pos="22" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1287" ColName="video_height" PrevColName="" Pos="23" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1288" ColName="istv" PrevColName="" Pos="24" idDatatype="1" DatatypeParams="(1)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1290" ColName="seen" PrevColName="" Pos="26" idDatatype="1" DatatypeParams="(1)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1291" ColName="mediatype" PrevColName="" Pos="27" idDatatype="5" DatatypeParams="(10))" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1292" ColName="custom1" PrevColName="" Pos="28" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1293" ColName="custom2" PrevColName="" Pos="29" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1294" ColName="custom3" PrevColName="" Pos="30" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1295" ColName="custom4" PrevColName="" Pos="31" idDatatype="20" DatatypeParams="(255)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1289" ColName="lastupdate" PrevColName="" Pos="25" idDatatype="16" DatatypeParams="(14)" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1296" ColName="created" PrevColName="" Pos="32" idDatatype="15" DatatypeParams="" Width="0" Prec="0" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1297" ColName="owner_id" PrevColName="" Pos="33" idDatatype="5" DatatypeParams="(11)" Width="0" Prec="0" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<RELATIONS_START>
<RELATION_START ID="1329" />
<RELATION_START ID="1344" />
</RELATIONS_START>
<RELATIONS_END>
<RELATION_END ID="1365" />
<RELATION_END ID="1369" />
</RELATIONS_END>
<INDICES>
<INDEX ID="1298" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1265" LengthParam="0" />
<INDEXCOLUMN idColumn="1270" LengthParam="0" />
<INDEXCOLUMN idColumn="1291" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
<INDEX ID="1299" IndexName="seen" IndexKind="1" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1290" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
<INDEX ID="1300" IndexName="title_idx" IndexKind="1" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1267" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
<INDEX ID="1301" IndexName="diskid_idx" IndexKind="1" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1270" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
<INDEX ID="1302" IndexName="mediatype" IndexKind="1" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1291" LengthParam="0" />
<INDEXCOLUMN idColumn="1288" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
<INDEX ID="1303" IndexName="actors_idx" IndexKind="1" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1277" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
<INDEX ID="1304" IndexName="comment" IndexKind="1" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1271" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1328" Tablename="userseen" PrevTableName="videodata_has_users" XPos="360" YPos="580" TableType="0" TablePrefix="0" nmTable="1" Temporary="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="13" >
<COLUMNS>
<COLUMN ID="1336" ColName="video_id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1337" ColName="user_id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(11)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1370" ColName="diskid" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(15)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<RELATIONS_END>
<RELATION_END ID="1329" />
<RELATION_END ID="1330" />
</RELATIONS_END>
<INDICES>
<INDEX ID="1332" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1336" LengthParam="0" />
<INDEXCOLUMN idColumn="1337" LengthParam="0" />
<INDEXCOLUMN idColumn="1370" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
<TABLE ID="1343" Tablename="videogenre" PrevTableName="videodata_has_genres" XPos="360" YPos="300" TableType="0" TablePrefix="0" nmTable="1" Temporary="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="" Collapsed="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="18" >
<COLUMNS>
<COLUMN ID="1352" ColName="genre_id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1354" ColName="video_id" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="(10)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="1" />
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
<COLUMN ID="1371" ColName="diskid" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(15)" Width="0" Prec="0" PrimaryKey="1" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
<OPTIONSELECTED>
<OPTIONSELECT Value="0" />
</OPTIONSELECTED>
</COLUMN>
</COLUMNS>
<RELATIONS_END>
<RELATION_END ID="1344" />
<RELATION_END ID="1345" />
</RELATIONS_END>
<INDICES>
<INDEX ID="1347" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
<INDEXCOLUMNS>
<INDEXCOLUMN idColumn="1352" LengthParam="0" />
<INDEXCOLUMN idColumn="1354" LengthParam="0" />
<INDEXCOLUMN idColumn="1371" LengthParam="0" />
</INDEXCOLUMNS>
</INDEX>
</INDICES>
</TABLE>
</TABLES>
<RELATIONS>
<RELATION ID="1329" RelationName="was seen by" Kind="1" SrcTable="1224" DestTable="1328" FKFields="id=video_id\ndiskid=diskid\nmediatype=mediatype\n" FKFieldsComments="\n\n\n" relDirection="2" MidOffset="-21" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="-1" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="14" />
<RELATION ID="1330" RelationName="has seen" Kind="1" SrcTable="1222" DestTable="1328" FKFields="id=user_id\n" FKFieldsComments="\n" relDirection="1" MidOffset="10" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="-1" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="15" />
<RELATION ID="1339" RelationName="has config options" Kind="2" SrcTable="1222" DestTable="1221" FKFields="id=user_id\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="-1" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="15" />
<RELATION ID="1344" RelationName="is of genres" Kind="1" SrcTable="1224" DestTable="1343" FKFields="id=video_id\ndiskid=diskid\nmediatype=mediatype\n" FKFieldsComments="\n\n\n" relDirection="2" MidOffset="-20" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="-1" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="19" />
<RELATION ID="1345" RelationName="genres are used by" Kind="1" SrcTable="1218" DestTable="1343" FKFields="id=genre_id\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="-1" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="20" />
<RELATION ID="1365" RelationName="has type" Kind="0" SrcTable="1220" DestTable="1224" FKFields="id=mediatype\n" FKFieldsComments="\n" relDirection="4" MidOffset="-12" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="-1" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="21" />
<RELATION ID="1369" RelationName="is lent by" Kind="0" SrcTable="1219" DestTable="1224" FKFields="diskid=diskid\n" FKFieldsComments="\n" relDirection="4" MidOffset="-32" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="-1" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="24" />
</RELATIONS>
<NOTES>
</NOTES>
<IMAGES>
</IMAGES>
</METADATA>
<PLUGINDATA>
<PLUGINDATARECORDS>
</PLUGINDATARECORDS>
</PLUGINDATA>
<QUERYDATA>
<QUERYRECORDS>
</QUERYRECORDS>
</QUERYDATA>
<LINKEDMODELS>
</LINKEDMODELS>
</DBMODEL>

View File

@@ -0,0 +1,36 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>Browsing the Database</h2>
<p>The browse view allows you to list the content of your database by applying filters to the available data. On the top of the screen you'll find a row of radio buttons to list the available titles sorted by the first letter of the title.<br /> This means if you select the <code>DEF</code> filter only movies beginning with a D, E or F are shown in the list.</p>
<p>When adding movies it is a good practice to move common words like <code>the</code> or <code>a</code> to the end of the title to have the sorting make more sense.</p>
<p>Example: <code>A Clockwork Orange</code> becomes <code>Clockwork Orange, A</code>
<p>VideoDB treats TV episodes special, which means they are not shown by default. To show them, <code>show TV episodes</code> must be enabled. You can change this behavior in the <a href="configview.html">configuration</a>.</p>
<p>When selecting the <code>all</code> filter all movies are shown - please note that this can take some time if you have a very large database!<br />
Usually the list is always sorted lexically, you may change the sort order of the <code>all</code> filter to sort by the <code>DiskID</code> in the <a href="configview.html">configuration</a>.</p>
<p>The <code>unseen</code> filter just shows you the movies that are not marked as seen yet by you.</p>
<p>When using the <code>new</code> filter only the 15 newest additions to your database are shown. You can change the number of shown files here in the <a href="configview.html">configuration</a>.
<a name="wishlist"></a>
<p>The last filter is the <code>Wishlist</code>. Movies shown here are not yet owned by you and will not show up in any of the other views (not even with the <code>all</code> filter). To add a movie to your wishlist just add like every other movie but set its mediatype to <code>wanted</code>.</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,59 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>The Configuration Screen</h2>
<h3>The Cache Control Bar</h3>
<h3>Changing the configuration</h3>
<h3>The custom types</h3>
<p>There are the following customtypes available:</p>
<table>
<tr>
<td>text</td>
<td>This is a simple textfield nothing special about it</td>
</tr>
<tr>
<td>url</td>
<td>This shows a clickable link in the show view</td>
</tr>
<tr>
<td>ed2k</td>
<td>You may enter a MD4 sum and a clickable eDonkey link will be generated from this field, the filesize and the filename</td>
</tr>
<tr>
<td>language</td>
<td>This is another language field. It will display the same languageflags for quickentry as the standard one.</td>
</tr>
<tr>
<td>rating</td>
<td>You can rate a movie with this field. It can be filled from IMDB.</td>
</tr>
<tr>
<td>orgtitle</td>
<td>This is the same as the standard title field, it gets filled from IMDB. This is useful if you store translated title of the movie in the title field.</td>
</tr>
<tr>
<td>movix</td>
<td>If you use <a href="http://movix.sourceforge.net/" target="_blank">Movix</a> on your CDs you can choose the version with this field.</td>
</tr>
<tr>
<td>mpaa</td>
<td>This field can hold the movie rating of the Motion Picture Association of Amerika. It gets filled from the IMDB.</td>
</tr>
</table>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,57 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Additional Scripts</h1>
<h2>General</h2>
<p>VideoDB comes with some additional Scripts to do certain tasks, using them is completely optional and not needed for a functional VideoDB. All these files are stored in the <code>contrib</code> directory.<br />
Some of them are written in Perl and you have to edit them to match your database auth options. Some knowledge of Perl and SQL may be helpful.</p>
<p>If you wrote something you think others could find useful just send it to the developers mailing list (<a href="mailto:videodb-devel@lists.sourceforge.net">videodb-devel@lists.sourceforge.net</a>) or join the <a href="http://lists.sourceforge.net/mailman/listinfo/videodb-devel">Developer Mailinglist</a> and post it there.</p>
<a name="mklist"></a>
<h2>mklist.pl</h2>
<p>This generates a plaintextlist of all files in the database. Edit the variables at the top</p>
<a name="setgenre"></a>
<h2>setGenre.pl</h2>
<p>This script is useful to set the same genres for a bunch of entries based on their title. For example setting all <code>Simpsons</code> episodes to <code>Animation</code> and <code>Comedy</code>. You have to edit some variables at top of the file to make it do what you want.</p>
<a name="videoadd"></a>
<h2>videoadd.pl</h2>
<p>This tool is very useful to automatically add some videofiles to the database. It mounts your CD-ROM drive, searches for video files, tries to guess the title and some other infos from the filename and adds them to the database. It uses <a href="http://www.mplayerhq.hu/">mPlayer</a> to extract video informations from the file. It accepts the path to your CD-ROM drive as argument.</p>
<a name="direxport"></a>
<h2>direxport.pl</h2>
<p>This creates single html pages from the movies in the database. It allows me to browse the database content with my <a href="http://splitbrain.org/go/irfc">IR File Chooser</a> tool.</p>
<a name="langcheck"></a>
<h2>langcheck.php</h2>
<p>This PHP tool checks all language files for missing translations and displays the missing keys. This is useful for <a href="translate.html">Translators</a>. Just call it from your webbrowser like this: <code>http://myserver.com/videodb/contrib/langcheck.php</code></p>
<a name="tvtome"></a>
<h2>tvtome.php</h2>
<p>To use this PHP tool call it from your webbrowser like this: <code>http://myserver.com/videodb/contrib/twtome.php</code>. This tool can fetch episode infos from <a href="http://www.tvtome.com">www.tvtome.com</a> and add the data to the episodes in your VideoDB.</p>
<p>You need to enter the complete URL to the TV shows episode guide at tvtome (eg. <code>http://www.tvtome.com/Futurama/guide.html</code> for Futurama) and some Searchstring to select the episodes of this show stored in your VideoDB (eg. <code>Futurama*</code> to find all movies with their titles beginning with Futurama)</p>
<p>After you press the "submit query" button the tool fetches the episode guide and lists all episodes. For each episode you have to choose the matching movie in your VideoDB. The tool tries to suggest the matching title based upon an similarity comparison. For each episodes data you want to import you need to check the checkbox. Then pressing thefinal submit button the selected data is imported.</p>
<p>You need to have Admin rights to use this tool in multiuser mode.</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,21 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>The Detail View</h2>
<p>When clicking on a title in the <a href="browse.html">Browse View</a>, you're presented with the movies detail view. It's pretty self-explanatory. You just see all the inforamation thats stored in the database about the selected movie.<br />
Clicking the cover image opens the IMDB page for the movie. Clicking an actors name will <a href="search.html">search</a> for movies with that actor. The same applies to all other clickable labels.</p>
<p>You can click the random link in the top menu to get a random view</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,42 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Development</h1>
<a name="res"></a>
<h2>Developer Ressources</h2>
<p>If you want to join the development of VideoDB the first you should do is joining the <a href="http://lists.sourceforge.net/mailman/listinfo/videodb-devel" target="_blank">Developer Mailinglist</a>.</p>
<p>To stay up to date you should also use the current CVS version of VideoDB to avoid writing something that maybe is already included there. You can get the current development version from the CVS Server either by browsing the <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/videodb/videodb/" target="_blank">Web-Interface</a> or accessing the repository directly via anonymous CVS:
<pre>
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/videodb login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/videodb co videodb
</pre>
<p>When prompted for a password just hit enter.</p>
<p>Please note that the webbased access is up to 24 hours behind the real CVS Server so a real checkout is always to prefer.</p>
<a name="guide"></a>
<h2>Coding guidelines</h2>
<p>Here are some simple guidelines when contributing to VideoDB:</p>
<ul>
<li>Use an indention width of 4</li>
<li>Don't use tabs! Use spaces instead. Tabs look different in different editors, that makes problems...</li>
<li>Comment your code!</li>
<li>Use <a href="http://www.phpdoc.org">phpDocumentor</a> tags to explain your functions</li>
</ul>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,74 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>Frequently Asked Questions</h2>
<p>Here are some frequently asked questions:</p>
<dl>
<dt><b>I installed the database and changed the config.inc.php but when I try to browse the videodb it doesn't work.</b></dt>
<dd>Make sure your PHP installation has 'short_open_tag' enabled (should be by default).</dd>
<dt><b>I want more Inputfields!</b></dt>
<dd>There are four custom fields! Use them! Read the comments in custom.php for informations how to change the output and input of them.</dd>
<dt><b>My videos are not in english, german, french or spanish! What should I put into the language box?</b></dt>
<dd>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.</dd>
<dt><b>I can't borrow a video! How is this done?</b></dt>
<dd>You have to assign a diskid to it! If you have done so, select the video and click on [ borrow ] in the top row.</dd>
<dt><b>My movies are stored on some really weird media! How can I add some new mediatypes?</b></dt>
<dd>Use your favourite MySQL tool to add them into the mediatypes table. Does anyone own LaserDisks? Should they be in by default?</dd>
<dt><b>The Adult genre never get's filled by an IMDB lookup!</b></dt>
<dd>Yes - there is no such category in IMDB - You have to mark your pr0n yourself ;-)</dd>
<dt><b>How does the wishlist work?</b></dt>
<dd>To add a movie to wishlist find the wanted movie on IMDB, add the movie as usual but choose <code>wanted</code> 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.</dd>
<dt><b>I enabled the multiuser support. But now I can't login to add users!</b></dt>
<dd>There is a default user named <code>admin</code> created on database creation. An his password is - you guessed it - <code>admin</code>. BTW: Be sure to change the password once you logged in.</dd>
<dt><b>Some of my movies are spread about multiple disks. How do I add them?</b></dt>
<dd>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.</dd>
<dt><b>I have multiple movies on one disk. Is that a problem?</b></dt>
<dd>No. Just add any movie and give each the same diskID - All movies on the same disk become unavailable if you borrow the disk.</dd>
<dt><b>Can I add some more genres?</b></dt>
<dd>Just add them with your favourite MySQL tool to the genres table.</dd>
<dt><b>I tried to translate the english language file but when I select my newly created language everything stays in english!?</b></dt>
<dd>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.</dd>
<dt><b>My cache/imdb directory is getting large - Can I delete the files in it?</b></dt>
<dd>Yes. Or just use the cache controlbar in the <a href="configview.html">Config Screen</a></dd>
<dt><b>Arghh! I locked my self out from the config screen by making a mistake in the localnet option.</b></dt>
<dd>Use your favourite MySQL tool to delete the option from the config table: <code>DELETE FROM config WHERE opt='localnet';</code></dd>
<dt><b>Hey your tool is great! Can I do anything for you?</b></dt>
<dd>Read, inform yourself and think before voting your next president.</dd>
<dt><b>I want to support you and the development of VideoDB - can I donate something?</b></dt>
<dd>Of course you can :-D Use the <a href="https://www.paypal.com/xclick/business=cpuidle%40gmx.de&item_name=videoDB&no_note=1&tax=0&currency_code=EUR">PayPal Account</a></dd>
<dt><b>Are all these questions really asked frequently or do you just make them up?</b></dt>
<dd>Yes :-)</dd>
</dl>
<p>your question isn't answered here? just mail me :-)</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,20 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>The IMDB Browser</h2>
<p>This feature is disabled by default! Enable it in the <a href="configview.html">configuration screen</a> to use it.</p>
<p>The IMDB Browser integrates the Internet Movie Database directly into VideoDB. When enabled you can access the IMDB website from the menubar. You can use their site as usual, but after every mentioned movie title you'll find a little <code>+</code> button. By pressing this button you can add this movie to your VideoDB. This feature is very useful to fill your <a href="browse.html#wishlist">wishlist</a>.</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,62 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<!-- begin content -->
<h1>VideoDB Online Manual</h1>
<h2>Table of Contents</h2>
<ul>
<li>Installation</li>
<ul>
<li><a href="installation.html#requirements">Requirements</a></li>
<li><a href="installation.html#firsttime">First time installation</a></li>
<li><a href="installation.html#update">Update from a previous version</a></li>
</ul>
<li>Usage</li>
<ul>
<li><a href="browse.html">Browsing the Database</a></li>
<li><a href="detailview.html">The Detail View</a></li>
<li>The Edit Screen</li>
<li>The Borrow Manager</li>
<li><a href="imdbbrowser.html">The IMDB Browser</a></li>
<li><a href="search.html">Searching the Database</a></li>
<li><a href="configview.html">The Configuration Screen</a></li>
<li>Viewing Database statistics</li>
<li><a href="multiuser.html">Multiuser Options</a></li>
<li><a href="profile.html">User Profile</a></li>
<li><a href="usermanager.html">User Management</a></li>
<li><a href="keys.html">Access Keys</a></li>
<li><a href="faq.html">Frequently Asked Questions</a></li>
</ul>
<li>Additional Scripts</li>
<ul>
<li><a href="contrib.html#mklist">mklist.pl</a></li>
<li><a href="contrib.html#setgenre">setGenre.pl</a></li>
<li><a href="contrib.html#videoadd">videoadd.pl</a></li>
<li><a href="contrib.html#direxport">direxport.pl</a></li>
<li><a href="contrib.html#langcheck">langcheck.php</a></li>
</ul>
<li>Development</li>
<ul>
<li><a href="devel.html#res">Developer Ressources</a></li>
<li><a href="devel.html#guide">Coding Guidelines</a></li>
<li><a href="translate.html">Languages</a></li>
<li><a href="stylesheets.html">Stylesheets</a></li>
<li><a href="templates.html">Templates</a></li>
</ul>
</ul>
<table><tr><td>
<b>Your Help is needed!</b><br />
<p>This manual is far from complete. Please help completing it by contributing to the documentation Wiki at
<a href="http://www.splitbrain.org/dokuwiki/vdb:videodb">http://www.splitbrain.org/dokuwiki/vdb:videodb</a>. Just visit the site and contribute.</p>
<p>The videoDB development team can be reached at <a href="mailto:videodb-devel@lists.sourceforge.net">videodb-devel@lists.sourceforge.net</a>
</p>
</td></tr></table>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,65 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Installation</h1>
<p>The examples in this document assumes you're using Linux and Apache. The Apaches document root is in <code>/var/www</code> and VideoDB is to be installed in <code>/var/www/videodb</code>. But it shouldn't be difficult for you to follow the steps with any other environment.</p>
<a name="requirements"></a>
<h2>Requirements</h2>
<p>VideoDB works with the typical LAMP and WAMP environments. Here are the requirements in detail:</p>
<ul>
<li>A Webserver wich supports PHP (<a href="http://httpd.apache.org" target="_blank">Apache</a> recommended)</li>
<li>A recent version of <a href="http://www.php.net" target="_blank">PHP 4</a>, at least 4.1.0 is required</li>
<li>A <a href="http://www.mysql.com" target="_blank">MySQL</a> Database</li>
<li>A WebBrowser (something new is probably better)</li>
</ul>
<a name="firsttime"></a>
<h2>First time installation</h2>
<p>Unzip the tarball into a directory below your webserver document root and make the cache directories writable.</p>
<p>Example:</p>
<pre>
$> cd /var/www
$> tar -xzvf ~/videodb-*.tgz
$> chmod 777 videodb/cache/*
</pre>
<p>Then create a new database using the <code>install.sql</code> file in the <code>install</code> directory</p>
<p>Example:</p>
<pre>
$> mysqladmin -p create videodb
$> mysql -p videodb < /var/www/videodb/install/install.sql
</pre>
<p>Now edit the <code>config.inc.php</code> file to match your database settings.</p>
<p>Thats it. Now point your webbrowser to your new videodb and add some movies</p>
<a name="update"></a>
<h2>Update from a previous version</h2>
<p>For updating from a previous version just delete all files but the cache directory and keep your database. Then unzip the new tarball as described <a href="installation.html#firsttime">above</a>. Then apply the <code>upgrade.sql</code> to your database using the the <code>-f</code> parameter to ignore errors.</p>
<p>Example:</p>
<pre>
$> mysql -p -f videodb < /var/www/videodb/install/upgrade.sql
</pre>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,31 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>Access Keys</h2>
<p>The default template implements the use of access keys to speed up accessing certain parts
of VideoDB. Here is a list of currently assigned Keys.</p>
<table>
<tr><th>Key</th><th></th></tr>
<tr><td><code>Alt+i</code></td><td>Brings you back to the <b>i</b>ndex page</td></tr>
<tr><td><code>Alt+f</code></td><td>Opens the search page to <b>f</b>ind a movie</td></tr>
<tr><td><code>Alt+n</code></td><td>This creates a <b>n</b>ew entry in the database</td></tr>
<tr><td><code>Alt+e</code></td><td>Using this combination you can <b>e</b>dit the current movie</td></tr>
<tr><td><code>Alt+b</code></td><td>This opens the <b>b</b>orrowmanager</td></tr>
<tr><td><code>Alt+h</code></td><td>Opens the <b>h</b>elp with the user manual</td></tr>
<tr><td><code>Alt+l</code></td><td>Use this for <b>l</b>logging in or out</td></tr>
<tr><td><code>Alt+s</code></td><td>Pressing this key lets you <b>s</b>ave entered formdata</td></tr>
</table>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,30 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>Multiuser Options</h2>
<p>VideoDB can work with multiple user as an option. To enable this go to the <a href="configview.html">Configuration Screen</a> and check the <code>Multiuser Support</code> checkbox.</p>
<h3>Logging in</h3>
<p>When the Multiusermode is enabled a new menu item <code>Login</code> appears. Use your Username and Password to login. You must have cookies enabled or it won't work!! When you check the <code>stay logged in</code> checkbox the cookie will not expire after the actual browser session.</p>
<p>On database creation an initial user with administration rights is created: Username: <code>admin</code> Password: <code>admin</code></p>
<h3>Add and modify users</h3>
<p>Follow the link <code>Usermanagement</code> from the <a href="configview.html">Configuration Screen</a>.</p>
<p>Be sure to change the password of the <code>admin</code> user!</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,18 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>User Profile</h2>
<b>needs to be written</b>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,29 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>Searching the Database</h2>
<p>The search screen allows you to search for one or more movies that match your criteria.</p>
<p>The simplest thing is to search for one or more keywords. Just put into the textfield and hit <code>Search</code>. The search is caseinsensitive and matches word parts, too. To search phrases you can enclose them in quotes <code>"</code>.<p>
<p>Examples:<br />
<code>wood</code> matches <code>Ed Wood</code> as well as <code>Clint Eastwood</code><br />
<code>"Ed wood"</code> only matches <code>Ed Wood</code> but <code>Ed Wood</code> matches <code>Eddy got lost in Sherwood Forest.</code>, too<br />
</p>
<p>To refine your search you can use the boolean operators <code>AND</code>, <code>OR</code> and <code>NOT</code></p>
<p>You can restrict your search to some genres by selecting the wanted genres and to some database fields by selecting them in the selectbox. To select multiple fields hold the <code>Ctrl</code>-Key while selecting.</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,19 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Development</h1>
<h2>Stylesheets</h2>
<p>Instead of designing a whole new <a href="templates.html">Template</a> you can add new Stylesheets to existing templates. Just copy an exisisting stylesheet to a new name and adjust it to your match your ideas. All <code>.css</code> files become automatically available in the <a href="configview.html">Configuration Screen</a>.</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,142 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Development</h1>
<h2>Templates</h2>
<h3>General</h3>
<p>VideoDB uses the <a href="http://smarty.php.net" target="_blank">Smarty Template engine</a>. Thus everybody interested in writing his own templates should have a look at the <a href="http://smarty.php.net/docs.php" target="_blank">Smarty Documentation</a></p>
<p>What follows is a list of all templates used by VideoDB and the variables assigned to them. Of course you can split your templates by using Smarty's <code>{include}</code> statement.</p>
<h3>All Templates</h3>
<p>The following variables are available in all templates:</p>
<table cellspacing="4" cellpadding="4">
<tr>
<th valign="top" nowrap="nowrap">name</th>
<th valign="top" nowrap="nowrap">type</th>
<th valign="top">description</th>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$lang</td>
<td valign="top" nowrap="nowrap">associative array</td>
<td valign="top">Contains all language specific strings for the current language. Have a look at the files in the <code>language</code> directory for available keys.</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$config</td>
<td valign="top" nowrap="nowrap">associative array</td>
<td valign="top">All config options as set in the <a href="configview.html">Configuration Screen</a></td>
</tr>
</table>
<h3>header.tpl</h3>
<p>This template is included at the top of every page and should set up the needed HTML headers and include the stylesheet</P>
<table cellspacing="4" cellpadding="4">
<tr>
<th valign="top" nowrap="nowrap">name</th>
<th valign="top" nowrap="nowrap">type</th>
<th valign="top">description</th>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$header</td>
<td valign="top" nowrap="nowrap">associative array</td>
<td valign="top">Contains the URLs for the top navigation. The available keys are: <code>browse, random, search, stats, new, setup, edit, view, del, borrow, imdbBrowser, help</code>. You should check if the key is empty and only display a link when an URL was given.</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$style</td>
<td valign="top" nowrap="nowrap">string</td>
<td valign="top">Deprecated - use <code>$config.style</code> instead.</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$langcode</td>
<td valign="top" nowrap="nowrap">string</td>
<td valign="top">Deprecated - use <code>$config.language</code> instead.</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$localnet</td>
<td valign="top" nowrap="nowrap">boolean</td>
<td valign="top">True if VideoDB is accessed from the localnet else false.</td>
</tr>
</table>
<h3>footer.tpl</h3>
<p>The footer is included at the bottom of every page</p>
<h3>filter.tpl</h3>
<p>This template displays the row of available filters in the browsing view.</p>
<table cellspacing="4" cellpadding="4">
<tr>
<th valign="top" nowrap="nowrap">name</th>
<th valign="top" nowrap="nowrap">type</th>
<th valign="top">description</th>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$filters</td>
<td valign="top" nowrap="nowrap">associative array</td>
<td valign="top">Contains all available filters as keys and their Names (translations) as values</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$filter</td>
<td valign="top" nowrap="nowrap">string</td>
<td valign="top">The currently selected filter in the browsing view</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$showtv</td>
<td valign="top" nowrap="nowrap">boolean</td>
<td valign="top">True if TV-Episodes are to be shown else false.</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$listcolumns</td>
<td valign="top" nowrap="nowrap">integer</td>
<td valign="top">This is currently only used in the modern template and determines how many columns are to be used in the browsing view.</td>
</tr>
</table>
<h3>browse.tpl</h3>
<table cellspacing="4" cellpadding="4">
<tr>
<th valign="top" nowrap="nowrap">name</th>
<th valign="top" nowrap="nowrap">type</th>
<th valign="top">description</th>
</tr>
<tr>
<td valign="top" nowrap="nowrap">$</td>
<td valign="top" nowrap="nowrap"></td>
<td valign="top"></td>
</tr>
</table>
<p>Needs to be continued...</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,30 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Development</h1>
<h2>Languages</h2>
<p>VideoDB already comes with a lot of languages, but if your's isn't supported why don't you become a translator?</p>
<p>The first thing you should do is to join the <a href="http://lists.sourceforge.net/mailman/listinfo/videodb-devel" target="_blank">Developer Mailinglist</a> at SourceForge to stay informed when new language strings are added.</p>
<p>To create a new language file just copy the <code>en.php</code> file in the <code>language</code> directory and translate the all the contained strings to your language. I think you'll get the system when you have a look at it ;-).<br />
However pay attention to the <code>$lang[encoding]</code> field. This contains the character encoding you used in the file. You may use another encoding than <code>iso-8859-1</code>. See the <code>bg.php</code> as an example.<br />
You should adjust the the header at the top of the file to reflect your authorship, too. ;-). When updating or correcting a file of someone else just add another <code>@author</code> line with your name.</p>
<p>After translation you should send the file to the mailing list to be included in the next release.</p>
<p>Sometimes translations get slightly behind the english version. Missing translations will are always replaced by the english strings.</p>
<p>Hint: The <a href="contrib.html#langcheck">langcheck.php</a> tool can be very helpful to see a list of missing translations</p>
<!-- end content -->
</body>
</html>

View File

@@ -0,0 +1,37 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>VideoDB - Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<a href="index.html">Table of Contents</a>
<!-- begin content -->
<h1>Usage</h1>
<h2>Usermanagement</h2>
<p>In the usermanagement Screen you can add, delete and modify users for multiuser mode.</p>
<table>
<tr>
<td>Modify own movies</td>
<td>Users with this flag may add, delete and change their own movies. However they can not change movies of other users.</td>
</tr>
<tr>
<td>Modify others movies</td>
<td>Users with this flag may change details of movies belonging to other users, too.</td>
</tr>
<tr>
<td>Administration</td>
<td>Users with this flag may do everything. Setting this implies all other flags.</td>
</tr>
<tr>
<td>See adult movies</td>
<td>You can define movie genres which are not suitable for minors and should be hidden from all users which do not have this permission flag set.</td>
</tr>
</table>
<!-- end content -->
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB