As title says. I have a music.youtube liked playlist of over 3k songs and I would like to get them onto my phone. I have yet to find a way to do this just from the liked music playlist. Is it even possible?

  • je_skirata
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    1
    ·
    4 days ago

    You can use yt-dlp with the -x flag to extract the audio with the link to the playlist. You can specify the audio format too, it’s a powerful tool.

    yt-dlp -x link_to_playlist 
    

    https://github.com/yt-dlp/yt-dlp

    • GnerphBaht@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 days ago

      I had tried that without the flag and I got an error stating YouTube music isn’t supported on my phone.

      • je_skirata
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        4 days ago

        I did some testing, it looks like the auto generated “Liked Music” playlist doesn’t have a proper URL that can point to the music.

        A workaround seems to be adding the playlist to the queue, then saving the queue to a new playlist, and using that new playlist URL.

        That way you can remove the “music.” part from the “music.youtube.com” and use it like a regular YouTube playlist.

        If that doesn’t work for you it might be a DRM issue with how your phone is attempting to download the data. I used my desktop.

        • GnerphBaht@sopuli.xyzOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 days ago

          I don’t see an option to add entire queue to a play list, only the individual song currently playing.

          I appreciate the help though.

            • GnerphBaht@sopuli.xyzOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 days ago

              I’m on the revanced version of the yt music app.

              I had found an app called Vivi that promised auto downloading of songs but it hated my phone and would freeze. I put in an issue via their github.

              • Steve Dice@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                3 days ago

                Then the option should be there. Just go to the “Library” tab and tap on the 3 dots. Then you can go to the queue and save it as a playlist. Alternatively, you can just clear the queue and then play the first song.

                Somebody already mentioned it but I recommend Seal

                • GnerphBaht@sopuli.xyzOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 days ago

                  Okay after messing around a bit I’m seeing that it having an issue adding all 3.1k songs to a play list, so this is not going to be as easy as I hoped for but can be done.

                  I thank all for the assistance.

    • GnerphBaht@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      Using YTDLnis on android I get this error:

      Downloading: Title: URL: https://music.youtube.com/playlist?list=LM Type: audio Command: –extractor-args “youtube:player_skip=webpage,configs;visitor_data=;player_client=mweb;lang=en” --newline -N “3” --trim-filenames “184” --no-mtime --sponsorblock-remove “music_offtopic,sponsor” -f “ba/b” -x -P “/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/2” --ppa “ThumbnailsConvertor:-qmin 1 -q:v 1 -vf crop="‘if(gt(ih,iw),iw,ih)’:‘if(gt(iw,ih),ih,iw)’"” -o “%(uploader).30B - %(title).170B.%(ext)s” --parse-metadata “%(artists,artist,uploader,channel,creator|null)l:^(?P<uploader>.?)(?:(?= - Topic)|$)" --embed-metadata --parse-metadata "%(playlist_uploader,artist,uploader|)s:^(?P<first_artist>.?)(?:(?=,\s+)|$)” --parse-metadata “%(album,playlist_title,playlist|)s:%(meta_album)s” --parse-metadata “%(album_artist,first_artist|)s:%(album_artist)s” --parse-metadata “description:(?:.+?Released\ on\s*:\s*(?P<dscrptn_year>\d{4}))?” --parse-metadata “%(dscrptn_year,release_year,release_date>%Y,upload_date>%Y)s:(?P<meta_date>\d+)” --embed-thumbnail --convert-thumbnails “jpg” “https://music.youtube.com/playlist?list=LM

      WARNING: [youtube:tab] YouTube Music is not directly supported. Redirecting to https://www.youtube.com/playlist?list=LM WARNING: [youtube:tab] YouTube said: The playlist does not exist. ERROR: [youtube:tab] LM: YouTube said: The playlist does not exist.

      I do know that not all music.youtube likes get transfered to basic YouTube.

      • je_skirata
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        4 days ago

        It’s the playlist link that’s the problem. It ends with playlist?list=LM which stands for “Liked Music”. The downloader doesn’t know your account’s liked music playlist. It needs a playlist ID like playlist?list=PLO7q4X25LQEEyJAQe5EEwJxUCSKvuKbok

        Basically you need the songs to be in a different playlist

        • Ganbat@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 days ago

          If you’re on PC, you can also grab cookies from a browser to use liked playlists, but I don’t know if it’ll work for YTM likes, as I don’t know if that playlist actually exists on normal YouTube.

  • Luke@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    4 days ago

    Possibly using yt-dlp or one of the dozens of frontends for it. I don’t know if it works for YouTube Music, but it’s free and easy to use, so you might as well give it a shot.