Skip to main content

A Tree like tool to generate directory tree diagrams for media files in folders and Subfolders

Project description

████████▄  ███    █▄     ▄████████    ▄████████     ███      ▄█   ▄██████▄  ███▄▄▄▄                 
███   ▀███ ███    ███   ███    ███   ███    ███ ▀█████████▄ ███  ███    ███ ███▀▀▀██▄               
███    ███ ███    ███   ███    ███   ███    ███    ▀███▀▀██ ███▌ ███    ███ ███   ███               
███    ███ ███    ███  ▄███▄▄▄▄██▀   ███    ███     ███   ▀ ███▌ ███    ███ ███   ███               
███    ███ ███    ███ ▀▀███▀▀▀▀▀   ▀███████████     ███     ███▌ ███    ███ ███   ███               
███    ███ ███    ███ ▀███████████   ███    ███     ███     ███  ███    ███ ███   ███               
███   ▄███ ███    ███   ███    ███   ███    ███     ███     ███  ███    ███ ███   ███               
████████▀  ████████▀    ███    ███   ███    █▀     ▄████▀   █▀    ▀██████▀   ▀█   █▀                
                        ███    ███                                                                  
████████▄     ▄████████     ███        ▄████████  ▄████████     ███      ▄█   ▄█    █▄     ▄████████
███   ▀███   ███    ███ ▀█████████▄   ███    ███ ███    ███ ▀█████████▄ ███  ███    ███   ███    ███
███    ███   ███    █▀     ▀███▀▀██   ███    █▀  ███    █▀     ▀███▀▀██ ███▌ ███    ███   ███    █▀ 
███    ███  ▄███▄▄▄         ███   ▀  ▄███▄▄▄     ███            ███   ▀ ███▌ ███    ███  ▄███▄▄▄    
███    ███ ▀▀███▀▀▀         ███     ▀▀███▀▀▀     ███            ███     ███▌ ███    ███ ▀▀███▀▀▀    
███    ███   ███    █▄      ███       ███    █▄  ███    █▄      ███     ███  ███    ███   ███    █▄ 
███   ▄███   ███    ███     ███       ███    ███ ███    ███     ███     ███  ███    ███   ███    ███
████████▀    ██████████    ▄████▀     ██████████ ████████▀     ▄████▀   █▀    ▀██████▀    ██████████

Check the media duration of your folders/subfolders.

🚀  Installation

Clone the repo

$ git clone https://github.com/3l-d1abl0/DurationDetective.git

Create a virtual environment for Python3

$ virtualenv -p python3 <your_env>
OR
$ python3 -m venv <your_env>

Install the required modules

$ cd DurationDetective
$ source <your_env>/bin/activate
$ pip3 install -r requirements.txt

Run the Script

$ python3 durationcheck.py --path "/path/to/your/folder"

> ...
> Total Duration: 2hr 14min 25secs

Use case

I have been using it personally for planning hours before diving into any Course videos or before Planning to binge watch any Television Series. Gives me a rough estimate of How much time consuming it can be. Migrating it from my original Repo for individual tracking.

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

duration-detective-1.0.0.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

duration_detective-1.0.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

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