Hello,
By default, Subsonic downloads covers as "cover.png"
I would like to know if it is possible to modify this and download covers as folder.jpg.
Thanks!
Moderator: moderators
$Root="[Path to your music library]"
$Magick = "C:\Program Files\ImageMagick-7.0.8-Q16\Magick.exe"
$Images = Get-ChildItem -Path $Root -Filter "cover.png" -recurse -ErrorAction SilentlyContinue
ForEach ($Image IN $Images) {
$RetVal = Start-Process `
-FilePath $Magick `
-ArgumentList ('"' + $Image.FullName.ToLower() + '" "' + $Image.FullName.Replace("cover.png","Folder.jpg") + '"') `
-WorkingDirectory (Split-Path -Path $Magick -Parent) `
-NoNewWindow -Wait
Remove-Item -Path $Image.FullName -Force
}
Users browsing this forum: No registered users and 10 guests