Uploaded image for project: 'Mobile Applications'
  1. Mobile Applications
  2. MOBILE-130

Play with Youtube if listen has a youtube_id

      In the same way that we check for a spotify_id in the listen metatada, we can check for a youtube_id and play the resource directly instead of using the search

      Example metadata with an origin_url for a youtube video (should check for youtube.com but also shortened format youtu.be):

      {
        "track_metadata": {
          "artist_name": "Alien Vampires",
          "release_name": "Nuns Are Pregnant",
          "additional_info": {
            "duration": 347,
            "origin_url": "https://youtu.be/Y5Ku7AK0-O8",
            "recording_msid": "0596aa34-cd76-42d7-93ca-eac010c201cc",
            "submission_client": "Web Scrobbler",
            "music_service_name": "YouTube",
            "submission_client_version": "2.87.0"
          },
          "track_name": "Jesus Christ Buried Alive",
          "mbid_mapping": {
            "recording_mbid": "fedd0ab0-ca87-4534-87bf-0e575a1d8bab",
            "release_mbid": "4d0f312b-58c4-4b49-b0eb-a3cb71ac5f8a",
            "artists": [
              {
                "artist_mbid": "27a6451c-ca43-4b10-a34f-2bb11ad5d82b",
                "artist_credit_name": "Alien Vampires",
                "join_phrase": ""
              }
            ],
            "artist_mbids": [
              "27a6451c-ca43-4b10-a34f-2bb11ad5d82b"
            ],
            "caa_id": 3227260853,
            "caa_release_mbid": "4d0f312b-58c4-4b49-b0eb-a3cb71ac5f8a"
          }
        },
        "listened_at": 1678627811,
        "recording_msid": "0596aa34-cd76-42d7-93ca-eac010c201cc",
        "user_name": "chaban",
        "inserted_at": 1678627962
      }
      

          [MOBILE-130] Play with Youtube if listen has a youtube_id

          Jasjeet added a comment -

          Some problem occurred with our console project. Thankyou for reporting, we are already looking into it.

          Jasjeet added a comment - Some problem occurred with our console project. Thankyou for reporting, we are already looking into it.

            Unassigned Unassigned
            chaban chaban
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package