Documents

Development Docs

Feature and implementation ideas

08/31/2009 08:08 am

Usage

It works in the following way:
  1. Selected folders are scanned for media files and any information gathered about them is saved in the database.
  2. Tags and rating (per tag rating including) can be assigned to files.
  3. Files with selected tags can be filtered out from the list of all known files. Alternatively there is an advanced search for search criteria.
    ...

Scanning files

08/31/2009 04:13 pm

Considering multi threaded approach.
Tasks that can be done in parallel:
  1. Retrieving the file list
  2. Analysing file content

The each file can be analysed independently as well.

Suggested task organisation:
Method1:
Loop
get file
new thread: analyse file
...

Class description

08/31/2009 04:13 pm

class DB -- database class which provides methods for storing retrieving and searching data

Tables:
  • tblFiles: -- file related information
    id, name, path, ...
  • tblTags -- Simply a tag
    id, name
  • tblTag-File -- enforces relationship between tags files
    ...

Ada related stuff

09/03/2009 01:32 pm

How do I compile libraries as shared objects (.so files)?

Simply to get an executable: gnatmake main.adb (I think it even takes care of the compile dependencies)

What would be a the C++ header?

The .h file syntax is the same I guess, but what would be the names of functions and classes defined in Ada (specification)?
...