-
Notifications
You must be signed in to change notification settings - Fork 878
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
Import Playlists #1016
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
I'd like to add this feature. Where should I start? |
Also, import history from Youtube takeout is broken. The .json file is not visible in the file picker. Should I open a new issue? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
Can't we import takeout youtube playlists? (csv) |
You can import first to Invidious, then export. I don't think importing playlists works yet. |
how, please? from what I saw, invidious can export playlists in json/xml format. Freetube accepts only .db format. |
I don't think importing playlists works yet. |
FreeTube doesn't support local playlists yet, so importing them is of course not supported either. FreeTube only has a saved video list, so the import and export is for that saved video list database, so you can export and import it from one FreeTube installation to another. |
This is exactly what's needed. The ability to use your youtube takeout in the import playlists button. |
Again as mentioned above, FreeTube doesn't support local playlists yet, only a saved video list, so even if we added support for importing them, you wouldn't be able to see or use them in any way in FreeTube until local playlists are implemented. |
When do you think that feature will make it in? |
No ETA |
Hey, so, obviously this isn't a final solution to the playlists import thing, but here's a php script I whipped up in a few hours to turn the takeout csv exports into a freetube-compatible .db file! Fair warning, it has no error-handling, and has only been tested on an old takeout export from 2022 (for some reason I can't download a new one rn, which is aggravating af), but it should work for current ones too. https://gitlab.com/MayESchaefer/google-takeout-playlists-to-freetube-import/ EDIT: I have now tested it on a recent export, and it doesn't work - apparently they changed their format somewhat. I'll fix it and update this comment when it's done. EDIT: I've updated it, and it now works with current Takeout exports. |
Hi, @Hate9 thanks for your efforts and I wanted to ask: Do you think this would also work on windows and if yes how can I start it? And also I wanted to ask why an API is required. I thought the id's in a youtube playlist takeout csv file are just the last part of youtube.com/watch?v=... so just a part of a normal link and I can also use them as such. |
@Lukilei it should work on windows, but you'll need to install php and run it with that. here's the set of guides on setting it up, and here's how to run the thing after that. the reason it needs to access the api is that there's information that's supposed to be in freetube's playlist files that isn't included in the takeout export, like video thumbnail urls and such. |
@Hate9 thanks for the quick response and help. I've sorted out all the stuff with php and got that working. I've learned that the file which has to be converted has to be named You said it's only been tested on older takeouts so maybe there lays the issue. If it helps, the present document structure is: Also the whole API thing makes sence, it woudn't be an issue for a native Freetube importer I think but since you're converting... |
@Lukilei it's been updated to work with current exports. you need to point it to the folder containing all of your playlists: playlists.csv is one of the files in current exports, but all of the other playlist files will need to be in the folder too. takeout should give you a subfolder with all your playlist csvs and a playlists.csv file. |
to elaborate, playlists.csv just has some of the playlist metadata in it, the other files are what have the videos. |
@Lukilei ok, do you have discord or something? I don't wanna clog up this issue with troubleshooting a completely different piece of software. |
Closing in favor of #5057 |
It would be great if you could let us import how playlists from YouTube. I have them all exported already, just nowhere to import...
The text was updated successfully, but these errors were encountered: