1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2024-11-24 08:12:13 +02:00
This commit is contained in:
MarkParker5 2020-11-05 19:26:15 +02:00
parent 4e038efd38
commit 5bb93bbbe1

View File

@ -51,8 +51,9 @@ def start(params):
name = params.get('text')
voice = text = 'Не могу найти фильм'
if name:
if url:= extractUrl(findFilm(name)):
startFilm(url)
url, title = extractUrl(findFilm(name))
if url:
startFilm(url, title.strip())
voice = text = 'Включаю'
return {
'type': 'simple',