This commit is contained in:
Roman Kelesidis 2024-08-31 19:57:52 +07:00
commit c63bf02149
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ $template->assign_vars([
'HAS_ITEMS' => (bool)$filesCount, 'HAS_ITEMS' => (bool)$filesCount,
'PAGE_TITLE' => $lang['PLAYBACK_M3U'], 'PAGE_TITLE' => $lang['PLAYBACK_M3U'],
'ATTACH_ID' => $row['attach_id'], 'ATTACH_ID' => $row['attach_id'],
'INFO_HASH' => $row['info_hash'] ?? $row['info_hash_v2'], 'INFO_HASH' => bin2hex($row['info_hash'] ?? $row['info_hash_v2']),
'FILES_COUNT_TITLE' => sprintf($lang['BT_FLIST_FILE_PATH'], declension($filesCount, 'files')), 'FILES_COUNT_TITLE' => sprintf($lang['BT_FLIST_FILE_PATH'], declension($filesCount, 'files')),
'U_TOPIC' => TOPIC_URL . $topic_id, 'U_TOPIC' => TOPIC_URL . $topic_id,
]); ]);

View file

@ -5,7 +5,7 @@
ajax.exec({ ajax.exec({
action: 'ffprobe_info', action: 'ffprobe_info',
attach_id: {ATTACH_ID}, attach_id: {ATTACH_ID},
info_hash: {INFO_HASH}, info_hash: '{INFO_HASH}',
file_index: file_index file_index: file_index
}); });
}; };