Files
handbrake-cluster-webui/HandBrakeCluster/Rips/SourceSubtitleTrack.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

35 lines
531 B
PHP

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