Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Celedhrim/mvtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mvtk

This gem install a command mvtk, it's not a gem you can use in your software.

The goal is simple: take crappy movie filename from a directory and name them the good way for kodi mediacenter using well known scraper.

2 scraper supported at this Time

Installation

$ gem install mvtk

Then first launch will create the configuration file in ~/.config/mvtk.conf

Configuration

Edit ~/.config/mvtk.conf

  • scraper = "tmdb", "mpdb" which scraper you Usage
  • saga_enable = enable or not saga subdir
  • saga_prefix = a string to prefix saga subdir name (.../terminator/... => .../prefix saganame/...)
  • source = source directory to recursively find movie file
  • target = directory to copy movie with right name
  • windows_name = make created file and folder Microsoft Windows compatible (some characters replace witch _ )
  • min_movie_time = Minimum number of minutes to determine if the video file is a movie or a tvshow
  • year_in_filename = Allows you to have the year in the filename e.g. "Up (2009)/Up (2009).mkv"
  • move_files = If set true , move instead copy files
  • tmdb_key = you api key to use tmdb api
  • tmdb_lang = language tu use with tmdb

Usage

just launch mvtk , then choose a file , choose the matching movie , do this how many times needed , then procced to copy. Quit will quit without action If nothing found automatically , trry manual search to choose search terms

Mvtk git

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Celedhrim/mvtk.