Skip to content

Commit

Permalink
temporary hotfix: play frikanalenloop bc. graphics are broken
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Feb 28, 2024
1 parent 6650de5 commit b4c4e11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/playout/playout
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ class Graphic(PlannedItem):
if self.has_been_prepared:
await CurrentPlayer.issue(f'PLAY {self.layer}')
else:
await CurrentPlayer.issue(f'PLAY {self.layer} [HTML] "{self.url}"')
#await CurrentPlayer.issue(f'PLAY {self.layer} [HTML] "{self.url}"')
await CurrentPlayer.issue(f'PLAY {self.layer} filler/frikanalenloop loop 0')

# If we have time for it, do a nice and steady fade to black
# two seconds before the next programme, just like the old
Expand All @@ -299,7 +300,8 @@ class Graphic(PlannedItem):

async def prepare(self):
try:
await CurrentPlayer.issue(f'LOADBG {self.layer} [HTML] "{self.url}"')
#await CurrentPlayer.issue(f'LOADBG {self.layer} [HTML] "{self.url}"')
await CurrentPlayer.issue(f'LOADBG {self.layer} filler/FrikanalenLoop loop 0')
self.has_been_prepared = True
except asyncio.CancelledError:
pass
Expand Down

0 comments on commit b4c4e11

Please sign in to comment.