Skip to content

Commit

Permalink
preconfigured test case for schedule driven overlays
Browse files Browse the repository at this point in the history
play around with the overlay/schedule-event element within the 
voctocore/default-config.ini and change it from 1..3 to select events.

OR 

comment out schedule-event and use schedule-room to address a room from 
schedule.xml. set the event start and duration to your local time to see 
overlays to specific events.
  • Loading branch information
fightling committed Jul 24, 2019
1 parent 8526920 commit 5ce29f4
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 6 deletions.
Binary file added event_1_person_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added event_1_person_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added event_1_person_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added event_1_persons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added event_2_person_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added event_3_person_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added event_3_person_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added event_3_persons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions schedule.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version='1.0' encoding='utf-8' ?>
<schedule>
<day>
<room>
<event id='1'>
<date>2019-01-01T10:00:00+02:00</date>
<duration>01:00</duration>
<room>HALL 1</room>
<title>Interesting talk in HALL 1 at 10:00</title>
<persons>
<person id='1'>Alice</person>
<person id='2'>Bob</person>
<person id='3'>Claire</person>
</persons>
</event>
<event id='2'>
<date>2019-01-01T10:00:00+02:00</date>
<duration>01:00</duration>
<room>HALL 2</room>
<title>Interesting talk in HALL 2 at 10:00</title>
<persons>
<person id='4'>Dick</person>
</persons>
</event>
<event id='3'>
<date>2019-01-01T11:15:00+02:00</date>
<duration>01:00</duration>
<room>HALL 2</room>
<title>Interesting talk in HALL 2 at 11:15</title>
<persons>
<person id='1'>Alice</person>
<person id='4'>Dick</person>
</persons>
</event>
</room>
</day>
</schedule>
15 changes: 9 additions & 6 deletions voctocore/default-config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,20 @@ pattern = black

[overlay]
; default selection for overlay image
file = watermark.png
#file = watermark.png
; user selection of overlay images
files = transparency.png,transparency2.png,watermark.png,voctocore/images/voc2bg.png
#files = transparency.png,transparency2.png,watermark.png,voctocore/images/voc2bg.png

; read user selection from schedule.xml file
;schedule-file=schedule.xml
schedule-file=schedule.xml
; filter by room
;schedule-room=HALL1

;schedule-room=HALL 1
; filter by event ID (good for testing)
schedule-event=3
; should the user be able to toggle the AUTO-OFF button?
user-auto-off = true
auto-off = false
; should the AUTO-OFF button be initially be off?
;auto-off = false

[mirrors]
; disable if not needed
Expand Down

0 comments on commit 5ce29f4

Please sign in to comment.