comparison service/announce/tasks.py @ 670:f70514b127d2

service that calls for TTS audio then serves it to chromecasts and to playAudio services Ignore-this: 4ede3d6eb6b35096f70fc35ffe5c7a07
author drewp@bigasterisk.com
date Sun, 22 Dec 2019 00:35:58 -0800
parents
children
comparison
equal deleted inserted replaced
669:b27a4652cd84 670:f70514b127d2
1 from invoke import task, Collection
2
3 import sys
4 sys.path.append('/my/proj/release')
5 from serv_tasks import serv_tasks
6
7 ns = Collection()
8
9 coll = Collection('announce')
10 ns.add_collection(coll)
11 serv_tasks(coll, 'serv.n3', 'announce')
12
13 coll = Collection('tts')
14 ns.add_collection(coll)
15 serv_tasks(ns, 'serv.n3', 'tts_server')