demux_libarchive: support --autocreate-playlist#17956
Conversation
Useful for selecting archive URLs from the watch later menu.
|
I don't know why you wound need that. Opening archives is slow and as I understand you will no always open/list whole archive instead of just accessing a single file from it. I don't think it belongs in the same option or at all. |
With --autocreate-playlist archive:// URLs become the playlist-path, so mpv writes redirect entries for these playlist-paths which make playback resume from them instead of later files in the archive. Avoid writing redirect entries for archive:// URLs to fix this.
a561f73 to
a2a5a11
Compare
|
I think this is a good addition. Users want this feature, see https://github.com/AndreiVernon/mpv-autoload-archives About the "watch later" files, these are the protocols that load data from memory or from the command line, that in my opinion should not be logged: https://github.com/po5/memo/blob/e0624611438b2e19ef4b7e24f53461c9d0304b07/memo.lua#L160-L169 |
|
I don't know if that's feasible to support from demux_libarchive. It checks for URLs because it needs to run only when the path is an As my comment says the watch later condition was only meant for archive files. But it turned out to be also needed for #16530, to make youtube playlists work it needs to save watch later files for http playlist paths. So we can just limit it to non-URLs and http URLs. Another issue I have no solution for is that when resuming playback from |
Useful for selecting archive URLs from the watch later menu.