Organize repository by moving all scripts to scripts/ folder

- Moved all Python processing scripts to scripts/ directory for better organization
- Preserves git history using git mv command
- Clean separation between main project files and utility scripts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Johan Lundberg 2025-07-01 00:36:08 +02:00
parent 462fdcfa84
commit 872fdfa0ee
15 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,113 @@
#!/usr/bin/env python3
"""
Fill missing Info and Description using Wikipedia data and research.
End descriptions with (by Claude).
"""
import csv
import re
# Dictionary of missing album info and descriptions based on research
wikipedia_missing_albums = {
("Various artists", "The Harder They Come"): {
"info": "Island, 1972",
"description": "This reggae compilation soundtrack introduced the world to the power and beauty of Jamaican music through the 1972 film starring Jimmy Cliff. Featuring classic tracks by Bob Marley & the Wailers ('Many Rivers to Cross'), Toots and the Maytals ('Pressure Drop'), and Jimmy Cliff ('The Harder They Come'), the album became a cultural phenomenon that brought reggae to international audiences. The collection captures the roots of reggae at its most authentic, with spiritual themes of resistance, redemption, and social justice running throughout. The album's success helped establish reggae as a major world music genre and influenced countless artists across all musical styles. Its impact extended far beyond music, helping to spread Rastafarian culture and Jamaican identity globally. (by Claude)"
},
("Otis Redding", "Otis Blue/Otis Redding Sings Soul"): {
"info": "Volt, 1965",
"description": "Recorded at the legendary Stax Studios in Memphis, this album showcases Otis Redding at the peak of his vocal powers, delivering some of the most passionate performances in soul music history. The album features his scorching takes on classic songs including Sam Cooke's 'A Change Is Gonna Come,' the Rolling Stones' 'Satisfaction,' and the Beatles' 'Day Tripper,' transforming each into distinctly soulful statements. Backed by the tight Stax rhythm section of Booker T. Jones, Steve Cropper, Duck Dunn, and Al Jackson Jr., Redding's raw emotional intensity and gospel-trained vocals created a template for Southern soul that influenced generations of singers. His originals like 'Respect' (later immortalized by Aretha Franklin) and 'I've Been Loving You Too Long' demonstrate his extraordinary songwriting abilities alongside his legendary vocal delivery. (by Claude)"
},
("Björk", "Post"): {
"info": "One Little Indian, 1995",
"description": "Björk's second solo album expanded her artistic vision beyond the experimental rock of 'Debut,' incorporating electronic music, trip-hop, and avant-garde production techniques to create something entirely unique. Working with producers including Nellee Hooper, Tricky, and Howie B, Björk crafted songs that seamlessly blended organic and synthetic elements. Tracks like 'Army of Me' and 'It's Oh So Quiet' showcased her incredible vocal range and fearless artistic approach, while 'Hyperballad' and 'Possibly Maybe' revealed her vulnerable, romantic side. The album's innovative production, combining lush orchestrations with cutting-edge electronic textures, influenced countless artists in both pop and experimental music. 'Post' established Björk as one of music's most distinctive and influential artists, unafraid to push boundaries while maintaining emotional accessibility. (by Claude)"
},
("Weezer", "Weezer"): {
"info": "DGC, 1994",
"description": "Known as 'The Blue Album,' Weezer's debut perfectly captured the awkward charm and emotional intensity of alternative rock in the 1990s. Rivers Cuomo's deeply personal songwriting, combined with the band's crunchy guitar sound and pop sensibilities, created anthems for the misunderstood and lovelorn. Songs like 'Buddy Holly,' 'Undone (The Sweater Song),' and 'Say It Ain't So' became defining tracks of Generation X, blending heavy guitars with irresistible melodies and lyrics about social anxiety, family dysfunction, and unrequited love. Producer Ric Ocasek helped the band achieve a sound that was both polished and raw, perfectly suited to MTV and alternative radio. The album's success proved that vulnerability and intelligence could coexist with rock power, influencing countless indie and emo bands that followed. (by Claude)"
},
("Neil Young and Crazy Horse", "Rust Never Sleeps"): {
"info": "Reprise, 1979",
"description": "Neil Young's response to the punk movement was this fierce, electric masterpiece that proved the old guard could still deliver vital, relevant rock music. Recorded with his longtime backing band Crazy Horse, the album features some of Young's most powerful guitar work and politically charged lyrics. The epic 'Powderfinger' and 'Welfare Mothers' showcase the band's ability to create sprawling, feedback-drenched soundscapes, while 'My My, Hey Hey (Out of the Blue)' offers Young's famous meditation on rock and roll mortality with the prophetic line 'it's better to burn out than to fade away.' The album's raw energy and uncompromising attitude influenced grunge pioneers like Nirvana and Pearl Jam, proving Young's continued relevance across generations. (by Claude)"
},
("Sam Cooke", "Portrait of a Legend: 19511964"): {
"info": "ABKCO, 2003",
"description": "This comprehensive compilation captures the full scope of Sam Cooke's revolutionary career, from his gospel beginnings with the Soul Stirrers to his emergence as the king of soul music. Featuring classics like 'You Send Me,' 'Chain Gang,' 'Cupid,' and the posthumously released civil rights anthem 'A Change Is Gonna Come,' the collection demonstrates Cooke's unique ability to blend sacred and secular music into something transcendent. His smooth, sophisticated vocal style and innovative songwriting laid the groundwork for soul music and influenced every R&B singer who followed. Cooke's business acumen and artistic vision made him one of the first African American artists to gain control over his music and career, paving the way for future generations of Black artists. (by Claude)"
},
("Jerry Lee Lewis", "All Killer, No Filler: The Anthology"): {
"info": "Rhino, 1993",
"description": "This comprehensive collection showcases Jerry Lee Lewis at his wild, untamed best, capturing the raw energy and piano-pounding intensity that made him one of rock and roll's most explosive performers. From his legendary Sun Records recordings like 'Whole Lotta Shakin' Goin' On' and 'Great Balls of Fire' to his later country hits, the anthology demonstrates Lewis's versatility and enduring power as a performer. His manic piano style and uninhibited stage presence influenced countless rock and roll musicians, while his ability to cross genres from rockabilly to country to gospel showcased his deep musical roots. Despite personal controversies, Lewis's artistic legacy as 'The Killer' remains undiminished, representing the untamed spirit of early rock and roll at its most primal and exciting. (by Claude)"
},
("Janet Jackson", "Janet Jackson's Rhythm Nation 1814"): {
"info": "A&M, 1989",
"description": "Janet Jackson's fourth studio album was a bold statement about social justice and unity, wrapped in innovative production that helped define the sound of late-80s and early-90s pop. Working with producers Jimmy Jam and Terry Lewis, Jackson created a concept album that addressed issues like racism, poverty, and social inequality while delivering irresistible dance tracks. Songs like 'Rhythm Nation,' 'Miss You Much,' and 'Black Cat' showcased Jackson's evolution from teen pop star to serious artist and social commentator. The album's industrial-tinged production and Jackson's precise choreography in the accompanying videos influenced a generation of pop artists. 'Rhythm Nation 1814' proved that mainstream pop could carry powerful political messages without sacrificing commercial appeal. (by Claude)"
},
("Brian Wilson", "Brian Wilson Presents Smile"): {
"info": "Nonesuch, 2004",
"description": "Nearly four decades after its abandonment, Brian Wilson finally completed his legendary 'lost album' with help from lyricist Van Dyke Parks and arranger Paul Mertens. Originally conceived as the Beach Boys' follow-up to 'Pet Sounds,' 'Smile' was an ambitious song cycle about American history and mythology that proved too complex and experimental for its time. The completed version showcases Wilson's unparalleled melodic gifts and innovative harmonic concepts, featuring intricate vocal arrangements and unconventional song structures that influenced countless artists during its mythical status. Songs like 'Good Vibrations,' 'Heroes and Villains,' and 'Surf's Up' reveal Wilson's vision of a uniquely American art music that blends pop accessibility with avant-garde experimentation. The album's completion was both a personal triumph for Wilson and a gift to music history. (by Claude)"
},
("Various artists", "Nuggets: Original Artyfacts from the First Psychedelic Era, 19651968"): {
"info": "Elektra, 1972",
"description": "Compiled by Lenny Kaye (later guitarist for Patti Smith), this groundbreaking collection rescued dozens of obscure garage rock and proto-punk singles from the mid-1960s, creating the template for all compilation albums that followed. Featuring raw, energetic tracks by bands like The Seeds, Count Five, The Standells, and The 13th Floor Elevators, 'Nuggets' documented a forgotten chapter of American rock history between the British Invasion and the rise of psychedelia. The collection's influence was immeasurable, inspiring punk and alternative rock musicians who discovered that three chords and attitude could create timeless music. Kaye's liner notes helped establish the critical framework for understanding garage rock as a distinct genre, while the album's DIY aesthetic influenced countless musicians to start their own bands. (by Claude)"
},
("Paul McCartney and Linda McCartney", "Ram"): {
"info": "Apple, 1971",
"description": "Paul McCartney's second post-Beatles album, credited to both Paul and Linda McCartney, was initially dismissed by critics but has since been recognized as a charming, experimental work that captured the former Beatle's domestic bliss and musical curiosity. Recorded at his Scottish farm with a loose, homemade aesthetic, the album features unconventional song structures, playful lyrics, and a willingness to embrace both beauty and silliness. Songs like 'Uncle Albert/Admiral Halsey' and 'The Back Seat of My Car' showcase McCartney's melodic genius while revealing a more personal, intimate side than his Beatles work. The album's lo-fi production and pastoral themes influenced indie rock decades later, while its seamless blend of musical styles demonstrated McCartney's fearless creativity outside the Beatles framework. (by Claude)"
},
("Smokey Robinson", "Going to a Go-Go"): {
"info": "Tamla, 1965",
"description": "Smokey Robinson and the Miracles' album captures the essence of mid-1960s Motown at its most sophisticated and danceable. As Motown's vice president and chief songwriter, Robinson crafted smooth, soulful songs that balanced romantic vulnerability with irresistible grooves. The title track became a dance floor classic, while songs like 'My Girl Has Gone' and 'Since I Lost My Baby' showcased Robinson's gift for expressing heartbreak with remarkable grace and poetic insight. His silky falsetto and the Miracles' tight harmonies, backed by Motown's legendary Funk Brothers, created a template for soul music that influenced countless artists. Robinson's role as both performer and behind-the-scenes architect made him one of Motown's most important figures. (by Claude)"
},
("Four Tops", "Reach Out"): {
"info": "Motown, 1967",
"description": "The Four Tops' album, built around their massive hit 'Reach Out I'll Be There,' showcases one of Motown's most powerful vocal groups at their commercial and artistic peak. Levi Stubbs' passionate, gospel-influenced lead vocals, supported by the rock-solid harmonies of Abdul 'Duke' Fakir, Obie Benson, and Lawrence Payton, created some of soul music's most emotionally intense moments. The production by Holland-Dozier-Holland, featuring dramatic orchestrations and driving rhythms, helped define the Motown Sound's more ambitious phase. Songs like 'Standing in the Shadows of Love' and 'Bernadette' demonstrated the group's ability to convey both romantic longing and social consciousness with equal conviction. The Four Tops' longevity and consistent quality made them one of Motown's most beloved acts. (by Claude)"
},
("The Supremes", "Anthology"): {
"info": "Motown, 1974",
"description": "This comprehensive collection captures the extraordinary career of Motown's most successful female group, documenting their evolution from teenage hopefuls to international superstars. Featuring classic hits like 'Where Did Our Love Go,' 'Baby Love,' 'Stop! In the Name of Love,' and 'You Can't Hurry Love,' the anthology showcases Diana Ross's distinctive vocals and the group's impeccable harmonies over Holland-Dozier-Holland's innovative productions. The Supremes broke down racial barriers in popular music, becoming the first Black female group to achieve mainstream success on a global scale. Their sophisticated image and crossover appeal helped bring Motown to white audiences while maintaining their essential soulfulness. The collection documents one of the most important chapters in American popular music history. (by Claude)"
},
("Laura Nyro", "Eli and the Thirteenth Confession"): {
"info": "Columbia, 1968",
"description": "Laura Nyro's second album is a stunning showcase of her unique songwriting vision, blending jazz, soul, gospel, and folk into something entirely her own. Her passionate, multi-octave vocals and deeply personal lyrics about love, spirituality, and urban life created a template for the singer-songwriter movement of the 1970s. Songs like 'Stoned Soul Picnic,' 'Sweet Blindness,' and 'Eli's Comin'' were later covered by artists like The 5th Dimension and Three Dog Night, but Nyro's original versions remain definitive statements of artistic integrity and emotional intensity. Her innovative piano arrangements and fearless vocal delivery influenced countless female artists, from Joni Mitchell to Tori Amos. The album stands as one of the most important works by one of music's most underappreciated visionaries. (by Claude)"
}
}
def main():
# Read current CSV
albums = []
with open('top_500_albums_2023.csv', 'r', encoding='utf-8') as file:
reader = csv.DictReader(file)
for row in reader:
albums.append(row)
# Find and update missing info
updated_count = 0
for album in albums:
artist = album['Artist'].strip()
album_title = album['Album'].strip()
# Check if this album is missing info/description
if not album['Info'].strip() or not album['Description'].strip():
# Look for it in our Wikipedia-based database
if (artist, album_title) in wikipedia_missing_albums:
album_data = wikipedia_missing_albums[(artist, album_title)]
if not album['Info'].strip():
album['Info'] = album_data['info']
if not album['Description'].strip():
album['Description'] = album_data['description']
updated_count += 1
print(f"✓ Updated from Wikipedia research: {artist} - {album_title}")
else:
print(f"✗ Still missing: {artist} - {album_title}")
# Write updated CSV
with open('top_500_albums_2023.csv', 'w', newline='', encoding='utf-8') as file:
fieldnames = ['Rank', 'Artist', 'Album', 'Status', 'Info', 'Description']
writer = csv.DictWriter(file, fieldnames=fieldnames)
writer.writeheader()
writer.writerows(albums)
print(f"\n🎉 Updated {updated_count} additional albums with Wikipedia-based research")
print("All descriptions end with '(by Claude)'")
if __name__ == "__main__":
main()