graphbrainz/test/extensions/the-audio-db/snapshots/schema.js.md
Brian Beck f095cd4de7
Modernize dependencies, syntax, imports (#93)
* wip: Modernize dependencies, syntax, imports

* Use final release of ava-nock v2

* Update Travis config

* Remove Node 13 from test matrix

* Replace errorClass with parseErrorMessage in subclasses

* define exports, apply updated lint rules

* Remove markdown eslint plugin

* Update README

* v9.0.0-beta.1

* Add gql tag to exports

* v9.0.0-beta.2

* Bump ava-nock, add test

* Update dataloader loadMany usage

* Add modules note to README

* Add retry option to got calls
2021-04-15 21:34:29 -07:00

16 KiB
Raw Permalink Blame History

Snapshot report for test/extensions/the-audio-db/schema.js

The actual snapshot is saved in schema.js.snap.

Generated by AVA.

artists have a theAudioDB field

Snapshot 1

{
  lookup: {
    artist: {
      theAudioDB: {
        artistID: '111319',
        banner: 'https://www.theaudiodb.com/images/media/artist/banner/wppvrr1365966313.jpg',
        bannerPreview: 'https://www.theaudiodb.com/images/media/artist/banner/wppvrr1365966313.jpg/preview',
        biography: `Nirvana was an American rock band that was formed by singer and guitarist Kurt Cobain and bassist Krist Novoselic in Aberdeen, Washington, in 1987. Nirvana went through a succession of drummers, the longest-lasting being Dave Grohl, who joined the band in 1990. Despite releasing only three full-length studio albums in their seven-year career, Nirvana has come to be regarded as one of the most influential and important rock bands of the modern era.␊
        In the late 1980s Nirvana established itself as part of the Seattle grunge scene, releasing its first album Bleach for the independent record label Sub Pop in 1989. The band eventually came to develop a sound that relied on dynamic contrasts, often between quiet verses and loud, heavy choruses. After signing to major label DGC Records, Nirvana found unexpected success with "Smells Like Teen Spirit", the first single from the band's second album Nevermind (1991). Nirvana's sudden success widely popularized alternative rock as a whole, and the band's frontman Cobain found himself referred to in the media as the "spokesman of a generation", with Nirvana being considered the "flagship band" of Generation X. In response, Nirvana's third studio album, In Utero (1993), featured an abrasive, less-mainstream sound and challenged the group's audience. The album did not match the sales figures of Nevermind, but was still a commercial success and critically acclaimed.␊
        Nirvana's brief run ended following the death of Kurt Cobain in 1994, but various posthumous releases have been issued since, overseen by Novoselic, Grohl, and Cobain's widow Courtney Love. Since its debut, the band has sold over 25 million records in the United States alone, and over 75 million records worldwide, making them one of the best-selling bands of all time. Nirvana was inducted into the Rock and Roll Hall of Fame in 2014, in its first year of eligibility.`,
        biographyJP: `ニルヴァーナ (Nirvana) は、アメリカのバンド。1980年代終盤にシーンに出現し、1994年のカート自殺による活動停止までの数年に亘って、全世界の若者世代の圧倒的な支持を受けた。彼の死亡後も世界中のミュージシャンに多大な影響を与え続けている。単語「ニルヴァーナ」には、仏教用語の涅槃の境地という意味合いと「生け贄」という意味合いがある。␊
        「スメルズ・ライク・ティーン・スピリット」の爆発的ヒットによりバンドは一気に有名になり、1990年代以降のロックに絶大な影響を与え、しばしばオルタナティヴ・ロックシーンにおいて『ニルヴァーナ以降』という言い方をされる。␊
        全世界でのトータルセールスは、約7500万枚[1][2]。␊
        「ローリング・ストーンの選ぶ歴史上最も偉大な100組のアーティスト」において第30位。`,
        fanArt: [
          'https://www.theaudiodb.com/images/media/artist/fanart/nirvana-4ddaf131354a8.jpg',
          'https://www.theaudiodb.com/images/media/artist/fanart/ussvpr1342344599.jpg',
          'https://www.theaudiodb.com/images/media/artist/fanart/uusxqw1342344614.jpg',
        ],
        fanArtPreview: [
          'https://www.theaudiodb.com/images/media/artist/fanart/nirvana-4ddaf131354a8.jpg/preview',
          'https://www.theaudiodb.com/images/media/artist/fanart/ussvpr1342344599.jpg/preview',
          'https://www.theaudiodb.com/images/media/artist/fanart/uusxqw1342344614.jpg/preview',
        ],
        genre: 'Rock',
        logo: 'https://www.theaudiodb.com/images/media/artist/logo/swsxst1531993263.png',
        logoPreview: 'https://www.theaudiodb.com/images/media/artist/logo/swsxst1531993263.png/preview',
        memberCount: 3,
        mood: 'Sad',
        style: 'Rock/Pop',
        thumbnail: 'https://www.theaudiodb.com/images/media/artist/thumb/ryppyp1363124444.jpg',
        thumbnailPreview: 'https://www.theaudiodb.com/images/media/artist/thumb/ryppyp1363124444.jpg/preview',
      },
    },
  },
}

release groups have a theAudioDB field

Snapshot 1

{
  lookup: {
    releaseGroup: {
      theAudioDB: {
        albumID: '2162908',
        artistID: '111492',
        backImage: 'https://www.theaudiodb.com/images/media/album/thumbback/vyqvvx1535103595.jpg',
        backImagePreview: 'https://www.theaudiodb.com/images/media/album/thumbback/vyqvvx1535103595.jpg/preview',
        description: `Random Access Memories is the upcoming fourth studio album by French electronic music duo Daft Punk. It will be released by Daft Life under exclusive license to Columbia Records on May 17, 2013 in Australia, May 20, 2013 in the United Kingdom and on May 21, 2013 in the United States. Work started on the record concurrently with the Tron: Legacy score, without a clear plan as to what its structure would be. Shortly after Daft Punk signed with Columbia, a gradual promotional rollout began for the album including billboards, television advertising and a web series.␊
        Random Access Memories pays tribute to the late 1970s and early 80s era of music in the United States, particularly the sound of Los Angeles recordings of the period. Daft Punk recorded the album largely using live instrumentation with session musicians, and limited the use of electronics to drum machines, a modular synthesizer and vintage vocoders. The album also features collaborations with Panda Bear, Julian Casablancas, Todd Edwards, DJ Falcon, Chilly Gonzales, Giorgio Moroder, Nile Rodgers, Paul Williams and Pharrell Williams. Critical reception to the album has generally been positive.`,
        descriptionES: `Random Access Memories es el cuarto álbum de estudio del dúo francés Daft Punk. Fue lanzado oficialmente el 17 de mayo en Australia, lanzado después en el Reino Unido el 20 de mayo y para Estados Unidos el 21 de mayo de 2013, bajo licencia de Daft Life. El inicio de grabación de este disco inició cuando el dúo preparaba el soundtrack de la película Tron: Legacy, sin un plan claro en cuanto a lo que sería su estructura. Después de haber anunciado su nuevo contrato con Columbia Records, Daft Punk empezó a promocionar el nuevo álbum con cartéles, anuncios televisivos y series para internet.␊
        ␊
        Random Access Memories hace un tributo a la música estadounidense de la época de los 1970s y la primera parte de los 1980s, particularmente al sonido de Los Ángeles durante esa época. Daft Punk grabó el álbum en gran parte con orquesta en vivo con sesiónes musicales y con un uso limitado de máquinas de percusión, sintetizador modular, y con una vendimia de vocoders. El álbum contiene un gran número de colaboradores, entre ellos se destácan: Panda Bear, Chilly Gonzales, DJ Falcon, Julian Casablancas, Todd Edwards, Paul Williams, Pharrell Williams, Nile Rodgers y Ghallmarck. El álbum fue recibido con críticas positivas.␊
        ␊
        Durante la primera mitad de 2013, vendió 614 000 copias en los Estados Unidos, donde se convirtió en el décimo álbum más vendido durante dicho periodo.`,
        discImage: 'https://www.theaudiodb.com/images/media/album/cdart/random-access-memories-5194a5974107d.png',
        discImagePreview: 'https://www.theaudiodb.com/images/media/album/cdart/random-access-memories-5194a5974107d.png/preview',
        frontImage: 'https://www.theaudiodb.com/images/media/album/thumb/random-access-memories-51764651042e5.jpg',
        frontImagePreview: 'https://www.theaudiodb.com/images/media/album/thumb/random-access-memories-51764651042e5.jpg/preview',
        genre: 'House',
        mood: 'Happy',
        review: `What has been will be again, what has been done will be done again; there is nothing new under the sun.” So said the Preacher of Ecclesiastes. And he said it two and a half thousand years ago, which puts people moaning about things sounding like the 80s into perspective.␊
        ␊
        Its rare to hear a record that doesnt sound like anything youve ever heard, and rarer still to hear one that also puts a smile on your face. How many great bands turn their backs on putting out the same old shit only to release records so calculatingly out there they feel like maths homework? They forget this is supposed to be FUN. Yeah, Radiohead, Im talking to you.␊
        ␊
        Daft Punk have enjoyed near-universal acclaim over 20 years and three albums but Random Access Memories is their greatest achievement: an ambitious masterpiece you cant imagine being made by anyone other than Thomas Bangalter and Guy-Manuel de Homem-Christo.␊
        ␊
        Opener Give Life Back To Music sets the tone with guitars that wouldnt have sounded out of place on Giorgio Moroders Top Gun score. It features Chics Nile Rodgers and Paul Jackson Jr, who played on Thriller, so its as funky as youd expect. The sound of a happy crowd gurgles in the background. The partys right here.␊
        ␊
        The Game Of Love slips into a slower tempo, as a melancholy android discovers heartbreak. The record is loosely themed around a robots attempt to become human, and if he needs a guide who better than the producer who gave us Donna Summers I Feel Love? Giorgio By Moroder is a documentary of sorts, in which the titular hero narrates his life story. When he describes the beginnings of the disco beat, we hear an insistent click track. When he tells us that when we create art there are no rules, the music proves him right. Its a life-affirming salute to the power of the imagination.␊
        ␊
        After this, theres a sea change. Chilly Gonzales plays a 45-second piano solo that takes us into Within, marking the transition from the first three tracks. This is a record thats been painstakingly slaved over. The track itself is restrained, as our robot protagonist begins to realise just how much hes yet to understand.␊
        ␊
        Hell be hard-pressed to catch all of Julian Casablancas quickfire lyrics on Instant Crush, an instant nightclub anthem. Lose Yourself To Dance is paired with Get Lucky, representing the albums poppiest moments and featuring the dream team of Nile Rodgers and Pharrell Williams. Sitting between the two is the records startling centrepiece, Touch. Paul Williams might be best known as a composer for the Muppets, but Daft Punk love him best as Swan, the villainous antihero of operatic horror film Phantom Of The Paradise. His background in psychedelic storytelling is put to use on an eight-minute epic that changes shape every time you draw breath.␊
        ␊
        Beyond is another melancholy-hearted collaboration with Paul Williams. Motherboard is a long, spacey instrumental that sounds as if its somehow melting. Fragments Of Time is a further glorious high in which Todd Edwards describes his time in LA and makes you feel like youre driving a fast car down the west coast of the USA. Doin It Right features Panda Bear of Animal Collective and is the albums most forward-looking moment; closing track Contact is a DJ Falcon collaboration, and an example of pure musical adrenalin.␊
        ␊
        By assembling a cast of their favourite musicians and delving into their adolescent memories, Daft Punk have created something as emotionally honest as any singer-songwriter confessional  and a lot more fun to dance to. Go out and rejoice: theres something new under the sun.␊
        ␊
        https://www.nme.com/reviews/daft-punk/14423␊
        `,
        salesCount: 0,
        score: 8.7,
        scoreVotes: 6,
        speed: 'Medium',
        spineImage: null,
        spineImagePreview: null,
        style: 'Electronic',
        theme: null,
      },
    },
  },
}

recordings have a theAudioDB field

Snapshot 1

{
  lookup: {
    recording: {
      theAudioDB: {
        albumID: '2284335',
        artistID: '131613',
        description: `"Despacito" (American Spanish: ; English: "Slowly") is a single by Puerto Rican singer Luis Fonsi featuring Puerto Rican rapper Daddy Yankee from Fonsi's upcoming studio album. On January 12, 2017, Universal Music Latin released "Despacito" and its music video, which shows both artists performing the song in La Perla neighborhood of Old San Juan, Puerto Rico and the local bar La Factoría. The song's music video is the first video to reach over three billion views on YouTube. The song was written by Luis Fonsi, Erika Ender and Daddy Yankee, and was produced by Andrés Torres and Mauricio Rengifo.␊
        ␊
        It is a reggaeton-pop song composed in common time with lyrics about having a sexual relationship, performed in a smooth and romantic way. Commercially, the song topped the charts of 47 countries and reached the top 10 of ten others, making it both Fonsi and Daddy Yankee's most successful single to date. It became the first song primarily in Spanish to top the Billboard Hot 100 since "Macarena" (Bayside Boys Mix) in 1996. The official video for "Despacito" on YouTube received its 1 billionth view on April 20, 2017 after 97 days, becoming the second-fastest video on the site to reach the milestone -- behind Adele's "Hello". It received its 2 billionth view on June 16 and its 3 billionth view on August 4 after 154 and 204 days, respectively, making it the fastest video on the site to reach both milestones. With its 3.3 million certified sales plus track-equivalent streams, "Despacito" is one of the best-selling Latin singles in the United States.`,
        descriptionES: null,
        genre: 'Latin',
        mood: 'Sensual',
        musicVideo: {
          commentCount: 3861412,
          companyName: null,
          directorName: 'Carlos Pérez',
          dislikeCount: 4879174,
          likeCount: 42062311,
          screenshots: [
            'https://www.theaudiodb.com/images/media/track/mvidscreen/qpxuvy1529928526.jpg',
            'https://www.theaudiodb.com/images/media/track/mvidscreen/tqupsr1529928533.jpg',
            'https://www.theaudiodb.com/images/media/track/mvidscreen/qtrtvr1529928541.jpg',
          ],
          screenshotsPreview: [
            'https://www.theaudiodb.com/images/media/track/mvidscreen/qpxuvy1529928526.jpg/preview',
            'https://www.theaudiodb.com/images/media/track/mvidscreen/tqupsr1529928533.jpg/preview',
            'https://www.theaudiodb.com/images/media/track/mvidscreen/qtrtvr1529928541.jpg/preview',
          ],
          url: 'https://www.youtube.com/watch?v=kJQP7kiw5Fk',
          viewCount: 7144816552,
        },
        score: 10,
        scoreVotes: 7,
        style: 'Latin',
        theme: 'In Love',
        thumbnail: 'https://www.theaudiodb.com/images/media/track/thumb/vqqpry1506425784.jpg',
        thumbnailPreview: 'https://www.theaudiodb.com/images/media/track/thumb/vqqpry1506425784.jpg/preview',
        trackID: '34838814',
        trackNumber: 1,
      },
    },
  },
}