correct ffmpeg command
This commit is contained in:
1 parent
6f75a645b7
commit
9daa45789d
2 files changed
+12
-3
No files matched your search
@@ -135,7 +135,7 @@ async def t_inline_query_node_content(query: types.InlineQuery, memory=None, use
|
||||
|
||||
# Check if a preview file_id is cached for audio/video and if not, upload a trimmed preview to cache it.
|
||||
if content_type_declared in ('audio', 'video'):
|
||||
if not encrypted_content.meta.get('telegram_file_cache_preview'):
|
||||
if True or not encrypted_content.meta.get('telegram_file_cache_preview'):
|
||||
try:
|
||||
# Construct URL for trimmed preview (limit to 30 seconds)
|
||||
preview_url = f"{PROJECT_HOST}/api/v1/storage/{content.cid.serialize_v2(include_accept_type=True)}?seconds_limit=30"
|
||||
|
||||
Reference in new issue
Block a user