using image directory widget on multiple presentations does not work

  • 2
  • Problem
  • Updated 3 years ago
  • Acknowledged
I have a platform consisting of a raspberry pi2 with the chrome player app.
I have a schedule with two presentations in it.  Each presentation runs for 5 minutes.
The first presentation consists of an image directory widget in a placeholder which is showing two images.  The images are set to display each image for 30 seconds before toggling to the next.

The second presentation consists of two image directory widgets in two different placeholders.
The first image placeholder has about 5 images set to display each image for 10 seconds.
The second image placeholder has about 10 images in the directory each set to display each image for 10 seconds. All placeholder's with the image directory widget are using Rise storage.

When I run the schedule, the first presentation displays the two images one after the other, displaying for 30 seconds as expected.  This presentation works fine.

The second presentation does not work correctly when it runs.  It picks a random image for the first placeholder, picks a random image for the second placeholder.  But the images in the first and second placeholder never change.  They should be changing once every 10 seconds toggling the images in the two placeholder's of the presentation.

This seems to work when I preview it.  It fails on the raspberry pi2 with the chrome player app.
I am new to this, and I cannot figure out what could be wrong.
Photo of Gary Buck

Gary Buck

  • 300 Points 250 badge 2x thumb

Posted 3 years ago

  • 2
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Hi Gary,

By "Image Directory Widget", do you mean Image Folder Widget?

Keep in mind, if you're displaying images by date, it will display by date of upload. If all of your images are dated May 26th, 2015, they could play in a random order. If you prefer your images to display in a specific order, I recommend you name them alphabetically, then configure the widget to display it as such.

I am unable to replicate the issue you are seeing where only one, random image is displayed on a presentation. It could be related to the Raspberry Pi hardware that you are running. We don't test on Raspberry Pi so it is hard to say. Could you create another display on your account and install the player on your computer? That should tell us if this is related to the Raspberry Pi hardware.
Photo of Gary Buck

Gary Buck

  • 300 Points 250 badge 2x thumb
Hi Blake;
Yes, I did mean the Image Folder Widget.

I have tried my presentations on a Windows 7 computer and all the presentations worked. I also tried my presentations on a Mac Laptop and all the presentations worked.

I have tried a number of the widgets on the Raspberry Pi 2 and have had very little success with them working.  I have tried the Vimeo HTML5 widget, HTML5 Video Widget, and the Image Folder Widget all of which had problems on the Raspberry Pi 2.  With so many of the widgets not working on Raspberry Pi 2 why do you make so many references to it on the Risen Web Site.  I think the Raspberry Pi 2 is useless with these widgets not working properly and you should not be advertising it on the Web Site because it does not work.


I was doing this for our church where we have a need for two displays but our church cannot afford a media player that costs over $400 a piece.  Without the Raspberry Pi 2 not working we will not be able to afford media players to use for the displays.  Is there anybody who can help with resolving these problems with the Raspberry Pi 2?  Otherwise we will probably have to scrap the project....

-Gary
Photo of Gary Buck

Gary Buck

  • 300 Points 250 badge 2x thumb
Hi Blake;
I spoke a little to soon.

I decided to run my schedule on my Mac laptop.  I ran it three times.
The first time I ran it for a couple of hours with no problem.
The second time I ran it, the images hung after about an hour.
The third time I ran it, the images hung after about 15 minutes.

The first presentation consists of image folder  widget that transitions between two images every 30 seconds.
The first presentation also has a weather widget, vimeo html widget, scrolling news feed text widget, world clock widget, and a couple of text widgets for headers.


The second presentation consists of two image folder  widgets each transitioning after 10 seconds, a google calendar widget which scrolls the church calendar, and a couple text widgets for headers.

Like I said the first time I ran for two hours with all the widgets working properly and the presentations changing every 5 minutes.

The second time I ran it for an hour.  After an hour the vimeo html widget had hung with the widget showing the beginning of video.  Apparently it had got hung when the vimeo movie started over.  Everything else in the first presentation was still running including toggling between the presentations every 5 minutes.  In the second presentation the two image folder widgets were hung and where no longer changing but the google calendar widget was continuing to run.

The third time I could run for only 15 minutes with the two presentations locking up in the same identical way as the last run.  This is similar behavior that I saw on the Raspberry Pi 2 platform.

Do you do testing over long time periods because this problem appears to be intermittent on some platforms?

I think you may have a threading issue in your chrome player app.
This is running on a Mac Pro laptop with i7 core running at 3.0Ghz

Where do we go from here?
Photo of Gary Buck

Gary Buck

  • 300 Points 250 badge 2x thumb
Is there anybody at Risen looking at the problem? I have been able to duplicate this problem both on my Mac Pro laptop and my rasberry pi 2.  This is not a problem with the hardware.   The problem gets worse the more image folder widget's you add to the second presentation window.  Also the problem sometimes shows up running the display for an extended amount of time such as for 1 to 4 hours.  This problem always shows up for me in that the second presentation with 2 or more imade folder widgets does not toggle the images they just never change.

I am willing to give you the display number if you want to try my configuration to duplicate the problem.

Thanks,
-Gary
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Hi Gary,

Could you please attach a link to a preview of the schedule or presentation you're having the issue with?

Thanks!
Photo of Gary Buck

Gary Buck

  • 300 Points 250 badge 2x thumb

Hi Blake;

Here is a link to the schedule,

http://rva.risevision.com/#/SCHEDULE_MANAGE/id=e3e41761-71a4-46f4-9559-9d0400a0ab4d?cid=44cb8016-a7d...

Here is the link to the first presentation preview that works:

http://preview.risevision.com/Viewer.html?type=presentation&id=8579d962-d2c0-422c-89bb-801f3ab1b...

http://rva.risevision.com/#/PRESENTATION_MANAGE/id=8579d962-d2c0-422c-89bb-801f3ab1b2f5?cid=44cb8016...

Here is the link to the second presentation preview that fails with 4 image folder widgets:

http://preview.risevision.com/Viewer.html?type=presentation&id=1f266f39-4513-4ad5-9057-3eb7180be...

http://rva.risevision.com/#/PRESENTATION_MANAGE/id=1f266f39-4513-4ad5-9057-3eb7180befda?cid=44cb8016...

I hope these are the links you wanted


Thank you for looking into this.  Also this is still prototype code on my part since I am still trying to figure out what we want for our church

Thanks,

-Gary

Photo of Bryant Beers

Bryant Beers

  • 582 Points 500 badge 2x thumb
I just wanted to chime in here on the Image Folder Widget issue. I too cannot get the folder widget to work correctly better then 70% of the time. Sometimes I have to switch between play until done and setting a specific time for it to work correctly. Most times if you have more than one image folder widget in a single presentation, it will fail all the time. Reboots of my Chromeboxes do not fix this. 

It really is hit or miss with this widget. I'd love to use it, but it's too unreliable right now to even consider anymore. 
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Gary and Bryant,

Thanks for the extra information. I've got this running locally right now to see if I can pin down a reason for the unexpected results you're seeing. If needed, I'll log an issue for our developers and get back here with the results.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
I have been able to replicate this issue and have logged a bug for our developer. You can track this bug at https://github.com/Rise-Vision/widget-image-folder/issues/15. Thanks again for making us aware of this issue!
Photo of Gary Buck

Gary Buck

  • 300 Points 250 badge 2x thumb
Thanks Bryant for taking the time to invetiagate this!  Hopefully it will be a simple fix.
-Gary 
Photo of Bryant Beers

Bryant Beers

  • 582 Points 500 badge 2x thumb
No problem at all. The image folder widget is such a crucial part of running my content. It's just so unreliable :/
Photo of Don Yost

Don Yost

  • 184 Points 100 badge 2x thumb
I think I'm having a similar problem.

I created two presentations using the folder widget. Then, in schedules, I combined the two presentations.  I want the files in folder #1 to run in alphabetical order and then the files in folder #2 to run in alphabetical order. But when I preview in Chrome, the order of the slides is messed up. I'm not sure it's random, but it doesn't follow the alphabetical order of the files in each folder. I made sure that the names of the files in the two folders will give the right order even in the names are combined. In other words, the files could be dumped into the same folder and if sorted alphabetically, they would still be in the right order. I also checked to make sure that the folder widget in each of the two presentations is set to A-Z order. How can I get a schedule that will run the files in alphabetical order?
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Don, I was about to reply on the other thread that you mentioned this.

At this time, sorting does not function as intended with the Image Folder Widget, we have a separate bug logged for that here.
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Bryant,

Would you mind sharing a preview to either a presentation that you are experiencing this issue in, or a preview of a schedule? I am having problem replicating this bug from scratch, but have been able to see what Gary is talking about.

Thanks!