- 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.
12 lines
247 B
Python
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"]
|