Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add attaching the lyrics #38

Closed
usmanovbf opened this issue Oct 6, 2022 · 1 comment
Closed

Add attaching the lyrics #38

usmanovbf opened this issue Oct 6, 2022 · 1 comment

Comments

@usmanovbf
Copy link

usmanovbf commented Oct 6, 2022

Hello! Thank you for your great software.
It would be great if you attach the lyrics to the audio metadata. Lyrics are accessible from the track handler API path in the JSON response. For example,
https://music.yandex.ru/handlers/track.jsx?track=46402425%3A6255689&lang=ru&external-domain=music.yandex.ru&overembed=false&ncrnd=0.7224647013686882 hast the lyric attribute

{
  "counter": 1,
  "artists": [
    {
      "id": "5054100",
      "name": "Дайте танк (!)",
      "various": false,
      "composer": false,
      "cover": {
        "type": "from-artist-photos",
        "uri": "avatars.yandex.net/get-music-content/2480468/6537dc4f.p.5054100/%%",
        "prefix": "6537dc4f.p.5054100/"
      },
      "ogImage": "avatars.yandex.net/get-music-content/2480468/6537dc4f.p.5054100/%%",
      "noPicturesFromSearch": true,
      "genres": [
        "local-indie"
      ],
      "counts": {
        "tracks": 108,
        "directAlbums": 18,
        "alsoAlbums": 2,
        "alsoTracks": 2
      },
      "available": true,
      "ratings": {
        "week": 78,
        "month": 103,
        "day": 72
      },
      "links": [
        {
          "title": "daitetank.ru",
          "href": "http://daitetank.ru/",
          "type": "official"
        },
        {
          "title": "channel/UCqJ2L80I0pFEl1WZWZYklzw",
          "href": "https://www.youtube.com/channel/UCqJ2L80I0pFEl1WZWZYklzw",
          "type": "social",
          "socialNetwork": "youtube"
        },
        {
          "title": "daitetank",
          "href": "https://vk.com/daitetank",
          "type": "social",
          "socialNetwork": "vk"
        }
      ],
      "ticketsAvailable": false
    }
  ],
  "aliases": [],
  "otherVersions": {},
  "similarTracks": [
    {
      "id": "85647597",
      "realId": "85647597",
      "title": "Двадцать",
      "major": {
        "id": 1,
        "name": "UNIVERSAL_MUSIC"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 215260,
      "fileSize": 0,
      "r128": {
        "i": -9.6,
        "tp": 0.06
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 3836355,
          "name": "Shortparis",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-artist-photos",
            "uri": "avatars.yandex.net/get-music-content/2397565/0ee820d0.p.3836355/%%",
            "prefix": "0ee820d0.p.3836355/"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 16375345,
          "title": "Яблонный сад",
          "metaType": "music",
          "contentWarning": "explicit",
          "year": 2021,
          "releaseDate": "2021-06-24T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/5235336/ec72931b.a.16375345-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/5235336/ec72931b.a.16375345-1/%%",
          "genre": "local-indie",
          "trackCount": 11,
          "likesCount": 2215,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 3836355,
              "name": "Shortparis",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-artist-photos",
                "uri": "avatars.yandex.net/get-music-content/2397565/0ee820d0.p.3836355/%%",
                "prefix": "0ee820d0.p.3836355/"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 448618,
              "name": "Universal Music"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [
            85647594,
            81733102,
            85647597
          ],
          "trackPosition": {
            "volume": 1,
            "index": 8
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/5235336/ec72931b.a.16375345-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/5235336/ec72931b.a.16375345-1/%%",
      "lyricsAvailable": true,
      "type": "music",
      "rememberPosition": false,
      "backgroundVideoUri": "https://strm.yandex.ru/vh-music-videoshots-converted/vod-content/8999043040986813294/mp4/mp4/360x640p.mp4",
      "trackSharingFlag": "VIDEO_ALLOWED",
      "playerId": "vxVMOXpfkwB4",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": true,
        "hasAvailableTextLyrics": true
      },
      "trackSource": "OWN"
    },
    {
      "id": "102412676",
      "realId": "102412676",
      "title": "Еду к тебе",
      "major": {
        "id": 298,
        "name": "REPOST"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 181490,
      "fileSize": 0,
      "r128": {
        "i": -9.51,
        "tp": -0.88
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 9160246,
          "name": "Митя Крылов",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-artist-photos",
            "uri": "avatars.yandex.net/get-music-content/2806365/15cc716b.p.9160246/%%",
            "prefix": "15cc716b.p.9160246/"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 21734625,
          "title": "НОМЕР ДВА",
          "metaType": "music",
          "contentWarning": "explicit",
          "year": 2022,
          "releaseDate": "2022-03-12T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/5503671/cf830468.a.21734625-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/5503671/cf830468.a.21734625-1/%%",
          "genre": "alternative",
          "trackCount": 5,
          "likesCount": 3,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 9160246,
              "name": "Митя Крылов",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-artist-photos",
                "uri": "avatars.yandex.net/get-music-content/2806365/15cc716b.p.9160246/%%",
                "prefix": "15cc716b.p.9160246/"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 2257091,
              "name": "Митя Крылов"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [],
          "trackPosition": {
            "volume": 1,
            "index": 2
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/5503671/cf830468.a.21734625-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/5503671/cf830468.a.21734625-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "COVER_ONLY",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": false,
        "hasAvailableTextLyrics": false
      },
      "trackSource": "OWN"
    },
    {
      "id": "49376183",
      "realId": "49376183",
      "title": "Всех сдал",
      "major": {
        "id": 123,
        "name": "IRICOM"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 169950,
      "fileSize": 0,
      "r128": {
        "i": -7.91,
        "tp": 0.32
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 2816301,
          "name": "МОРЭ&РЭЛЬСЫ",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-album-cover",
            "uri": "avatars.yandex.net/get-music-content/5587254/82736828.a.20153296-1/%%",
            "prefix": "82736828.a.20153296-1"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 6776583,
          "title": "Ломая суть демо (ЛСД)",
          "metaType": "music",
          "year": 2018,
          "releaseDate": "2018-11-06T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/108289/7f673d54.a.6776583-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/108289/7f673d54.a.6776583-1/%%",
          "genre": "local-indie",
          "trackCount": 11,
          "likesCount": 2,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 2816301,
              "name": "МОРЭ&РЭЛЬСЫ",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-album-cover",
                "uri": "avatars.yandex.net/get-music-content/5587254/82736828.a.20153296-1/%%",
                "prefix": "82736828.a.20153296-1"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 490803,
              "name": "Первое музыкальное"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [
            49376179,
            49376182
          ],
          "trackPosition": {
            "volume": 1,
            "index": 7
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/108289/7f673d54.a.6776583-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/108289/7f673d54.a.6776583-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "VIDEO_ALLOWED",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": false,
        "hasAvailableTextLyrics": false
      },
      "trackSource": "OWN"
    },
    {
      "id": "39541761",
      "realId": "39541761",
      "title": "когда?",
      "major": {
        "id": 87,
        "name": "BELIEVE_DIGITAL"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 225220,
      "fileSize": 0,
      "r128": {
        "i": -8.7,
        "tp": 0.19
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 5364444,
          "name": "источник",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-artist-photos",
            "uri": "avatars.yandex.net/get-music-content/2373979/9ce3c23f.p.5364444/%%",
            "prefix": "9ce3c23f.p.5364444/"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 5106602,
          "title": "Когда?",
          "type": "single",
          "metaType": "music",
          "year": 2018,
          "releaseDate": "2018-02-23T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/149669/cb1c252e.a.5106602-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/149669/cb1c252e.a.5106602-1/%%",
          "genre": "punk",
          "trackCount": 1,
          "likesCount": 104,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 5364444,
              "name": "источник",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-artist-photos",
                "uri": "avatars.yandex.net/get-music-content/2373979/9ce3c23f.p.5364444/%%",
                "prefix": "9ce3c23f.p.5364444/"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 2279821,
              "name": "❀USTO4NUK❀"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [],
          "trackPosition": {
            "volume": 1,
            "index": 1
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/149669/cb1c252e.a.5106602-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/149669/cb1c252e.a.5106602-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "COVER_ONLY",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": true,
        "hasAvailableTextLyrics": true
      },
      "trackSource": "OWN"
    },
    {
      "id": "101011111",
      "realId": "101011111",
      "title": "Убегай",
      "contentWarning": "explicit",
      "major": {
        "id": 123,
        "name": "IRICOM"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 280000,
      "fileSize": 0,
      "r128": {
        "i": -11.02,
        "tp": -0.19
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 13191077,
          "name": "Извините за опоздание",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-artist-photos",
            "uri": "avatars.yandex.net/get-music-content/5485872/5767e62f.p.13191077/%%",
            "prefix": "5767e62f.p.13191077/"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 21261469,
          "title": "Грустно",
          "metaType": "music",
          "contentWarning": "explicit",
          "year": 2022,
          "releaseDate": "2022-02-18T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/5531900/c39eebe7.a.21261469-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/5531900/c39eebe7.a.21261469-1/%%",
          "genre": "rusrock",
          "trackCount": 7,
          "likesCount": 56,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 13191077,
              "name": "Извините за опоздание",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-artist-photos",
                "uri": "avatars.yandex.net/get-music-content/5485872/5767e62f.p.13191077/%%",
                "prefix": "5767e62f.p.13191077/"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 1220958,
              "name": "Vauvision"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [
            101011109,
            101011115
          ],
          "trackPosition": {
            "volume": 1,
            "index": 4
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/5531900/c39eebe7.a.21261469-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/5531900/c39eebe7.a.21261469-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "VIDEO_ALLOWED",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": false,
        "hasAvailableTextLyrics": false
      },
      "trackSource": "OWN"
    },
    {
      "id": "2291868",
      "realId": "2291868",
      "title": "P.R.",
      "major": {
        "id": 87,
        "name": "BELIEVE_DIGITAL"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 195130,
      "fileSize": 0,
      "r128": {
        "i": -8.34,
        "tp": 0.21
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 454163,
          "name": "Leut Magnetik",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-album-cover",
            "uri": "avatars.yandex.net/get-music-content/118603/ada67bc6.a.7738131-1/%%",
            "prefix": "ada67bc6.a.7738131-1"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 227183,
          "title": "Leut Magnetik",
          "metaType": "music",
          "year": 2005,
          "releaseDate": "2005-01-01T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/34131/5b367d16.a.227183-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/34131/5b367d16.a.227183-1/%%",
          "genre": "folk",
          "trackCount": 11,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 454163,
              "name": "Leut Magnetik",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-album-cover",
                "uri": "avatars.yandex.net/get-music-content/118603/ada67bc6.a.7738131-1/%%",
                "prefix": "ada67bc6.a.7738131-1"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 19306,
              "name": "Aquarius"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [],
          "trackPosition": {
            "volume": 1,
            "index": 6
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/34131/5b367d16.a.227183-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/34131/5b367d16.a.227183-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "COVER_ONLY",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": false,
        "hasAvailableTextLyrics": false
      },
      "trackSource": "OWN"
    },
    {
      "id": "92471336",
      "realId": "92471336",
      "title": "Пластилин",
      "major": {
        "id": 143,
        "name": "FRESH_TUNES"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 156980,
      "fileSize": 0,
      "r128": {
        "i": -6.27,
        "tp": -0.11
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 8497052,
          "name": "ZeNoir",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-album-cover",
            "uri": "avatars.yandex.net/get-music-content/5587254/6dfc3d90.a.21060806-1/%%",
            "prefix": "6dfc3d90.a.21060806-1"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 18531931,
          "title": "Пластилин",
          "metaType": "music",
          "year": 2021,
          "releaseDate": "2021-09-27T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/5559490/98b9bce8.a.18531931-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/5559490/98b9bce8.a.18531931-1/%%",
          "genre": "indie",
          "trackCount": 4,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 8497052,
              "name": "ZeNoir",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-album-cover",
                "uri": "avatars.yandex.net/get-music-content/5587254/6dfc3d90.a.21060806-1/%%",
                "prefix": "6dfc3d90.a.21060806-1"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 3707682,
              "name": "Magnitofon Music"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [],
          "trackPosition": {
            "volume": 1,
            "index": 1
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/5559490/98b9bce8.a.18531931-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/5559490/98b9bce8.a.18531931-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "COVER_ONLY",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": false,
        "hasAvailableTextLyrics": false
      },
      "trackSource": "OWN"
    },
    {
      "id": "104667761",
      "realId": "104667761",
      "title": "Будем гулять всю ночь",
      "major": {
        "id": 308,
        "name": "ONERPM"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 250180,
      "fileSize": 0,
      "r128": {
        "i": -4.52,
        "tp": 0.78
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 13942057,
          "name": "Письмо на Марс",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-album-cover",
            "uri": "avatars.yandex.net/get-music-content/6255016/3a207191.a.23613443-1/%%",
            "prefix": "3a207191.a.23613443-1"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 22556892,
          "title": "Будем гулять всю ночь",
          "type": "single",
          "metaType": "music",
          "year": 2022,
          "releaseDate": "2022-06-06T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/6296749/da379867.a.22556892-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/6296749/da379867.a.22556892-1/%%",
          "genre": "alternative",
          "trackCount": 1,
          "likesCount": 1,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 13942057,
              "name": "Письмо на Марс",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-album-cover",
                "uri": "avatars.yandex.net/get-music-content/6255016/3a207191.a.23613443-1/%%",
                "prefix": "3a207191.a.23613443-1"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 3984470,
              "name": "Письмо на Марс"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [],
          "trackPosition": {
            "volume": 1,
            "index": 1
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/6296749/da379867.a.22556892-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/6296749/da379867.a.22556892-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "COVER_ONLY",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": false,
        "hasAvailableTextLyrics": false
      },
      "trackSource": "OWN"
    },
    {
      "id": "42834874",
      "realId": "42834874",
      "title": "Кто я такой",
      "major": {
        "id": 123,
        "name": "IRICOM"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 188670,
      "fileSize": 0,
      "r128": {
        "i": -6.59,
        "tp": -0.08
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 4184841,
          "name": "ATOW",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-artist-photos",
            "uri": "avatars.yandex.net/get-music-content/6202531/35d31852.p.4184841/%%",
            "prefix": "35d31852.p.4184841/"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 5675862,
          "title": "Предсмертные записки несуществующих людей",
          "metaType": "music",
          "year": 2018,
          "releaseDate": "2018-08-22T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/192707/b0b10301.a.5675862-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/192707/b0b10301.a.5675862-1/%%",
          "genre": "indie",
          "trackCount": 5,
          "likesCount": 2,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 4184841,
              "name": "ATOW",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-artist-photos",
                "uri": "avatars.yandex.net/get-music-content/6202531/35d31852.p.4184841/%%",
                "prefix": "35d31852.p.4184841/"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 1099709,
              "name": "Ionoff Music"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [],
          "trackPosition": {
            "volume": 1,
            "index": 1
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/192707/b0b10301.a.5675862-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/192707/b0b10301.a.5675862-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "VIDEO_ALLOWED",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": false,
        "hasAvailableTextLyrics": false
      },
      "trackSource": "OWN"
    },
    {
      "id": "25517034",
      "realId": "25517034",
      "title": "Бойз Донт Край",
      "contentWarning": "explicit",
      "major": {
        "id": 308,
        "name": "ONERPM"
      },
      "available": true,
      "availableForPremiumUsers": true,
      "availableFullWithoutPermission": false,
      "storageDir": "",
      "durationMs": 551440,
      "fileSize": 0,
      "r128": {
        "i": -6.15,
        "tp": 0.71
      },
      "previewDurationMs": 30000,
      "artists": [
        {
          "id": 359561,
          "name": "Курара",
          "various": false,
          "composer": false,
          "cover": {
            "type": "from-artist-photos",
            "uri": "avatars.yandex.net/get-music-content/4747389/80abdd16.p.359561/%%",
            "prefix": "80abdd16.p.359561/"
          },
          "genres": []
        }
      ],
      "albums": [
        {
          "id": 17870709,
          "title": "Бойз Донт Край",
          "metaType": "music",
          "contentWarning": "explicit",
          "year": 2015,
          "releaseDate": "2015-10-13T00:00:00+03:00",
          "coverUri": "avatars.yandex.net/get-music-content/5234929/e18da5cb.a.17870709-1/%%",
          "ogImage": "avatars.yandex.net/get-music-content/5234929/e18da5cb.a.17870709-1/%%",
          "genre": "local-indie",
          "trackCount": 5,
          "likesCount": 16,
          "recent": false,
          "veryImportant": false,
          "artists": [
            {
              "id": 359561,
              "name": "Курара",
              "various": false,
              "composer": false,
              "cover": {
                "type": "from-artist-photos",
                "uri": "avatars.yandex.net/get-music-content/4747389/80abdd16.p.359561/%%",
                "prefix": "80abdd16.p.359561/"
              },
              "genres": []
            }
          ],
          "labels": [
            {
              "id": 1449158,
              "name": "КУРАРА"
            }
          ],
          "available": true,
          "availableForPremiumUsers": true,
          "availableForMobile": true,
          "availablePartially": false,
          "bests": [
            90428861
          ],
          "trackPosition": {
            "volume": 1,
            "index": 1
          }
        }
      ],
      "coverUri": "avatars.yandex.net/get-music-content/5234929/e18da5cb.a.17870709-1/%%",
      "ogImage": "avatars.yandex.net/get-music-content/5234929/e18da5cb.a.17870709-1/%%",
      "lyricsAvailable": false,
      "type": "music",
      "rememberPosition": false,
      "trackSharingFlag": "COVER_ONLY",
      "lyricsInfo": {
        "hasAvailableSyncLyrics": true,
        "hasAvailableTextLyrics": true
      },
      "trackSource": "OWN"
    }
  ],
  "track": {
    "id": "46402425",
    "realId": "46402425",
    "title": "Мы",
    "major": {
      "id": 87,
      "name": "BELIEVE_DIGITAL"
    },
    "available": true,
    "availableForPremiumUsers": true,
    "availableFullWithoutPermission": false,
    "storageDir": "",
    "durationMs": 182970,
    "fileSize": 0,
    "r128": {
      "i": -5.29,
      "tp": -0.25
    },
    "previewDurationMs": 30000,
    "artists": [
      {
        "id": 5054100,
        "name": "Дайте танк (!)",
        "various": false,
        "composer": false,
        "cover": {
          "type": "from-artist-photos",
          "uri": "avatars.yandex.net/get-music-content/2480468/6537dc4f.p.5054100/%%",
          "prefix": "6537dc4f.p.5054100/"
        },
        "genres": []
      }
    ],
    "albums": [
      {
        "id": 6255689,
        "title": "На вырост",
        "type": "single",
        "metaType": "music",
        "year": 2018,
        "releaseDate": "2018-11-27T00:00:00+03:00",
        "coverUri": "avatars.yandex.net/get-music-content/3226792/7e2b95cc.a.6255689-5/%%",
        "ogImage": "avatars.yandex.net/get-music-content/3226792/7e2b95cc.a.6255689-5/%%",
        "genre": "local-indie",
        "trackCount": 3,
        "likesCount": 4757,
        "recent": false,
        "veryImportant": false,
        "artists": [
          {
            "id": 5054100,
            "name": "Дайте танк (!)",
            "various": false,
            "composer": false,
            "cover": {
              "type": "from-artist-photos",
              "uri": "avatars.yandex.net/get-music-content/2480468/6537dc4f.p.5054100/%%",
              "prefix": "6537dc4f.p.5054100/"
            },
            "genres": []
          }
        ],
        "labels": [
          {
            "id": 978492,
            "name": "Дайте танк (!)"
          }
        ],
        "available": true,
        "availableForPremiumUsers": true,
        "availableForMobile": true,
        "availablePartially": false,
        "bests": [
          46402425
        ],
        "trackPosition": {
          "volume": 1,
          "index": 2
        }
      }
    ],
    "coverUri": "avatars.yandex.net/get-music-content/3226792/7e2b95cc.a.6255689-5/%%",
    "ogImage": "avatars.yandex.net/get-music-content/3226792/7e2b95cc.a.6255689-5/%%",
    "lyricsAvailable": true,
    "type": "music",
    "rememberPosition": false,
    "trackSharingFlag": "COVER_ONLY",
    "lyricsInfo": {
      "hasAvailableSyncLyrics": true,
      "hasAvailableTextLyrics": true
    },
    "trackSource": "OWN"
  },
  "lyricsAvailable": true,
  "alsoInAlbums": [],
  "lyric": [
    {
      "majorId": 560,
      "majorName": "Musixmatch",
      "writers": "Дайте танк (!)",
      "externalLyricId": "90113380",
      "lyricId": 8397144,
      "fullLyrics": "Мы разрисуем все заборы своими стихами\nДостань, пожалуйста, краску из рюкзака\nНам ни к чему учителя — мы придумаем сами\nПравила русского языка\n\nКогда экономят силы все остальные\nМы заранее готовимся к ностальгии\nМы решили: дорога каждая минута\nМы валяем дурака, и пока\nВпечатления — наша валюта\n\nМы сказочно богаты\nСказочно богаты\nСказочно богаты\nТы и я\nЭй, подожди, куда ты?\nПодожди, куда ты?\nПодожди, куда ты\nМолодость моя?\n\nДавай в подземном переходе играть на гитаре?\nНотная грамота тоже нам не нужна\nНа фоне площади луна\nКак огромный фонарик\n\nИ губы, бордовые от вина\nДополнение к очкам нашим розовым\nВ этом возрасте легко быть философом\nВ этом мире даже на приключения\nПоднимается цена, но она\nНе имеет значения\n\nМы сказочно богаты\nСказочно богаты\nСказочно богаты\nТы и я\nЭй, подожди, куда ты?\nПодожди, куда ты?\nПодожди, куда ты\nМолодость моя?\n\nМолодость моя\nМолодость моя\nМолодость моя!",
      "lyrics": "Мы разрисуем все заборы своими стихами\nДостань, пожалуйста, краску из рюкзака\nНам ни к чему учителя — мы придумаем сами\nПравила русского языка"
    }
  ],
  "episodeDescription": [],
  "videos": [
    {
      "cover": "https://avatars.yandex.net/get-music-content/6255016/1479fd1b.a.22146772-1/%%",
      "title": "Мы",
      "embedUrl": "https://frontend.vh.yandex.ru/player/8832287696922927833?service=ya-video&from=ya-music"
    }
  ],
  "isUgcTrack": false
}

Thank you!

@kaimi- kaimi- closed this as completed in 808443c Oct 11, 2022
@kaimi-
Copy link
Member

kaimi- commented Oct 11, 2022

Please, check current implementation. USLT tag should be added properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants