1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2025-07-12 22:50:22 +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') name = params.get('text')
voice = text = 'Не могу найти фильм' voice = text = 'Не могу найти фильм'
if name: if name:
if url:= extractUrl(findFilm(name)): url, title = extractUrl(findFilm(name))
startFilm(url) if url:
startFilm(url, title.strip())
voice = text = 'Включаю' voice = text = 'Включаю'
return { return {
'type': 'simple', 'type': 'simple',