upload de projetos funcional + busca por bpm

This commit is contained in:
JotaChina committed 2025-12-08 11:23:31 -03:00
1 parent 7edeaabeaf
commit de93bafb10
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -42,7 +42,6 @@ permalink: /beats/
{% for projeto in site.data.all %}
{% assign proj_slug = projeto.file | slugify %}
{% assign beat_slug = file_name_clean | slugify %}
{% if proj_slug == beat_slug %}
{% assign project_url = "/projetos/" | append: proj_slug | append: ".html" %}
{% endif %}
@@ -73,7 +72,7 @@ permalink: /beats/
{% else %}
<div class="column is-12">
<div class="notification is-warning has-text-centered">
Nenhum beat encontrado (beats.json vazio ou inexistente).
Nenhum beat encontrado (beats.json vazio). Faça um upload para regenerar a lista.
</div>
</div>
{% endif %}
+1 -1
View File
@@ -35,7 +35,7 @@ CONFIGS = [
{
"source_dir": WAV_FOLDER, # Vai ler a pasta src_mmpSearch/wav
"output_file": os.path.join(DATA_FOLDER, "beats.json"), # Salva em _data/beats.json
"scan_type": "tree",
"scan_type": "list",
"extensions": [".wav", ".mp3"], # Extensões permitidas
},
]