From ccd2959d72e70b74c7faf755bb690da35e3c48a6 Mon Sep 17 00:00:00 2001 From: Wing Leung Date: Wed, 25 May 2022 18:07:30 +0100 Subject: [PATCH] feat: add music.songName (#996) Co-authored-by: Wing Leung Choi --- src/definitions/music.ts | 5 + src/locales/en/music/index.ts | 2 + src/locales/en/music/song_name.ts | 1002 +++++++++++++++++++++++++++++ src/modules/music/index.ts | 12 + test/music.spec.ts | 21 +- 5 files changed, 1041 insertions(+), 1 deletion(-) create mode 100644 src/locales/en/music/song_name.ts diff --git a/src/definitions/music.ts b/src/definitions/music.ts index 3e2842d5a1f..924af357f26 100644 --- a/src/definitions/music.ts +++ b/src/definitions/music.ts @@ -8,4 +8,9 @@ export type MusicDefinitions = LocaleEntry<{ * The names of some music genres. */ genre: string[]; + + /** + * The names of some songs. + */ + song_name: string[]; }>; diff --git a/src/locales/en/music/index.ts b/src/locales/en/music/index.ts index 45e23540c4d..906e2739489 100644 --- a/src/locales/en/music/index.ts +++ b/src/locales/en/music/index.ts @@ -4,8 +4,10 @@ */ import type { MusicDefinitions } from '../../..'; import genre from './genre'; +import song_name from './song_name'; const music: MusicDefinitions = { + song_name, genre, }; diff --git a/src/locales/en/music/song_name.ts b/src/locales/en/music/song_name.ts new file mode 100644 index 00000000000..1ca60967470 --- /dev/null +++ b/src/locales/en/music/song_name.ts @@ -0,0 +1,1002 @@ +export default [ + 'White Christmas', + 'Hey Jude', + 'Every Breath You Take', + 'Mack the Knife', + 'Rock Around the Clock', + 'I Want to Hold Your Hand', + "(I Can't Get No) Satisfaction", + 'The Twist', + '(Everything I Do) I Do it For You', + 'Bridge Over Troubled Water', + 'When Doves Cry', + 'Call Me', + 'Bette Davis Eyes', + 'I Will Always Love You', + 'Over the Rainbow', + 'American Pie', + 'Flashdance. What a Feeling', + 'The Way We Were', + 'I Heard it Through the Grapevine', + "You've Lost That Lovin' Feelin'", + 'Nothing Compares 2 U', + 'Endless Love', + 'Yeah!', + "Let's Get it On", + "That's What Friends Are For", + 'You Light Up My Life', + "(Sittin' On) the Dock of the Bay", + 'Joy to the World', + 'Heartbreak Hotel', + "Theme From 'A Summer Place'", + 'Aquarius/Let The Sunshine In', + 'I Will Survive', + "It's Too Late", + 'Respect', + 'Sugar Sugar', + "Stayin' Alive", + 'Maggie May', + 'My Heart Will Go On', + 'Eye of the Tiger', + 'End of the Road', + 'Another One Bites the Dust', + 'Billie Jean', + "Let's Stay Together", + 'Battle of New Orleans', + 'Oh', + 'Hound Dog', + "I Love Rock 'n' Roll", + 'Smooth', + 'Good Vibrations', + 'Physical', + 'Light My Fire', + 'Low', + 'Hey Ya!', + 'Let it Be', + "Don't Be Cruel", + 'Hotel California', + 'We Belong Together', + 'Le Freak', + 'Raindrops Keep Falling On My Head', + 'How High the Moon', + 'My Girl', + "I Can't Stop Loving You", + 'Killing Me Softly With His Song', + 'Mona Lisa', + 'In the Mood', + 'She Loves You', + 'The Letter', + 'Mister Sandman', + 'Careless Whisper', + "What's Love Got to Do With It?", + "I'm a Believer", + 'Wooly Bully', + "Theme From 'Shaft'", + 'Hot Stuff', + 'Centerfold', + 'Honky Tonk Woman', + "I'll Be There", + "Gangsta's Paradise", + 'Yesterday', + 'My Sharona', + 'Tennessee Waltz', + "Reach Out (I'll Be There)", + "California Dreamin'", + 'Jailhouse Rock', + 'Irreplaceable', + 'Dancing in the Street', + 'Rolling In The Deep', + "Tie a Yellow Ribbon 'round the Old Oak Tree", + 'Stand By Me', + 'Sentimental Journey', + 'The First Time Ever I Saw Your Face', + 'Louie Louie', + 'Another Brick in the Wall (part 2)', + '(Just Like) Starting Over', + 'Night Fever', + 'To Sir', + "You're So Vain", + 'Be My Baby', + 'Celebration', + '(They Long to Be) Close to You', + 'Begin the Beguine', + "I Still Haven't Found What I'm Looking For", + 'I Want You Back', + "Arthur's Theme (Best That You Can Do)", + 'Boulevard of Broken Dreams', + 'With Or Without You', + "Tonight's the Night (Gonna Be Alright)", + 'Are You Lonesome Tonight?', + 'Upside Down', + 'Dancing Queen', + "Sweet Child O' Mine", + 'Where Did Our Love Go', + 'Unchained Melody', + 'Rudolph', + 'Take My Breath Away', + "I'll Make Love to You", + 'Love Will Keep Us Together', + 'When a Man Loves a Woman', + 'Walk Like an Egyptian', + 'Crazy in Love', + 'Strangers in the Night', + 'You Belong to Me', + 'In Da Club', + 'Say You', + 'We Are the World', + 'Johnny B Goode', + "Love Theme From 'A Star is Born' (Evergreen)", + 'Shadow Dancing', + 'Superstition', + 'Beat It', + 'Night & Day', + 'Waterfalls', + 'House of the Rising Sun', + 'Paper Doll', + 'Downtown', + "I Can't Help Myself (Sugar Pie", + 'Kiss From a Rose', + 'Believe', + 'Ballad of the Green Berets', + 'Proud Mary', + 'Too Young', + 'Umbrella', + 'Swanee', + 'Need You Tonight', + 'Like a Rolling Stone', + 'Lady', + 'One Sweet Day', + 'Lean On Me', + 'Tik-Toc', + 'Monday Monday', + "What'd I Say", + 'How You Remind Me', + 'Silly Love Songs', + 'My Guy', + 'Macarena', + 'Goodnight', + 'Just My Imagination (Running Away With Me)', + 'The Sounds of Silence', + 'Imagine', + 'Me & Bobby McGee', + 'Near You', + "What's Going On?", + 'Suspicious Minds', + 'Ode To Billie Joe', + 'Wind Beneath My Wings', + 'The Boy is Mine', + 'Mr Tambourine Man', + 'Faith', + 'Green Onions', + 'Mrs Robinson', + 'How Deep is Your Love?', + 'Hey There', + 'Heart of Glass', + 'Pennies From Heaven', + 'Like a Virgin', + 'Midnight Train to Georgia', + 'Help!', + 'Tossing & Turning', + 'The Sign', + 'Born to Be Wild', + 'Layla', + 'I Just Wanna Be Your Everything', + 'War', + '96 Tears', + 'I Get Around', + 'Because You Loved Me', + 'Summer in the City', + 'Get Back', + 'Secret Love', + '9 to 5', + '(Ghost) Riders in the Sky', + 'The Loco-Motion', + 'Play That Funky Music', + 'Bohemian Rhapsody', + 'Little Things Mean a Lot', + 'Cry', + 'All Shook Up', + 'Up Where We Belong', + 'Sledgehammer', + 'Fire & Rain', + 'Stop! in the Name of Love', + 'Sweet Home Alabama', + 'Another Day in Paradise', + 'Bleeding Love', + 'Lady Marmalade (Voulez-Vous Coucher Aver Moi Ce Soir?)', + 'Whispering', + 'Vogue', + 'Under the Bridge', + 'Sixteen Tons', + 'Sugar Shack', + 'Baby Love', + 'What a Fool Believes', + 'Lose Yourself', + 'Hello Dolly', + 'Brown Eyed Girl', + 'Without You', + 'Build Me Up Buttercup', + 'We Found Love', + 'Tears in Heaven', + 'Family Affair', + 'All I Wanna Do', + 'Soul Man', + 'Tequila', + 'Rock With You', + "Livin' La Vida Loca", + 'Best of My Love', + 'Runaway', + 'Alone Again (Naturally)', + "Can't Help Falling in Love", + 'My Sweet Lord', + 'Runaround Sue', + 'Swinging On a Star', + 'Gold Digger', + 'Happy Together', + 'Losing My Religion', + 'Heart of Gold', + 'Stardust', + 'Will You Love Me Tomorrow', + 'You Are the Sunshine of My Life', + 'You Were Meant for Me', + 'Take On Me', + 'Hollaback Girl', + 'God Bless America', + 'I Swear', + 'Sunshine of Your Love', + 'Firework', + "Groovin'", + 'Smells Like Teen Spirit', + "Big Girls Don't Cry", + 'Jack & Diane', + 'Addicted to Love', + 'The Last Dance', + 'Georgia On My Mind', + 'Money For Nothing', + 'Jump', + 'Vaya Con Dios (may God Be With You)', + "You'll Never Know", + "That'll Be the Day", + 'Girls Just Wanna Have Fun', + 'Wheel of Fortune', + 'When You Wish Upon a Star', + "Don't Fence Me In", + 'Turn! Turn! Turn! (To Everything There is a Season)', + 'Volare', + 'Sweet Dreams (Are Made of This)', + 'Whole Lotta Love', + "You've Got a Friend", + 'Penny Lane', + 'People Got to Be Free', + 'Nature Boy', + 'Sexyback', + 'Crying', + 'Single Ladies (Put A Ring On It)', + 'Bad Girls', + 'Too Close', + 'I Got You Babe', + "We've Only Just Begun", + 'Sh-Boom (Life Could Be a Dream)', + 'Shining Star', + 'Kansas City', + 'Like a Prayer', + 'Cheek to Cheek', + 'Papa Was a Rolling Stone', + 'Promiscuous', + 'Love Shack', + 'Funkytown', + 'Crazy', + 'Philadelphia Freedom', + 'Temperature', + 'Somebody That I Used to Know', + 'All I Have to Do is Dream', + "Jessie's Girl", + 'Rhinestone Cowboy', + 'Blue Suede Shoes', + 'Ebony & Ivory', + "I'll Never Smile Again", + 'Keep On Loving You', + 'Since U Been Gone', + 'The Way You Look Tonight', + 'Crazy Little Thing Called Love', + 'The Great Pretender', + 'Brown Sugar', + 'Que sera sera (Whatever will be will be)', + 'No One', + 'Bad Day', + 'Boom Boom Pow', + 'Party Rock Anthem', + 'Because of You', + 'Chattanooga Choo Choo', + 'A Whiter Shade of Pale', + 'Love Me Tender', + 'Higher Love', + 'Footloose', + 'Blurred Lines', + 'I Just Called to Say I Love You', + 'Come Together', + "It's Now Or Never", + 'Under the Boardwalk', + "Don't You Want Me", + "You Can't Hurry Love", + 'Fame', + "Fallin'", + 'Poker Face', + 'Bad Romance', + 'Ruby Tuesday', + 'All Night Long (All Night)', + 'Baby Got Back', + "Whole Lotta Shakin' Goin' On", + 'Frenesi', + 'December 1963 (Oh What a Night)', + 'Bad Moon Rising', + 'Abracadabra', + 'I Gotta Feeling', + 'The Song From Moulin Rouge (Where Is Your Heart)', + 'Waiting For a Girl Like You', + 'Everybody Loves Somebody', + "I Can't Go For That (No Can Do)", + 'Buttons & Bows', + "It's All in the Game", + 'Love Train', + 'Dance to the Music', + "Candle in the Wind '97", + 'Honey', + 'Kiss', + "I'll Take You There", + 'Paint it Black', + 'Band of Gold', + 'Just the Way You Are', + 'Spirit in the Sky', + 'Vision of Love', + "Hips don't lie", + 'Till The End of Time', + 'Duke of Earl', + 'YMCA', + 'Oh My Papa (O Mein Papa)', + "Pistol Packin' Mama", + 'Gonna Make You Sweat (Everybody Dance Now)', + 'Dilemma', + 'I Need You Now', + 'Wanted', + "Jumpin' Jack Flash", + 'Against All Odds (Take a Look At Me Now)', + 'Tom Dooley', + 'Goodbye Yellow Brick Road', + 'Rhapsody in Blue', + 'Bennie & the Jets', + 'Call Me Maybe', + 'You Really Got Me', + 'God Bless the Child', + "I'm Sorry", + 'Bad', + "I Can't Get Next to You", + 'The Power of Love', + 'Dreamlover', + 'Only The Lonely (Know The Way I Feel)', + 'We Are Family', + 'At Last', + 'Brand New Key', + "I've Heard That Song Before", + 'Stay (I Missed You)', + "Do Ya Think I'm Sexy?", + 'Tutti Frutti', + 'This Ole House', + 'Please Mr Postman', + "Can't Help Falling in Love", + 'Good Times', + 'Something', + "(I've Had) the Time of My Life", + "I Don't Want to Miss a Thing", + 'Down Hearted Blues', + 'Rag Doll', + 'Blueberry Hill', + "Ain't No Sunshine", + 'Wild Thing', + 'Blaze of Glory', + 'Crazy', + 'Ray of Light', + 'The Hustle', + 'Grenade', + "Cathy's Clown", + 'Minnie the Moocher', + "Love Is Blue (L'Amour Est Bleu)", + 'Iris', + 'The Boys of Summer', + 'The Tide is High', + 'She Drives Me Crazy', + 'Fame', + 'Stardust', + 'Save the Best For Last', + 'These Boots Are Made For Walking', + 'I Feel Love', + 'A Woman in Love', + 'We Can Work it Out', + 'The Reason', + 'Locked Out Of Heaven', + 'Do That to Me One More Time', + "That's the Way Love Goes", + "A Hard Day's Night", + 'I Believe I Can Fly', + 'Karma Chameleon', + "One O'Clock Jump", + 'Mule Train', + 'Car Wash', + 'Rapture', + 'Creep', + 'Streets of Philadelphia', + 'West End Girls', + 'Leader of the Pack', + 'T For Texas (Blue Yodel No 1)', + 'Mama Told Me Not to Come', + 'Just Dance', + 'Mercy Mercy Me (The Ecology)', + "Livin' On a Prayer", + "Good Lovin'", + '50 Ways to Leave Your Lover', + 'Stronger', + 'I Can See Clearly Now', + 'We Are the Champions', + "(I've Got a Gal In) Kalamazoo", + 'No Scrubs', + "Big Girls Don't Cry", + 'How Do You Mend a Broken Heart', + 'I Got You (I Feel Good)', + "Don't Let the Stars Get in Your Eyes", + 'The Girl From Ipanema', + '(Sexual) Healing', + 'Tears of a Clown', + 'We Will Rock You', + 'Hold On', + 'Bye Bye Love', + 'Chapel of Love', + 'White Rabbit', + 'Rock the Boat', + 'The Gypsy', + "Take The 'A' Train", + 'Crimson & Clover', + 'Crocodile Rock', + 'Make Love to Me', + "Nothing's Gonna Stop Us Now", + 'Say Say Say', + 'The Christmas Song (Chestnuts Roasting On An Open Fire)', + 'Un-Break My Heart', + 'Cherish', + "I'll Be Missing You", + 'Drops of Jupiter (Tell Me)', + 'There goes my baby', + 'You Send Me', + 'If (They Made Me a King)', + "The Prisoner's Song", + 'ABC', + 'Do Wah Diddy Diddy', + "He's So Fine", + 'A Boy Named Sue', + 'Roll Over Beethoven', + 'Sweet Georgia Brown', + 'Earth Angel', + 'Rehab', + "(You Keep Me) Hangin' On", + 'This Diamond Ring', + 'Be My Love', + 'Rush Rush', + "You're Beautiful", + 'Roll With It', + 'Moonlight Serenade', + 'Unbelievable', + "Peg o' My Heart", + 'This Land is Your Land', + 'Stranger On the Shore', + 'Rum & Coca-Cola', + 'Hit the Road', + 'Without Me', + 'Crazy For You', + 'I Want to Know What Love Is', + 'Bye Bye', + 'Down Under', + 'At the Hop', + 'One Bad Apple', + 'Kiss & Say Goodbye', + "For What It's Worth (Stop", + 'The Long & Winding Road', + 'Baby One More Time', + 'Stairway to Heaven', + 'How Do I Live?', + 'Hello', + 'Truly Madly Deeply', + 'Great Balls of Fire', + 'King of the Road', + 'I Wanna Dance With Somebody (Who Loves Me)', + 'Reunited', + 'Help Me', + 'Rags to Riches', + "(It's No) Sin", + 'Say My Name', + 'Nobody Does it Better', + 'Paperback Writer', + "Don't Worry Be Happy", + 'I Fall to Pieces', + 'Body & Soul', + "You're Still the One", + "Stormy Weather (Keeps Rainin' All the Time)", + 'Horse With No Name', + 'American Woman', + 'Chattanoogie Shoe-Shine Boy', + 'Pick Up the Pieces', + 'Everybody Wants to Rule the World', + 'Blue Tango', + 'Hurt So Good', + 'Apologize', + "Let's Dance", + "(You're My) Soul & Inspiration", + 'I Only Have Eyes For You', + 'Wichita Lineman', + 'Hanging by a Moment', + 'Spinning Wheel', + 'Look Away', + 'Ironic', + "Don't Stop 'Til You Get Enough", + 'Empire State Of Mind', + 'Do You Love Me?', + "Jive Talkin'", + "You're the One That I Want", + 'Sweet Soul Music', + 'Hey There Delilah', + "A Whole New World (Aladdin's Theme)", + "Somethin' Stupid", + 'Knock Three Times', + 'Mickey', + 'The Wanderer', + 'Dancing in the Dark', + "It's Still Rock 'n' Roll to Me", + 'Boogie Oogie Oogie', + 'Can You Feel the Love Tonight', + 'Harper Valley PTA', + 'Seasons in the Sun', + 'Come On-a My House', + 'Viva La Vida', + 'Walk On By', + 'Family Affair', + "Drop it Like It's Hot", + 'Private Eyes', + 'Maniac', + "All My Lovin' (You're Never Gonna Get It)", + 'Take a Bow', + 'Ring of Fire', + 'Save the Last Dance For Me', + 'Make it With You', + "Don't Speak", + 'I Shot the Sheriff', + 'Say It Right', + 'Sing', + 'Twist & Shout', + 'Twist & Shout', + 'Walk This Way', + 'A-Tisket A-Tasket', + 'Let Me Love You', + 'I Can Dream', + 'Toxic', + 'The Joker', + 'Hero', + 'In the Year 2525 (Exordium & Terminus)', + 'Your Song', + 'Oh Happy Day', + 'Grease', + 'Love In This Club', + 'Angie', + 'How Much is That Doggy in the Window?', + 'Daydream Believer', + 'Whip It', + 'Boogie Woogie Bugle Boy', + 'Down', + 'Hanky Panky', + 'Total Eclipse of the Heart', + "Cat's in the Cradle", + 'Strange Fruit', + 'Lady Marmalade (Voulez-Vous Coucher Aver Moi Ce Soir?)', + 'Breathe', + 'On My Own', + 'Dizzy', + 'Ticket to Ride', + 'We Got The Beat', + 'On the Atchison', + 'Always On My Mind', + 'Unforgettable', + 'In the End', + 'Just the Way You Are', + 'Music', + "Can't Buy Me Love", + 'Chain of Fools', + "Won't Get Fooled Again", + 'Happy Days Are Here Again', + 'Third Man Theme', + "Your Cheatin' Heart", + 'Thriller', + 'Venus', + 'Time After Time', + 'That Lucky Old Sun (Just Rolls Around Heaven All Day)', + 'E.T.', + 'Three Coins in the Fountain', + 'Touch Me', + "You Ain't Seen Nothin' Yet", + 'Gives You Hell', + 'Knock On Wood', + 'One of These Nights', + 'Again', + 'Doo Wop (That Thing)', + 'Whoomp! (There it Is)', + 'Magic', + "I'm Walking Behind You", + "We Didn't Start the Fire", + 'Lola', + 'Ghostbusters', + 'Winchester Cathedral', + 'Greatest Love of All', + 'My Love', + 'Wannabe', + 'Miss You', + 'I Feel Fine', + 'Baby Baby', + 'TSOP (The Sound of Philadelphia)', + 'Loving You', + "This Guy's in Love With You", + 'Till I Waltz Again With You', + 'Why Do Fools Fall in Love?', + 'Nights in White Satin', + "That's the Way (I Like It)", + 'My Prayer', + '(Put Another Nickel In) Music! Music! Music!', + 'Colors of the Wind', + 'Morning Train (Nine to Five)', + 'I Went to Your Wedding', + 'Kiss Me', + 'Gypsies', + "Cracklin' Rosie", + 'Maybellene', + 'Born in the USA', + 'Here Without You', + 'Mony Mony', + 'Mmmbop', + 'You Always Hurt the One You Love', + 'Eight Days a Week', + 'What Goes Around Comes Around', + 'Kung Fu Fighting', + 'Fantasy', + 'Sir Duke', + "Ain't Misbehavin'", + 'Need You Now', + 'Last Train to Clarksville', + 'Yakety Yak', + "I'll be seeing you", + "Hard to Say I'm Sorry", + "It's My Party", + 'Love to Love You Baby', + 'Miss You Much', + 'Born to Run', + 'Instant Karma', + 'The Rose', + 'Purple Rain', + 'One', + 'Groove is in the Heart', + "Gimme Some Lovin'", + 'Beautiful Day', + 'Escape (The Pina Colada Song)', + 'Use Somebody', + 'Fortunate Son', + 'Afternoon Delight', + "Love's Theme", + 'Sailing', + 'Cherry Pink & Apple Blossom White', + 'Georgy Girl', + 'How to Save a Life', + 'I Walk the Line', + 'All You Need is Love', + "U Can't Touch This", + 'All Out of Love', + 'Where is the Love?', + 'Revolution', + 'The Love You Save', + 'Black Or White', + 'This Used to Be My Playground', + 'Living For the City', + "School's Out", + 'Disturbia', + 'Riders On the Storm', + 'Some Enchanted Evening', + 'Weak', + 'Maneater', + 'More Than Words', + 'Time of the Season', + "Mrs Brown You've Got a Lovely Daughter", + 'If You Leave Me Now', + "Can't Get Enough of Your Love", + 'Na Na Hey Hey (Kiss Him Goodbye)', + 'Mr Brightside', + 'Black Velvet', + "I'm Yours", + 'My Blue Heaven', + 'It Had to Be You', + 'Tha Crossroads', + 'Ac-cent-tchu-ate the Positive', + 'Everyday People', + 'We Are Young', + 'Take Me Home', + 'Smoke! Smoke! Smoke! (That Cigarette)', + 'In the Summertime', + 'The Tracks of My Tears', + 'Fly Robin Fly', + 'Love is a Many Splendoured Thing', + 'Another Night', + 'Long Tall Sally', + 'You Sexy Thing', + 'The Morning After', + 'The Loco-Motion', + 'Get Off of My Cloud', + 'Roses Are Red', + 'Thank You (Falettinme be Mice Elf Again)', + 'Slow Poke', + 'You Belong With Me', + "Stormy Weather (Keeps Rainin' All the Time)", + "Ain't No Mountain High Enough", + "Auf Wiederseh'n Sweetheart", + 'Beauty & the Beast', + 'St Louis Blues', + 'Peggy Sue', + 'U Got it Bad', + 'Sweet Caroline (Good Times Never Seemed So Good)', + 'Wedding Bell Blues', + 'Freebird', + 'Jump', + 'Wipe Out', + 'California Girls', + 'Being With You', + "Makin' Whoopee", + 'My Love', + 'Shop Around', + 'Smoke On the Water', + 'Hungry Heart', + "That's Amore", + 'My Life', + "Brandy (You're A Fine Girl)", + "Walk Don't Run", + "Surfin' USA", + "Ball of Confusion (That's What the World is Today)", + 'Sunshine Superman', + 'Frankenstein', + 'Kiss You All Over', + 'Wishing Well', + 'Piano Man', + 'Ben', + 'In the Ghetto', + 'Hang On Sloopy', + 'Singing The Blues', + 'Cry Like a Baby', + 'I Honestly Love You', + 'Brother', + "Lookin' Out My Back Door", + 'Candy Man', + 'Burn', + 'Stagger Lee', + 'Moonlight Cocktail', + 'Coming Up', + 'Pop Muzik', + 'As Time Goes By', + 'My Eyes Adored You', + 'Strawberry Fields Forever', + 'Some of These Days', + 'I Think I Love You', + 'Judy in Disguise (With Glasses)', + 'All Along the Watchtower', + 'A Thousand Miles', + 'Fast Car', + 'Red Red Wine', + 'Live & Let Die', + 'Come On Eileen', + 'Right Back Where We Started From', + 'Brother Louie', + "Ol' Man River", + 'Band On the Run', + 'Rich Girl', + 'Green River', + 'Got to Give it Up', + 'Behind Closed Doors', + "Don't Go Breaking My Heart", + "I'm Looking Over a Four Leaf Clover", + 'Mr Big Stuff', + 'Tiger Rag', + 'Kryptonite', + 'Hey Paula', + 'Go Your Own Way', + 'Big Bad John', + 'Wake Me Up Before You Go Go', + 'Tangerine', + 'Wayward Wind', + 'Disco Lady', + 'Spanish Harlem', + 'Wicked Game', + 'Rosanna', + "Papa Don't Preach", + 'Somebody to Love', + 'Kokomo', + 'Manana (Is Soon Enough For Me)', + "Puttin' on the Ritz", + 'One More Try', + "I'll Walk Alone", + 'Shout', + 'Woman', + 'Ballerina', + 'We Built This City', + '19th Nervous Breakdown', + 'Working My Way Back to You', + 'Superstar', + 'Foolish Games', + 'Get Down Tonight', + 'On Bended Knee', + 'Magic Carpet Ride', + 'Only You (And You Alone)', + 'A String of Pearls', + 'A Tree in the Meadow', + 'So Much in Love', + 'Every Little Thing She Does is Magic', + 'La Bamba', + 'Tighten Up', + 'Three Times a Lady', + 'Airplanes', + 'Wild Thing', + "Don't Leave Me This Way", + 'Rock the Casbah', + 'Feel Good Inc', + 'Love Me Do', + 'Kiss On My List', + 'Give Me Everything', + 'Have You Ever Really Loved a Woman?', + 'Love Letters in the Sand', + 'Ring My Bell', + 'Love Child', + 'I Feel For You', + 'Bye', + '(Let Me Be Your) Teddy Bear', + 'Soldier Boy', + "Papa's Got a Brand New Bag", + 'Love Hangover', + 'Venus', + 'Spill the Wine', + 'Royals', + 'April Showers', + "Don't You (Forget About Me)", + "Travellin' Man", + 'The Thing', + 'You Make Me Feel Brand New', + 'The Glow-Worm', + "You Don't Bring Me Flowers", + 'Summertime Blues', + 'Straight Up', + 'Sunday', + 'Wake Up Little Susie', + "She's a Lady", + 'Over There', + "Little Darlin'", + 'Rag Mop', + 'Shake Down', + 'Up Around the Bend', + 'Harbour Lights', + 'Chances Are', + 'Mood Indigo', + 'Pony Time', + "After You've Gone", + 'I Wanna Love You', + 'Da Doo Ron Ron (When He Walked Me Home)', + "If You Don't Know Me By Now", + 'Green Tambourine', + 'My Man', + "If I Didn't Care", + 'St George & the Dragonette', + "Why Don't You Believe Me?", + 'How Will I Know', + 'Disco Duck', + 'Lonely Boy', + 'Never Gonna Give You Up', + 'Before The Next Teardrop Falls', + 'Running Scared', + "Let's Hear it For the Boy", + 'Sleep Walk', + 'Walk On the Wild Side', + 'Memories Are Made of This', + 'Open Arms', + 'Stuck On You', + 'Personality', + 'Feel Like Making Love', + 'Stars & Stripes Forever', + 'Besame Mucho', + 'Let Me Call You Sweetheart', + 'La Bamba', + 'Indian Reservation (The Lament Of The Cherokee Reservation Indian)', + 'Cars', + 'You Make Me Feel Like Dancing', + 'Whatcha Say', + 'Me & Mrs Jones', + 'Bitter Sweet Symphony', + 'Uncle Albert (Admiral Halsey)', + 'More Than a Feeling', + "My Boyfriend's Back", + 'People', + "He'll Have to Go", + 'I Can Help', + 'The Streak', + 'Dreams', + 'Hair', + 'Cold', + "Nothin' on You", + 'The End of the World', + 'Caldonia Boogie (What Makes Your Big Head So Hard)', + 'I Kissed A Girl', + 'Incense & Peppermints', + '12th Street Rag', + 'West End Blues', + 'The Way You Move', + 'Smoke Gets in Your Eyes', + 'Want Ads', + 'Long Cool Woman in a Black Dress', + 'Hey Baby', + '(Your Love Keeps Lifting Me) Higher & Higher', + "He's a Rebel", + 'Alone', + 'Thrift Shop', + "Don't Let the Sun Go Down On Me", + 'The Sweet Escape', + 'Return to Sender', + 'Here in My Heart', + 'Wabash Cannonball', + "Ain't That a Shame", + "Travellin' Band", + "I'm Your Boogie Man", + 'I Write the Songs', + 'This Love', + 'Lights', + 'Will It Go Round In Circles', + 'Purple Haze', + 'Rock Your Baby', + 'Delicado', + 'Tammy', + 'Check On It', + 'Breaking Up is Hard to Do', + '1999', + 'Prisoner of Love', + 'Wild Wild West', + 'Walk Like a Man', + "Ain't No Mountain High Enough", + 'I Will Follow Him', + 'Glamorous', + 'Yellow Rose of Texas', + 'That Old Black Magic', + "I'm So Lonesome I Could Cry", + 'Up Up & Away', + 'Baby Come Back', + 'Let it Snow! Let it Snow! Let it Snow!', + 'Pon De Replay', + 'Because I Love You (The Postman Song)', + 'Sleepy Lagoon', + 'Baker Street', + 'Dardanella', + "You Don't Have to Be a Star (To Be in My Show)", + 'Leaving', + 'Glory of Love', + "Theme From 'Greatest American Hero' (Believe It Or Not)", + 'Shake You Down', + 'Ole Buttermilk Sky', + "I Can't Get Started", + 'Freak Me', + 'Hot Child In The City', + 'Man in the Mirror', + 'Queen of Hearts', + "Let's Groove", + 'Change the World', + 'You make Me Wanna', + 'Someday', + 'Eve of Destruction', + 'One of Us', + 'Honky Tonk', + 'Be Bop a Lula', + 'Two Hearts', + 'Paper Planes', +]; diff --git a/src/modules/music/index.ts b/src/modules/music/index.ts index a34a4bb8356..ba051524668 100644 --- a/src/modules/music/index.ts +++ b/src/modules/music/index.ts @@ -23,4 +23,16 @@ export class Music { genre(): string { return this.faker.helpers.arrayElement(this.faker.definitions.music.genre); } + + /** + * Returns a random song name. + * + * @example + * faker.music.songName() // 'White Christmas' + */ + songName(): string { + return this.faker.helpers.arrayElement( + this.faker.definitions.music.song_name + ); + } } diff --git a/test/music.spec.ts b/test/music.spec.ts index 3fa51b8eaeb..561ddf02f5a 100644 --- a/test/music.spec.ts +++ b/test/music.spec.ts @@ -8,6 +8,9 @@ const seededRuns = [ genre: { noArgs: 'Country', }, + songName: { + noArgs: 'Only The Lonely (Know The Way I Feel)', + }, }, }, { @@ -16,6 +19,9 @@ const seededRuns = [ genre: { noArgs: 'Folk', }, + songName: { + noArgs: 'Turn! Turn! Turn! (To Everything There is a Season)', + }, }, }, { @@ -24,11 +30,14 @@ const seededRuns = [ genre: { noArgs: 'Non Music', }, + songName: { + noArgs: 'The End of the World', + }, }, }, ]; -const functionNames = ['genre']; +const functionNames = ['genre', 'songName']; const NON_SEEDED_BASED_RUN = 5; @@ -64,6 +73,16 @@ describe('music', () => { expect(faker.definitions.music.genre).toContain(genre); }); }); + + describe('songName()', () => { + it('returns a random song name', () => { + const songName = faker.music.songName(); + + expect(songName).toBeTruthy(); + expect(songName).toBeTypeOf('string'); + expect(faker.definitions.music.song_name).toContain(songName); + }); + }); } }); });