MemeDb/config.py
Djalim Simaila 03a41b6996 feat: add initial implementation of the shitpost scanning application with database integration and various scanners for music, text, speech, and tags extraction
- Introduce `app.py` as the main application file to handle shitpost scanning.
- Create `config.py` for configuration settings including scan paths and file types.
- Implement database models in `Models.py` for shitposts, songs, speech outputs, and tags.
- Add database creation logic in `db.py`.
- Develop various scanners (`OcrScanner.py`, `SongScanner.py`, `SpeechScanner.py`, `TagScanner.py`) for extracting information from shitposts.
- Implement utility functions in `dateExtractor.py` and `shitpostFactory.py` for handling file metadata and creating shitpost objects.
- Include a `pyproject.toml` for project dependencies and configuration.
2025-06-23 23:28:04 +02:00

12 lines
247 B
Python

SCAN_PATHS = [
#"./testMedia/",
"/home/djalim/Vidéos/Shitpost/",
"/home/djalim/Images/Shitpost et Art/"
]
VIDEO_FILETYPES = [
"mp4","webm","mkv"
]
IMAGE_FILETYPES = ["jpg", "jpeg", "png", "webp"]