https://github.com/bbougon/videotheque
https://github.com/bbougon/videotheque
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bbougon/videotheque
- Owner: bbougon
- Created: 2023-03-01T22:04:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T19:18:46.000Z (over 3 years ago)
- Last Synced: 2025-04-11T20:32:44.153Z (about 1 year ago)
- Language: Python
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Videotheque
Videotheque is a simple python command cli that can be use to:
- rename all files and directories in a given path with the following format `MOVIE_TITLE_LANGUAGE`
- search movies in a given path for given keywords and print the result in a table format:
`python3 videotheque.py /share/Films/ search` will produce something like:
| Title | Duration | Languages |
|----------------|----------------|------------|
| The_Impossible | 1:53:31.904000 | ['French'] |
| ... | ... | ... |
## Installation
You need at least a python `3.9` functional env.
- Create a venv `python -m venv venv`
- Activate the venv `source venv/bin/activate`
- Run pip installation `pip install -r requirements.txt`
In order to perform searches, you need to have [ffprobe](https://ffmpeg.org/ffprobe.html) installed
### Configuration
Edit the `settings.ini` file:
- RUNNER: the path to ffprobe binary or simply `ffprobe` if already in your path
## Usage
run `python3 videotheque.py -h` to get the list of availabe commands and their usages
## Development
follow [installation](#installation) process and run this final step:
- `pip install -r requirements-dev.txt`