1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00

Fix kill process typo on channel

Update Ampache XML API version
This commit is contained in:
Afterster 2015-06-04 21:35:41 +02:00
parent ae553bd786
commit f7fb9efa75
3 changed files with 3 additions and 2 deletions

View file

@ -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.');
}
}

View file

@ -37,7 +37,7 @@ class Api
/**
* @var string $version
*/
public static $version = '370001';
public static $version = '380001';
/**
* @var Browse $browse

View file

@ -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;