Go to file
Benjamin Loison 5540098e96
Make the media download work up to 100 results or duplicates
The `MAXIMAL_NUMBER_OF_RESULTS` constant was computed thanks to:

```py
import os, json

path = '/home/benjamin/Desktop/bens_folder/dev/yt/audio_library'

os.chdir(path)

with open('sound_effects.json') as json_file:
    tracks = json.load(json_file)

mostResults = 0
mostResultsTitle = None

for track in tracks:
    title = track['title']
    results = 0
    for otherTrack in tracks:
        if title in otherTrack['title']:
            results += 1
    if results > mostResults:
        mostResults = results
        mostResultsTitle = title

print(mostResults, mostResultsTitle)
```
2023-02-04 19:12:54 +01:00
media_files_extractor.py Make the media download work up to 100 results or duplicates 2023-02-04 19:12:54 +01:00
metadata_extracter.py Add metadata_extracter.py 2023-02-04 14:13:29 +01:00
music.json Add {music, sound_effects}.json 2023-02-04 14:15:10 +01:00
README.md Add README.md 2023-02-04 14:08:01 +01:00
sound_effects.json Add {music, sound_effects}.json 2023-02-04 14:15:10 +01:00

YouTube Audio library extracter