projects
/
living-lab-site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a simple MediaInfo API implemented as a helper in CodeIgniter useful for verifying...
[living-lab-site.git]
/
application
/
controllers
/
catalog.php
diff --git
a/application/controllers/catalog.php
b/application/controllers/catalog.php
index
28063ee
..
31bdc51
100644
(file)
--- a/
application/controllers/catalog.php
+++ b/
application/controllers/catalog.php
@@
-71,13
+71,9
@@
class Catalog extends CI_Controller {
public function test()
{
public function test()
{
- $q = $this->input->get('q');
- $q = ($q ? $q : 'nimic');
+ $this->load->helper('av_info');
- $w = $this->input->get('w');
- $w = ($w ? $w : 'nimic');
-
- echo "$q / $w";
+ var_dump(get_video_dar('./data/media/test.ogv'));
}
public function category($category_name, $ordering = 'hottest', $offset = 0)
}
public function category($category_name, $ordering = 'hottest', $offset = 0)