Skip to content

Commit 85754f7

Browse files
committed
Add UDP functionality to _sp_passiveVideo task (issue #28)
1 parent c924da9 commit 85754f7

File tree

1 file changed

+2
-2
lines changed
  • iblrig_custom_tasks/_sp_passiveVideo

1 file changed

+2
-2
lines changed

iblrig_custom_tasks/_sp_passiveVideo/task.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from pybpodapi.protocol import Bpod
1616

1717
import iblrig.misc
18-
from iblrig.base_tasks import BpodMixin
18+
from iblrig.base_tasks import BpodMixin, NetworkSession
1919

2020
_logger = logging.getLogger(f'iblrig.{__name__}')
2121

@@ -154,7 +154,7 @@ def get_media_length(self):
154154
return length / 1e3
155155

156156

157-
class Session(BpodMixin):
157+
class Session(BpodMixin, NetworkSession):
158158
"""Play a single video."""
159159

160160
protocol_name = '_sp_passiveVideo'

0 commit comments

Comments
 (0)