Skip to main content

Sort your movies on filesystem using symlinks.

Project description

https://raw.githubusercontent.com/Kraymer/flinck/master/docs/_static/logo.png
[flingk]

verb tr. To create a symlink to a movie (flick)

Description

CLI tool to organize your movies into a browsable directory tree offering fast access by dates, imdb ratings, etc

https://raw.githubusercontent.com/Kraymer/flinck/master/docs/_static/screenshot.png

Features

  • smart extraction of movie name from its folder/file, use IMDB api to get infos

  • sane limited set of configuration options, yet highly flexible directories resulting structure

  • possible to split links into alphabetical buckets (A-C, D-F, etc) for large libraries

Install

flinck is written for Python 2.7 and Python 3.

Install with pip via pip install flinck command.

If you’re on Windows and don’t have pip yet, follow this guide to install it.

Usage

usage: flinck.py [-h] [-l LINK_DIR] --by
                 {country,director,decade,genre,rating,runtime,title,year}
                 [{country,director,decade,genre,rating,runtime,title,year} ...]
                 FILE|DIR

Organize your movie collection using symbolic links

Example: flinck ~/Movies --by genre rating

More infos on Wiki

Configuration

~/.config/flinck/config.yaml corresponding to the screenshot above :

link_root_dir: '/Volumes/Disque dur/Movies'

genre:
    dirs: true
    buckets: true

rating:
    link_format: %rating-%year-%title
    dirs: false
    buckets: true

decade:
    dirs: true

Top settings:

  • link_root_dir: where the folders tree will be created. Must exist beforehand.

  • file_extensions: files types to consider. Default: ['avi', 'm4v', 'mkv', 'mp4']

  • file_min_size_mb: files whose size is below that threshold are ignored. Default: 20

  • google_api_key: your Google API key (to enable the Google Custom Search backend)

Then, you can define a section for each metadata field you want to sort by. Inside it, available settings are :

  • root: root dirname (or relative path from link_root_dir) for this metadata field. Default: the metadata field name.

  • link_format: symlink naming format. Default: %title-%field

  • dirs: put symlinks into an intermediary directory named after the field value. Default: no

  • buckets: put symlinks into a parent matching directory if it does exist. Any directory that contains the field value or defines a matching range is valid. A range is defined by [] chars, eg [A-D] directory matches Drama genre field value.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flinck-0.3.0.tar.gz (20.0 kB view details)

Uploaded Source

File details

Details for the file flinck-0.3.0.tar.gz.

File metadata

  • Download URL: flinck-0.3.0.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flinck-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3bb554876366971239703805e7ebf76a780ee3297326600752ba6ae8f76621c5
MD5 b9e5574143fa3c505b5760113c7ca27e
BLAKE2b-256 cefca2fff053778d5745ad746e885bf3f356aea9fdd0dbde00a7930ba4e8e79a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page