Skip to main content

cinefolders

Build Status Codecov

pypi version # of downloads

Changelog

Description

cinefolders is a command-line utility for organizing organizing media folders into a structure formatted for Plex, Emby, a flash drive, etc.. You can also automate this to automatically add videos to your media folder, keeping it organized.

It tries to reversibly rename files as best it can to follow guidelines set by MediaBrowser for movies and television. As well as provide a link to TheMovieDB for more info.

If you want to get more info like the trailers, posters, reviews, etc.. Just see the sister project to this one: cinefiles.

cinefolders.py Videos/

Changes this unorganized mess:

/Videos  
  /Down Periscope.mp4
  /Down Periscope_UHD_.mp4
  /Grand Budapest Hotel (2014).mkv
  /Mulan (1998)/  
    /somecrazyunreleatedname.mp4
  /Avatar - 2x02 -.mkv
  /Movies-I-Like/  
    /Horror Movies/
      /The.Shining.1980.US.DC.1080p.BluRay.H264.AAC-RARBG.mp4

... into this:

/Videos
  /Movies
    /Down Periscope (1996)
      /Down Periscope (1996).mp4
      /Down Periscope (1996) - Ultra HD.mp4
    /Grand Budapest Hotel (2014)
      /Grand Budapest Hotel (2014).mkv
    /Mulan (1998)
      /Mulan (1998).mp4
    /The Shining (1980)  
      /The Shining (1980) - 1080p Director's Cut.mp4
            
  /TV Shows
    /Avatar the Last Airbender 
      /Season 2
        /Avatar the Last Airbender S02E02 The Cave of Two Lovers.mkv

Note: You'll need a TMDb API Key (I can't just let all of you use mine!) Its easy to get here: themoviedb.org api Plus once you register you can contribute to TMDb! Don't worry, just run cinefolders and it'll prompt you for it.

usage: cinefolders [-h] [-l] [-v] [-x X] [--dry-run] [--copy]
                   [--destination DESTINATION] [--version] [--debug]
                   directory

Options

positional arguments:
  directory             Location of folder holding the videos

optional arguments:
  -h, --help            show this help message and exit
  -l                    List new file structure
  -v                    Verbosely list actions
  -x X                  Export all changes as a bash script
  --dry-run             Don't change anything
  --copy                copy instead of just moving files
  --destination DESTINATION
                        specify an alternate destination
  --version             show program's version number and exit
  --debug               debug option (only for developers)

Metadata

Release files for cinefolders 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cinefolders 0.1.0
File Size Uploaded
cinefolders-0.1.0.tar.gz 17.5 kB Details

Release files / cinefolders-0.1.0.tar.gz

Download URL cinefolders-0.1.0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fc2a4e3ebd4e68fffb15bfa6210b92d8bcec1ac1c925fca5a42b728c47f2f123
BLAKE2b-256 checksum
How to use checksums
6d10544838a6cd5f4f1b406fb70029b7756b36d4ae35228533d0c184f1a14800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.9

2 release files

0.0.8

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page