diff --git a/library/ajax/ffprobe_info.php b/library/ajax/ffprobe_info.php new file mode 100644 index 000000000..c408c28cb --- /dev/null +++ b/library/ajax/ffprobe_info.php @@ -0,0 +1,36 @@ +ajax_die($lang['MODULE_OFF']); +} + +if (!$attach_id = (int)$this->request['attach_id']) { + $this->ajax_die($lang['INVALID_ATTACH_ID']); +} + +if (!$file_index = (int)$this->request['file_index']) { + $this->ajax_die('Invalid file index'); +} + +if (!$info_hash = (string)$this->request['info_hash']) { + $this->ajax_die('Invalid info_hash'); +} + +dump($attach_id); +dump($file_index); +dump($info_hash); + +$this->response['ffprobe_data'] = '123'; diff --git a/styles/templates/default/playback_m3u.tpl b/styles/templates/default/playback_m3u.tpl index 180773aee..d2ed11a43 100644 --- a/styles/templates/default/playback_m3u.tpl +++ b/styles/templates/default/playback_m3u.tpl @@ -9,9 +9,6 @@ file_index: file_index }); }; - ajax.callback.ffprobe_info = function (data) { - $('#cache').html(data.cache_html); - }
{m3ulist.ROW_NUMBER} | {m3ulist.TITLE}
|