# Script PowerShell per installare getID3 manualmente Write-Host "Installazione getID3..." -ForegroundColor Green # Crea cartella vendor se non esiste New-Item -ItemType Directory -Force -Path "vendor\getid3" | Out-Null # URL del download $url = "https://github.com/JamesHeinrich/getID3/archive/refs/tags/v1.9.23.zip" $zipFile = "vendor\getid3\getid3.zip" # Scarica getID3 Write-Host "Download in corso..." -ForegroundColor Yellow Invoke-WebRequest -Uri $url -OutFile $zipFile # Estrai Write-Host "Estrazione file..." -ForegroundColor Yellow Expand-Archive -Path $zipFile -DestinationPath "vendor\getid3\temp" -Force # Sposta i file nella posizione corretta Get-ChildItem "vendor\getid3\temp\getID3-*" | Get-ChildItem | Move-Item -Destination "vendor\getid3" -Force # Pulisci Remove-Item -Path "vendor\getid3\temp" -Recurse -Force Remove-Item -Path $zipFile -Force Write-Host "" Write-Host "✅ getID3 installato con successo!" -ForegroundColor Green Write-Host "" Write-Host "Nota: Se hai Composer disponibile, puoi usare invece:" -ForegroundColor Cyan Write-Host " composer install" -ForegroundColor White