-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathupdate_lyrics.ps1
More file actions
28 lines (24 loc) · 1.17 KB
/
Copy pathupdate_lyrics.ps1
File metadata and controls
28 lines (24 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$songLyrics = @{
# Placeholder for lyrics - most H.I.Z lyrics are not publicly available due to copyright restrictions
# Partial lyrics found for some songs, but full lyrics not available
"Altschauerbergverbot" = @"
[Intro: Doktor Rohr]
Hey, zwanzigster August, ein schöner Tag, um rauszufliegen
Bei Rewe einzukaufen oder auch ein Kind zu kriegen
[Strophe 1: Doktor Rohr]
Das Game, ich geb's zu, lag ziemlich brach
Bis 'n neuer Player ins Handy sprach
Birella,
"@
# Note: Only partial lyrics available, full lyrics protected by copyright
}
foreach ($folder in Get-ChildItem -Directory) {
foreach ($file in Get-ChildItem -Path $folder.FullName -Filter "*.txt") {
$songName = $file.BaseName
$content = "Song: $songName`nEvidence URL: https://open.spotify.com/artist/1aDE6koQFyWcNbnYdZyF6v`nLyrics: Full lyrics not publicly available due to copyright restrictions. Only partial snippets found through web searches."
if ($songLyrics.ContainsKey($songName)) {
$content += "`nPartial Lyrics:`n" + $songLyrics[$songName]
}
Set-Content -Path $file.FullName -Value $content
}
}