We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
playlist_load_files
v0.38.0
loadfile
The current version of mpv changed the loadfile instruction to take these arguments:
loadfile <url> [<flags> [<index> [<options>]]]
(from https://mpv.io/manual/stable/#command-interface-[%3Coptions%3E]]]) where index is a newly added argument.
index
The current implementation of playlist_load_files is
pub fn playlist_load_files(&self, files: &[(&str, FileState, Option<&str>)]) -> Result<()> { for (i, elem) in files.iter().enumerate() { let args = elem.2.unwrap_or(""); let ret = self.command( "loadfile", &[&format!("\"{}\"", elem.0), elem.1.val(), args], ); if let Err(err) = ret { return Err(Error::Loadfiles { index: i, error: ::std::rc::Rc::new(err), }); } } Ok(()) }
and the args variable now takes the place of the new index argument.
args
(for reference, this was the old specification: https://web.archive.org/web/20240414164307/https://mpv.io/manual/stable/#command-interface-[%3Coptions%3E]])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current version of mpv changed the loadfile instruction to take these arguments:
(from https://mpv.io/manual/stable/#command-interface-[%3Coptions%3E]]]) where
index
is a newly added argument.The current implementation of
playlist_load_files
isand the
args
variable now takes the place of the newindex
argument.(for reference, this was the old specification: https://web.archive.org/web/20240414164307/https://mpv.io/manual/stable/#command-interface-[%3Coptions%3E]])
The text was updated successfully, but these errors were encountered: