https://keyoxide.org/dfb64c629270b46f661fc268ece4cb0c79b7ecda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from csv import DictReader, DictWriter | |
| from pathlib import Path | |
| from pydantic import BaseModel, Field, field_serializer | |
| INPUT_FOLDER: Path = Path("results") | |
| OUTPUT_FILE: Path = Path("not_found.csv") | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| import re | |
| import shutil | |
| from datetime import datetime | |
| from pathlib import Path | |
| import exiftool | |
| from pydantic import BaseModel | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| fetch_api_data() { | |
| local url=$1 | |
| local response | |
| response=$(curl -f -S -L -H "accept: application/json" "$url") | |
| echo "$response" | |
| } | |
| sanitize_filename() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [AEQ] | |
| ; Audio equalizer settings | |
| ; start and end are in Hz (int) and must be divisible by 2 | |
| bassStart = 0 | |
| bassEnd = 80 | |
| bassGain = 80 | |
| midStart = 80 | |
| midEnd = 8600 | |
| midGain = 50 |