mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Fix kill process typo on channel
Update Ampache XML API version
This commit is contained in:
parent
ae553bd786
commit
f7fb9efa75
3 changed files with 3 additions and 2 deletions
|
@ -280,6 +280,7 @@ while(true)
|
|||
}
|
||||
} else {
|
||||
$channel->update_listeners(0);
|
||||
debug_event('channel', 'No more data, stream ended.', 5);
|
||||
die('No more data, stream ended.');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ class Api
|
|||
/**
|
||||
* @var string $version
|
||||
*/
|
||||
public static $version = '370001';
|
||||
public static $version = '380001';
|
||||
|
||||
/**
|
||||
* @var Browse $browse
|
||||
|
|
|
@ -472,7 +472,7 @@ class Channel extends database_object implements media, library_item
|
|||
fclose($this->transcoder['stderr']);
|
||||
}
|
||||
fclose($this->transcoder['handle']);
|
||||
Stream::kill_process($this->$transcoder);
|
||||
Stream::kill_process($this->transcoder);
|
||||
|
||||
$this->media = null;
|
||||
$this->transcoder = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue