Missing doc
This commit is contained in:
parent
e54df9b531
commit
20820d90f0
2 changed files with 16 additions and 2 deletions
|
@ -293,6 +293,13 @@ class VideoDownload
|
|||
return popen($chain->getProcess()->getCommandLine(), 'r');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get video stream from an M3U playlist.
|
||||
*
|
||||
* @param \stdClass $video Video object returned by getJSON
|
||||
*
|
||||
* @return resource popen stream
|
||||
*/
|
||||
public function getM3uStream(\stdClass $video)
|
||||
{
|
||||
if (!shell_exec('which '.$this->config->avconv)) {
|
||||
|
@ -312,8 +319,6 @@ class VideoDownload
|
|||
]
|
||||
);
|
||||
|
||||
//dump($procBuilder->getProcess()->getCommandLine()); die;
|
||||
|
||||
return popen($procBuilder->getProcess()->getCommandLine(), 'r');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue