Bugfix release – Version 1.3.1h (gapless)

I have recently uploaded Pi Presents version 1.3.1h to Github.

A few people have reported intermittent problems with playing video with the new dbus interface to omxplayer introduced in 1.3.1g. This version hopefully fixes those problems. In addition to fixes to Pi Presents I found it necessary to increase the GPU Memory from the default 64 MB to 128 Mb if playing videos. Instructions on how to do this are in the Release Notes.

Now that Wheezy is unsupported I have removed the requirement to use sudo when using GPIO (actually its use is inhibited). There are also a couple of other minor bug fixes.

Advertisements
Posted in Uncategorized | Leave a comment

Infinite Media player for The Elderly and Incapacitated

Gazmac from Australia has developed a very interesting and useful application for Pi Presents. I will let him explain:

‘My mother is 94 and no longer able to use TV controls etc. The nursing home staff kindly put the TV on for her and select something reasonable for her to watch. However, the program rolls on and eventually offends her in some way. Her distress prompted me to find another solution to provide good quality content. Even pay services are only as good as the selection you make which is beyond her.’

Gary has written about his development here. He describes how to move Raspbian, pp_home and the many GBytes of media to a SSD, how to prepare various types of media for use with Pi Presents and a complex profile based on liveshows combining videos and images with background music.

Posted in Uncategorized | Leave a comment

Tutorial – Using Touchscreens with Pi Presents

Greg Reynolds from the Canadian Air and Space Museum in Ottawa has provided a tutorial on how to generate a profile for using a touchscreen. He provides much useful information which is not immediately obvious from the manual including the directory structure of Pi Presents. He takes you through editing screen.cfg which is the file that defines the layout of the touchscreen buttons and uses the radiobuttonshow template profile to show how to set up the control path between a touch and a video playing.

The tutorial is applicable to Version 1.3 (gapless). Version 1.2 (next) has detailed differences but the general principles are the same.

The tutorial is a pdf document which can be found here

The Raspberry Pi has a driver that supports touchscreens but there is little information about which touchscreens are supported. If you have successfully used a touchscreen with Pi Presents please tell us in a comment.

Posted in Uncategorized | 1 Comment

Bugfix Release and end of Wheezy – 1.3.1g

I have recently uploaded Version 1.3.1g to [pipresents-gapless]. This contains two fixes for problems that seem to have been introduced by Raspbian Jessie especially when using RPi3, and a couple of fixes for corner use cases.

It would a appear that the autostart system in Jessie will start a user’s program before the operating system has set up the user environment; this leads to occasional failures of PP depending on the exact timing of the startup process. I have added intelligent delays to Pi Presents and the Web Based manager in the hope of fixing this.

With Jessie there has been reports of very occasional omxplayer crashes which did not occur with Wheezy. In my testing I had one failure after running a 1 second video for over 24 hours; this seemed to involve Pexpect. Rather than investigate Pexpect I have decided to move to Dbus to interface with omxplayer as this is now the preferred interface for omxplayer. I have left the old pp_omxdriver.py in the repo if you need to revert.

Both these problems are in the ‘difficult to know if they are fixed’ category and your experiences will be of great benefit.

This will be the last version of Pi Presents that I will develop and test on Wheezy. Wheezy does not work with Rpi3 and as been withdrawn from the RPi web site.

Posted in Uncategorized | 2 Comments

Browser based management and profile editing – 1.3.1f

I now have a couple of installations of my own. In both cases the Pi is difficult to access for editing profiles or for starting Pi Presents running alternative profiles.

I could of course edit the profiles on a Windows PC and ftp them to the target Pi’s; I could also stop and start Pi Presents using Putty. However both of these are not conducive to use by Visitor Centre staff.

The result was the use of RemI. RemI runs a web server on the target Pi and generates web pages that present a gui in a browser which looks very similar to the Python gui on the native Pi. I have implemented two ‘Apps’ as they are called. pp_manager.py allows you to start Pi Presents with a selected profile, stop it, upload media and run the other ‘App’ pp_web_editor.py which is the Pi Presents profile editor with a slightly different user interface. The editor is actually running on the target Pi.

Instructions are in the manual but basically you start pp_manager.py when the Pi powers up or manually, then using a browser on any machine on the network just point the browser at the target Pi’s IP address on a special port. Since each Pi has a different IP address you can control any Pi on the network. To make it easier it is best to give the Pi a static IP addresses.

There are other methods of remote management. David Guest describes one which is more suitable if you have a number of Pi’s each with the same content.

Posted in Uncategorized | 2 Comments

Statistics Logging in Version 1.3.1e (Gapless)

Some months ago I added statistics logging to Pi Presents Gapless.

There is a new section of the manual which should explain all.

The logging outputs a Excel/Calc compatible CSV file which contains details of user initiated events. The file can be analysed to obtain the statistics.

I do not have any deployed applications from which I could collect statistics so I cannot assess whether the messages PP outputs are sufficient in content, and in the events that are recorded, to produce useful tables; so feedback would be useful if you fancy trying it out.

Posted in Uncategorized | Leave a comment

An Update from the Phelps Memorial Hospital

David’s update focuses on the remote management of a growing family of Pi’s Read it here

Posted in Uncategorized | Leave a comment

Pendulum Wave Machine – an example of tight integration

The Physics Department of the University of Florida has used Pi Presents to provide highly integrated interpretation of their Pendulum Wave Machine.

Read about how they did it here

Posted in Uncategorized | 1 Comment

Tutorial – Adding GPIO to a Radiobuttonshow

Greg Reynolds from the Canadian Air and Space Museum in Ottawa has provided a tutorial on how add GPIO based buttons to a Radiobuttonshow. He provides much useful information which is not immediately obvious from the manual including the directory structure of Pi Presents. He takes you through editing gpio.cfg and a copy of the pp_radiobuttonshow_1p3 example profile to show how to set up the control path between a button click and a video playing.

The tutorial is applicable to Version 1.3 (gapless). Version 1.2 (next) has detailed differences but the general principles are the same.

The tutorial is a pdf document which can be found here

Posted in Uncategorized | Leave a comment

Pi Presents puts the Icing on the Cake

Nicholas Bartley from the USA sent me this link to his Pi Presents creation. I’ve heard of a number of people who have used Pi Presents to produce a slideshow for their wedding but Nick has really put the icing on the cake.

Nick says:

I just wanted to let you know that I used your program to
make a Grooms cake for my brothers wedding. He loves Stargate so I
knew I had to make him some form of Stargate cake. I saw examples of
cakes online but I wanted to take it to the next level and have it
actually light up and play sounds. I started researching how to
accomplish this and came across your program. Pi Presents made my
cake presentation possible and relatively easy to accomplish. I just
wanted to give you a big thanks and share with you the video of the
final product.

Stargate Cake

Posted in Uncategorized | 1 Comment