darkhz / invidtui

A TUI based Invidious client
MIT License
196 stars 6 forks source link

save youtube playlist #19

Closed ghost closed 1 year ago

ghost commented 1 year ago

iread the manuel but could not find a way to do it (generated from someone)

darkhz commented 1 year ago

If you mean the currently playing playlist, press p and then press Ctrl+S.

If you mean saving a playlist from the search results/playlist viewer/dashboard, that is not implemented yet. I'll add this to my TODO list.

ghost commented 1 year ago

I meant second one thanks!

ghost commented 1 year ago

@darkhz I also didn't want to open a separate issue so I thought I'd write here, I'm watching from invidtui, it's fine, the token is also registered, there is no problem there, but the problem is that it doesn't mark the following videos as watched, is there a solution?

darkhz commented 1 year ago

Hmm, to track if a video has been watched, invidious would need to store the data and would need to make said data query-able within the API, which looking at the docs, is not currently implemented. I suppose I could save the watch history locally, but I think saving data that way could be inconsistent, and you'd have to copy the history file across machines you need to access Invidious.

ghost commented 1 year ago

Oh i see it would be good but not that necessary, thanks for answer

darkhz commented 1 year ago

@toprak Just to be clear, do you mean downloading and saving all the videos in a playlist, or just saving playlist entries in a playlist file?

ghost commented 1 year ago

@darkhz

or just saving playlist entries in a playlist file?

this

darkhz commented 1 year ago

This has now been implemented, please see the release notes on how to use this feature.