a simple MediaInfo API implemented as a helper in CodeIgniter useful for verifying...
[living-lab-site.git] / application / controllers / catalog.php
index 28063ee..31bdc51 100644 (file)
@@ -71,13 +71,9 @@ class Catalog extends CI_Controller {
 
        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)