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
This commit is contained in:
2010-03-21 16:12:21 +00:00
parent 0477d7363f
commit 50283e9a9b
7 changed files with 371 additions and 13 deletions

View File

@@ -0,0 +1,35 @@
<?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;
}
};
?>