1
.\"Created with GNOME Manpages Editor
2
.\"http://sourceforge.net/projects/gmanedit2
4
.\"Replace <program> with the program name, x with the Section Number
6
.TH dmedia 1 "November 23 2010" "python-dmedia"
9
dmedia \- The Distributed Media Library
18
dmedia is simple distributed media library. Media files are given a globally unique ID based on their content-hash. Meta-data is stored in CouchDB. Meta-data for a large number of media files can be available locally (meta-data is small). Actual media files can be loaded on-demand from peers or cloud when not available locally (media files are big). Goals are to make synchronization super easy, and to lay groundwork for a distributed content creation workflow.
22
Show program's version number and exit
24
Show a help message and exit
26
Do a fast scan without extracting extra metadata
27
.IP\fB\ --project=PROJECT\fP
28
Add imported files to specified PROJECT
30
Add specified TAG to imported files
31
.IP\fB\ --type=TYPE\fP
32
Add specified TYPE to the list of file types to limit the import to. TYPE can be 'image', 'audio', 'video' or 'all'. 'all' is the default and represents 'image', 'audio' and 'video' files.
33
.IP\fB\ --extension=EXTENSION\fP
34
Add specified EXTENSION to the list of file extensions to limit the import to. By default, all file extensions that are recognised as audio, video or image file formats will be imported.
38
.IP \fB\ dmedia\ /media\fp
39
This will import all media files from all of your connected devices.
41
.IP \fB\ dmedia\ /media/EOS_DIGITAL\ --type=image\fp
42
This will recursively import all image files from your memory card mounted at '/media/EOS_DIGITAL'.
44
.IP \fB\ dmedia\ /usr/share/backgrounds\ --type=image\ --tag=wallpaper\ --tag=desktop\fp
45
This will add all image files in the directory '/usr/share/backgrounds' and its subdirectories. The files will be tagged with 'wallpaper' and 'desktop' in the media database.
46
.IP \fB\ dmedia\ /usr/share/pixmaps\ --extension=svg\ --tag=desktop\fp
47
This will import all icons with the 'svg' file extension from /usr/share/pixmaps.
49
.IP \fB\ dmedia\ ~/Videos\ --type=video\ --extension=webm\fp
50
This will import all video files in your Videos folder, as well as any file in that folder with the 'webm' extension. Due to being a new file format your system's MIME database may not recognise this format as a video; this will allow the webm files to be imported along with the other video files.
57
dmedia is at an early state still, but the functionality it has so far should
60
The `dmedia` script will eventually be turned into a VCS-style script with
61
several commands. For now it has a single function, to recursively import media
62
files from a directory. At this point, it's a quick-and-dirty demo of how media
63
files might be stored and how their meta-data might be stored.
67
If you find any bugs, please report them at http://bugs.launchpad.net/dmedia.
70
The development of dmedia is managed at http://launchpad.net/dmedia, where you can find the source code, report bugs and ask questions.
73
This man page was originally written by David Green <david4dev@gmail.com> using text from the README by Jason Gerard DeRose and has since been edited by the following authors: David Green <david4dev@gmail.com>.