This library is used for lots of shared functionality around parsing TV shows and movies
Project description
Video Utils
This library provides utilities for dealing with TV show and Movie files and the metadata around them.
Example Usage
from video_utils import FileMap
f = FileMap("/path/to/videos")
f.load() # By default, this will load the cached metadata, and then update files that have changed in size
for directory in f.contents:
for video in f.contents[directory]:
codec = video.codec
print(codec.pretty_name) # x265
print(video.quality) # 1080p
print(video.full_path)
print(video.size) # in bytes
print(video)
video.refresh() # force a refresh of the video metadata, will only occur if filesize has changed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
video_utils-2.0.8.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for video_utils-2.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e6c9e2965f0bb3a9d9703500738756c05ab41276b696306938ec0c67380336a |
|
MD5 | 4c3c609a01fa8f1e3f39688ae90f083b |
|
BLAKE2b-256 | 4a94744e20d1c7f5c755077cfc7e8dca45e45410c585b6fddcd2da9636fd38b7 |