GithubHelp home page GithubHelp logo

pipresents's People

Contributors

kent2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pipresents's Issues

Real Fullscreen Mode

Hi,

I just installed Pi Presents on my Raspberry Pi and if I understand the documentation correctly there are several steps to perform in order to make Pi Presents run in fullscreen mode. Some of them require attaching Keyboard/Mouse to the Pi which I want to avoid.

There seems to be a simple solution to tell TkInter to occupy the full screen without fiddling with window decorations and stuff. See patch below, this works for me.
(Still need to use the -f something option)

Toby

diff --git a/pipresents.py b/pipresents.py
index 9b121f6..93ed733 100644
--- a/pipresents.py
+++ b/pipresents.py
@@ -142,6 +142,7 @@ class PiPresents:
         # control display of window decorations
         if self.options['fullscreen']<>"partial":
             self.root = Tk(className="fspipresents")
+            self.root.attributes('-fullscreen', True)
             os.system('unclutter &')
         else:
               self.root = Tk(className="pipresents")          

Image files not being downscaled

I am getting inconsistent behaviour with my JPEG images, most of which are larger than the screen resolution. On a few occasions pipresents has correctly downscaled them to fit the fullscreen resolution. Mostly however it doesn't and just a portion of the image displays. I could write my own downscaler but I'd rather not have to do that. It looks like pipresents was designed to do this.

Pi Presents crashes randomly while playing videos.

See Issue #6

When playing a mediashow containing videos Pi Presents crashes randomly. After the crash the Raspberry Pi must be re-booted to clear the problem.

The fix in #6 does not remove the problem. Interspersing video tracks with other sorts of track seemed to help but not solve.

The problem is also present in TBOPlayer which uses the same interface to OMXPlayer

How can I organize Mediashows with Menu and Subshows?

Hello,
try to do it in the english language:
I have installed Pi Presents as a signage-station in the German Horsemuseum (Deutsches Pferdemuseum) see attached pdf. I choose an example profile (pp_active) that shows an introduction-video as a loop and a menu including two videos. The Show is triggered by 4 buttons: "Start", "Stopp", "Vor" and "Pause". I don't need "Zurück", because "Vor" triggers all menu-entries if pressed often. No need for shutdown button, because horsemen are brave ;-).
One week - 24 hour-test was successful.
For further museum-projects it would be nice, to have a "more-level-configuration" i.e.introduction, menu with sub-menu and/or subshows and so on, but i couldn't manage it. If there is an example-profile i would probably solve my problem with the little help of pipresents editor. After that i will finish the translation of Pi Presents Manual into german and provide it here.
Dear KenT2: Thank you very much. Pi Presents came just right to prevent a sixty-sixie starting with programming ;-).
If you are through with the restaurants in Brittany France we should try together a little bit of asparagous with ham and eggs here near Bremen.
greetings from Northern Germany
papiertiger
pi_buttonbox_text

resources.cfg

First of all I'd like to congratulate you for your "pipresents" app. Very usefull and very good potential. My job is in a Public Museum in Spain (Parque de las Ciencias).

I'm trying this app but have many questions, but only one of them I'm going to launch in this issue: I don't know how to use the file "resources.cfg" and the manual.pdf does not talk much about it.

Any help?
Thank you for your great job.

New Utility to automate 'black box' configuration

Ken,

I'd love to see you add a utility which could be accessed from you pp_editor, which would allow the user to check some boxes and then would write all of the files necessary to stop the screensave, stop screen blanking, autostart the program with a selected show, etc., all of the options needed to make things totally automatic....

That would be a big help to people trying to create standalone pi's with running pipresents packages.

It would minimize the amount of linux one would have to learn in order to use your product. I'm not against learning linux..... but not all museum people, arts center people, etc. will have to time to learn enough to solve all of these little problems...

thanks

David Guest.

delapluma

In our museum I use the pipresents autoplay blackbox configuration starting a single movie with a PIR connected to pin 11 of the raspberry gpio connector.
It triggers ok. But when it triggers again during play, the movie starts again within the playing movie.
The same problem exists when using a switch. When pressed again during the play, the movie starts again within the playing movie.
I can partly solve it by switching the PIR to non-retriggerable and setting the time delay of the PIR to the length of the movie. However the time-delay of the is limited to 300 seconds.

I looked into media_show.py program to look for a variable that is set during ‘play’ for using this variable to inhibit the gpio pin 11 to sense the PIR.
However my knowledge of python is poor.

So the question is:
Is it possible to adapt ‘pipresents’ in such way that, when starting a blackbox configuration in autoplay (triggered by PIR or switch) the trigger on pin 11 is inhibited during the play of the movie.

I hope I provided sufficient info and I hope to hear from you soon.

Hangs after running for a while

I believe there may be a problem with the video player. In running 24/7, the program hangs after a while, time is unpredictable. If I restart without rebooting the program then hangs when it tries to display the video... After reboot it is okay for a while...
I was using a memory split of 256 ... going to change to default of 64 and try again....

.mov files not supported

omxplayer has no problem playing .mov files. When you try to add a .mov track you get a "file extension not recognized." It's a common video format actually. Any chance we can get a fix? I just downloaded the latest (v 1.1.2b according to the changelog) yesterday.

fullscreen argument

hello

bravo for this work it's just perfect !!!!
i'm try using pi present and the fullscreen but can you give me an example for the syntax of the argument ?
i try that --fullscreen [{0, 10, 0, 1024}] but that doesn't work..

thank

olivier

Mouse Support?

is it possible to have both mouse support and have the slides move forward automatically. I the default "auto" progress behaviour but with the mouse as opposed the the arrow keys.

Any ideas?

Disable osd (on screen display) in omxplayer

Jumping to different chapters allows me to jump during the "idle" part of the video to the "action" portion without a gap (as opposed to creating different tracks for the "idle" video and "action" video).
However, a large "Chapter 2" display appears at the bottom of the screen when chapters are changed. Is there a way to disable this on screen display?
According to https://github.com/popcornmix/omxplayer there is an option:
--no-osd Do not display status information on screen

Playing Medialist items randomly

Hi Ken,
I just started experimenting Raspberry Pi, and my first project is pipresents.
Thank you very much for your contribution.
I just tried the various examples, having in mind an actual implementation requiring a shuffled play of the medialist items the next time it is played.
Could you advice on how this can be done?
Many thanks,
Shlomi.

Gpio + But

Where are the button (but) definitions located? e.g. but1, 2, 3, 4 in radiobuttonshow refer to what gpio pins. I notice there is a file pp_buttons.py at GitHub but there is no such file in my download. Does this have anything to do with the button definitions? And where are pp-key-1 etc defined?

Trigger Medialist with Hotkeys

Hi Ken,

First, thank you for doing this work. I'm just getting started with the Raspberry Pi and this is my first project. I really appreciate what you are doing.

I'm wondering if you would consider adding the ability to trigger particular mediashows through hotkeys. For example, pressing "1" triggers welcome.json.

I'd like to do this so that I could use a cheap android tablet with a custom keyboard remote app. Then users would have a visual display of the sequences available for them to watch and could access them with a single touch.

Thank you,
Ian

Duration increases

I have been running a mediashow for a couple of hours. The maximum duration of display is 5 seconds. Now I notice that the duration far exceeds that ... some of them getting up to about 15 seconds ... Are your timing variables being reinitialized?

shutdown

When pin 12 is left down for 5 sec, show exits to terminal prompt but does not shut down the pi, and a message "invalid option shutdown -- ' ' "

omx run-time commands not working in gapless ver 1.3

I was successfully able to trigger next and previous chapters in the "next" version. The bindings in controls.cfg allowed me to assign
nextchapter = omx-i
prevchapter = omx-o

In the gapless version 1.3, I placed the runtime controls in the controls tab in the track (I also tried using the controls tab in the show).
nextchapter omx-i
prevchapter omx-o
but this does not work.

the pause control does work however.
Skipping chapters is important as it allows me to run a video, and jump back to the 1st chapter before the "action" part of the video begins. When triggered, it would jump forward to the 2nd chapter to the action part of the video.

subtitles

Hello KenT2,
To be able to make my own track with subtitle in PIpresents, I would like to be informed how to do this.
I have a MP4 track and made an SRT (subtitle) file for this track.
I managed to make a RaspberryPI-blackbox for the MP4 track, starting with a button.
Now I want to add the SRT (subtitle) to the MP4
Using PIPRESENTS I found out in one of your examples 'pp_mediashow' track 'Suits-short.mkv' that I can turn off/on subtitle in pp_profiles/pp_mediashow/pp_showlist.json, deleting or adding "-t 1" to "OMX-OTHER-OPTIONS":
I tried to locate the subtitle of "Suits-short.mkv", however I am stuck here. I can not figure out how the subtitle is switched on or off, where the subtitle is located and what file-extension it should have.
I hope you can help me here. Thanks on beforehand.
Ed

Make Pi Presents Occupy the Whole Screen

I have a problem with this. I exactly followed the steps in section 5.6 of the manual. But the file /home/pi/.config/openbox/lxde-rc.xml is not present yet on my installation. I don't even have a openbox folder in my .config directory.

I tried adding a new lxde-rc.xml with the content below but that didn't work.

Do you have a clue how to fix this?
Thx.

<applications>
<application name="fspipresents">
<decor>no</decor>
</application>
</applications>

Enhance messageplayer with background colour and image

You suggested using images instead of messages ....

I find the messages to be marvelously easy to use. I would suggest, however, that you add two features to them...

  1. Allow the user to select a background color

  2. Allows the user to select a background image.

These two enhancements would make messages look as elegant as the rest of presented material....

While you are at it ... allow the user to add a title to an image, displayed either at the top or bottom of the image. In museum applications, this would make showing a series of images perhaps more effective....

Thanks for a wonderful product.... I have a nice show running 24/7 waiting for a meeting next week with our director of marketing....

David Guest

Compatibility with Powerpoint remote control

Powerpoint can advance and reverse slides using a number of different keystrokes including page up/page down, arrow left/arrow right, spacebar/backspace as well as arrow up/arrow down. Pipresents can only advance tracks manually using arrow up/arrow down. I recently purchased a Logitech R400 Wireless Presenter which I planned to use with Pipresents once I have my presentation fully configured. The remote does not work with Pipresents as it uses page up/page down to advance slides. It would be great if additional keys could be mapped for Pipresents functions to make it more compatible with remotes used for presentation software like Powerpoint, Impress etc.
I have been testing Pipresents with a mixture of tracks including slides, messages and videos. So far it has been operating flawlessly without a single crash. Great work!

Bye the way - since posting this request I have found a workaround. I can use the Logitech remote with Pipresents by remapping keystrokes with xmodmap..

H.264 Video hangs after short (random) period of time

Ken;
First of all, fantastic software. Well done!
I'm playing an artliveshow, from a folder (which I have shared over SMB so I can add video files to it).
Playing H.264 encoded 1080p video and the omxplayer seems to hang relatively quickly though without throwing the error "omxplayer has encountered an error etc...". It just freezes, pipresents can be restarted.
I've also tried the fix highlighted in issue #6, but to no avail.
This happens on no specific video but does seem to happen less than 10 minutes into playback.
I've tried changing the video allocation to anything between 512 and 64 and it seems to make no difference.
Thoughts?

Many thanks again
alex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.