FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Feature Request]: Import Playlists from YouTube

Open efb4f5ff-1298-471a-8973-3d47447115dc opened this issue 1 year ago • 7 comments

Guidelines

  • [X] I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • [X] I have searched the documentation for information that matches the description of the feature request I want to file, without success.
  • [X] This issue contains only one feature request.

Problem Description

Importing Playlists from YT is not possible. Now that Local Playlist support has released we can start to implement this.

Proposed Solution

The ability to import the Playlist file provided by YouTube into FreeTube

Also what we need from the exported YT playlist file to test cases like:

  • videos that are set to private in that playlist
  • videos that dont exist anymore
  • shorts and previously streamed live videos
  • Currently live videos (not sure if YT allows u to save that to a playlist)
  • Upcoming videos or upcoming live videos (not sure if YT allows u to save that to a playlist)

Alternatives Considered

None.

Issue Labels

new feature

Additional Information

Retrieved from https://github.com/PikachuEXE/FreeTube/issues/50#issuecomment-1734687322

The YT playlist export is a list of CSV files

Example (header text depends on user language I guess, maybe it can be forced via hl=en) Headers: video ID, timestamp for video added to playlist time

影片 ID,播放清單影片的建立時間戳記
dKMTzrG92TE,2018-04-24T09:05:28+00:00

Update 1: Confirmed that https://takeout.google.com/?hl=en&pli=1 will export file with header text in en

Video ID,Playlist Video Creation Timestamp
dKMTzrG92TE,2018-04-24T09:05:28+00:00

Would it be possible to append to this feature. The ability to save the URL of the playlist in which the playlist comes from.

And the ability to re-sync again, like for example there is a new button to sync things up with the remote playlist so that once you have click the button it would fetch any new items from that youtube playlist

ArthurKun21 avatar Jun 12 '24 07:06 ArthurKun21

Would it be possible to append to this feature. The ability to save the URL of the playlist in which the playlist comes from.

And the ability to re-sync again, like for example there is a new button to sync things up with the remote playlist so that once you have click the button it would fetch any new items from that youtube playlist

See #312

https://github.com/NoSpiner/Freetube-import

NoSpiner avatar Mar 29 '25 13:03 NoSpiner

Why is this problem still not solved natively?

broadhurstM avatar Jul 17 '25 15:07 broadhurstM

I see it on the latest version. What file type(s) does it take, though? I just used Google Takeout and both my playlists and subscriptions were compiled into Microsoft Excel CSV files (I have Windows 11). The subscription import took the CSV fine, but the playlist import doesn't.

Image

CookieUndercover1212 avatar Jul 18 '25 08:07 CookieUndercover1212

@CookieUndercover1212 it only accepts our .db files. That means that only importing your database file from another FreeTube instance is possible at the moment

One up the request. Can't import prepared CSV for playlists.

nezvers avatar Nov 06 '25 07:11 nezvers