Align Suno metadata with music library layout
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ function Get-ExistingSunoIds {
|
||||
return ,$ids
|
||||
}
|
||||
|
||||
Get-ChildItem -LiteralPath $Root -Recurse -Filter "*metadata.json" -File -ErrorAction SilentlyContinue | ForEach-Object {
|
||||
Get-ChildItem -LiteralPath $Root -Recurse -Filter "*.json" -File -ErrorAction SilentlyContinue | ForEach-Object {
|
||||
try {
|
||||
$json = Get-Content -LiteralPath $_.FullName -Raw | ConvertFrom-Json
|
||||
$id = "$($json.id)".Trim()
|
||||
|
||||
Reference in New Issue
Block a user