You are probably familiar with the two key elements of Pi Presents shows and tracks. Tracks are things that are played or displayed; media tracks such as videos, images, and audio tracks. A show tell Pi Presents how to play the tracks and, in its medialist, maintains a list of the tracks to play or select using a menu.
A show can be played so why not include it in the medialist just like a media track. I have called these sub-shows. Doing this has benefits, some greater than others.
- You can split a mediashow into segments. I found this useful for organising a large slideshow as described here . In addition to the organisational benefits each sub-show can have its own show text.
- You can include a menu as an item of a menu to produce a hierachical menu
- You can include a mediashow or liveshow as the item of menu.
- You could include a menu in a mediashow, perhaps not very useful.
To do any of these things use the editor as described below. The example uses a mediashow as a sub-show of a mediashow, other combinations are essentially the same.
- Create the main mediashow. It needs a show-reference so it can be named as a start-show. Create its medialist.
- Create a mediashow which will become the sub-show and give it a show-reference of, for example, mysubshow
- In the medialist for the main show create a new Show track using the menu track>new>show. Edit this track and use the drop down menu in the show field to select mysubshow
Child shows are basically the same as sub-shows, the only difference is that a child-show can be triggered from every track of a mediashow whereas sub-shows cannot. The editor provides a bit of a short cut to creating child-shows. In a mediashow you just set ‘has-child’ to ‘yes’ and in the medialist create a new child-show. This creates a show entry in the medialist with the track-reference of pp-child-show.
The manual gives the impression that this child-show should be menu. This is because a menu is the most useful application of a child-show. Actually, a child-show could be any type of show or a media track. To create the latter in the editor add a media track to the medialist and give it the ‘track-ref’ of pp-child-show.