Package: kolekto
Kolekto is a really KISS movie catalog software.Features:Cool CLI interface (and maybe a web interface to browse collection later)Able to query The Movie Database to collect metadata about moviesAble to get informations from files itself depending of the container (title,
quality, runtime…)As simple as possible: all movies are stored in a directory, a berkley
database store the metadata for each movie, and a bunch of symlink are created
depending of the patterns set in the config file (“by actors”, “by title”…)Easy to extend, really!SetupThe fastest and more common way to install Kolekto is using pip:pip install kolektoDebianIf you use Debian Sid, you can also use the Tecknet repositories. Add theses
lines in your/etc/apt/source.listfile:deb http://debian.tecknet.org/debian sid tecknet
deb-src http://debian.tecknet.org/debian sid tecknetAdd the Tecknet repositories key in your keyring:# wgethttp://debian.tecknet.org/debian/public.key-O - | apt-key add -Then, update and install thekolektopackage:# aptitude update
# aptitude install kolektoTutorialCreate your Kolekto tree:$ mkdir /tmp/kolekto_test && cd /tmp/kolekto_test
$ kolekto init
Initialized empty Kolekto tree in /tmp/kolekto_test/Check that the tree has been properly created:$ kolekto listLook at the .kolekto directory created:$ tree -a
.
└── .kolekto
    ├── config
    ├── metadata.db
    └── movies

2 directories, 2 filesTheconfigfile is the config file of the tree (not a joke!), themetadata.dbfile is the berkley database storing metadata for each movie in
the tree, and the movies directory is where to store movies themselves.You can edit the config file using the following command:$ kolekto configIt will just launch your favorite editor.There is two types of section in the config file, views and datasources. Before
to import movies, uncomment the tmdb section and fill the API key. You can get
it after a signup on themoviedb.org. I will come back to the views later.Now, import a movie:$ kolekto import ~/Sintel.mkv
Title to search [Sintel]?
Please choose the relevant movie for the file: Sintel.ogv

[1] Sintel (2010) by Colin Levy [tmdb]
[2] Enter manually informations
[3] None of these

Choice [1-3]? 1
Do you want to edit the movie metadata [y/N]

Copying movie in kolekto tree...
 100% [=====================================]  420.31 M/s | Time: 00:00:01Check that your movie has been imported:$ kolekto list
 3bb8414b6f70e5125e2092a3d96b483088a2283d  Sintel (2010) by Colin LevyYou can show more informations about the movie:$ kolekto show 3bb8414b6f70e5125e2092a3d96b483088a2283d
title: Sintel
directors: Colin Levy
year: 2010
cast: Halina Reijn
      Thom Hoffman
writers: Esther Wouda
collection: Blender Open Movies
genres: Animation
        Fantasy
        Short
title_fi: Sintel - Hiillos
title_nl: Durian Open Movie Project
score: 1162.625
quality: 720p
container: Matroska
ext: mkv
runtime: 14
_datasource: tmdb
_tmdb_id: 45745Now reopen the config file (usingkolekto config), and add another view called"Example"with this pattern:'{genres}/{year}/{quality}/{title}.{ext}':view 'Example' {
    pattern = '{genres}/{year}/{quality}/{title}.{ext}'
}The following command will create symlinks for each view defined in your config
file:$ kolekto link
Found 0 links to delete, 4 links to createInspect your Kolekto tree for the newly created links:$ tree
.
├── Example
│   ├── Animation
│   │   └── 2010
│   │       └── 720p
│   │           └── Sintel.mkv -> ../../../../.kolekto/movies/3bb8414b6f70e5125e2092a3d96b483088a2283d
│   ├── Fantasy
│   │   └── 2010
│   │       └── 720p
│   │           └── Sintel.mkv -> ../../../../.kolekto/movies/3bb8414b6f70e5125e2092a3d96b483088a2283d
│   └── Short
│       └── 2010
│           └── 720p
│               └── Sintel.mkv -> ../../../..kolekto/movies/3bb8414b6f70e5125e2092a3d96b483088a2283d
└── Titles
    └── Sintel.mkv -> ../.kolekto/movies/3bb8414b6f70e5125e2092a3d96b483088a2283d

11 directories, 4 filesYou can use the--helpoption to see all available commands.Changelogv1.3 released on 15/06/2014Added new markup based text formattingBetter cleaning of titles before to searchAdded rewrite datasourceAdded configurable listingsAdded cache on mediainfos datasourceNow use Configure instead of Dotconf (project has been renamed)Now cleanup empty directories on linkNow show quamity on output of find-duplicatesRemoved debian packaging from upstream repositoryRemoved globbing feature of importer command (let shell do its work)Fixed edit commandv1.2 released on 09/12/2013Added command profile system (first step to supporting tv shows)Added multiple patterns in a single viewAdded a progress bar on link generation operationFixed bad usage of Dotconf APIFixed duplicate link problemFixed creating parent directories on link even with dry-runFixed config command with a non-ascii config fileFixed symlink to be relative to movies pool on importv1.1 released on 27/07/2013Try to clean the filename before to search it on TMDBAdded auto mode in import command (unattended import of movies)Import command now show gathered informations before to import moviesAdded thetmdb_votesfield on moviesAdded the ability to delete original files after importingAdded field alternative in view patterns (eg: {title_fr|original_title})Added default values on field alternatives (eg: {watched|”Unwatched”})Added watch, fav and crap commandsAdded ability to select movies using a file path instead of movie hash
directly (eg: kolekto show ./Titles/mymovie.mkv)Added the ability to import movies using a symlink instead of copying or
hardlinking themAdded the edit command (manual edit of a movie)Better error reportingFixed a lot of bugsv1.0 released on 28/02/2013Initial releaseLegalKolekto is released under MIT license, copyright 2013 Antoine Millet.ContributeYou can send your pull-request for Kolekto through Github:https://github.com/NaPs/KolektoI also accept well formatted git patches sent by email.Feel free to contact me for any question/suggestion/patch: <antoine@inaps.org>.