Files
handbrake-cluster-webui/HandBrakeCluster/Rips/SourceAudioTrack.class.php
Ben Roberts 50283e9a9b Implemented HBC parser to read all useful info about titles
Titles, chapters, audio and subtitle streams and metadata are now parsed from the handbrakecli output into title objects.
Source-details page now renders this info
2010-03-21 16:12:21 +00:00

53 lines
903 B
PHP

<?php
class HandBrakeCluster_Rips_SourceAudioTrack {
protected $id;
protected $name;
protected $format;
protected $channels;
protected $language;
protected $samplerate;
protected $bitrate;
public function __construct($id, $name, $format, $channels, $language, $samplerate, $bitrate) {
$this->id = $id;
$this->name = $name;
$this->format = $format;
$this->channels = $channels;
$this->language = $language;
$this->samplerate = $samplerate;
$this->bitrate = $bitrate;
}
public function id() {
return $this->id;
}
public function name() {
return $name;
}
public function format() {
return $this->format;
}
public function channels() {
return $this->channels;
}
public function language() {
return $this->language;
}
public function samplerate() {
return $this->samplerate;
}
public function bitrate() {
return $this->bitrate;
}
};
?>