Slideshow restarts before reaching end of pictures

1.12K viewsDigital signage
0

Slideshow restarts before reaching end of pictures. It will restart in the same place each time. I have attempted to remove the photo after the one that shows and the one that is on the screen when it reboots but then it just changes to a new photo and restarts on that same photo each time.

Answered question
0

How many pictures is Raspberry Slideshow playing? If 3, it means you have deployed the Sourceforge version instead of the donors’ one, please double check this before all.

Otherwise, first of all please enable the DEBUG mode: how many files are listed in the playback queue? If more than the ones actually played, try this setup.

Posted new comment

It varies from but this current one is getting stuck on the 18th picture I believe. However if I delete that photo it gets stuck on a different number. I have increasted the gpu_mem=128 in the boot/config.txt and rebooted the unit and it did not fix the issue. It loads 20 images according to rs.log

Please paste here the complete log.

root@raspberry-slideshow:~# cat /var/log/rs.log
=> [System_mountFirstFoundUsbDevice] Mounting the plugged-in USB key’s first partition…
===> No available USB block device found (no USB key inserted or recognized). Proceeding with cached content, if any.
===> Fetching /tmp/1570137727/01_insurance card.png.
‘/tmp/1570137727/01_insurance card.png’ -> ‘/tmp/imgs3/01_insurance_card.png’
===> Fetching /tmp/1570137727/02_FoC_Niki_slide1920x1080.png.
‘/tmp/1570137727/02_FoC_Niki_slide1920x1080.png’ -> ‘/tmp/imgs3/02_FoC_Niki_slide1920x1080.png’
===> Fetching /tmp/1570137727/03_medical chaperone slides1.png.
‘/tmp/1570137727/03_medical chaperone slides1.png’ -> ‘/tmp/imgs3/03_medical_chaperone_slides1.png’
===> Fetching /tmp/1570137727/04_medical chaperone slides2.png.
‘/tmp/1570137727/04_medical chaperone slides2.png’ -> ‘/tmp/imgs3/04_medical_chaperone_slides2.png’
===> Fetching /tmp/1570137727/05_medical chaperone slides3.png.
‘/tmp/1570137727/05_medical chaperone slides3.png’ -> ‘/tmp/imgs3/05_medical_chaperone_slides3.png’
===> Fetching /tmp/1570137727/06_Get There 2019_Slides 4_1920x1080.png.
‘/tmp/1570137727/06_Get There 2019_Slides 4_1920x1080.png’ -> ‘/tmp/imgs3/06_Get_There_2019_Slides_4_1920x1080.png’
===> Fetching /tmp/1570137727/07_FoC_Jim_slide-compressed.png.
‘/tmp/1570137727/07_FoC_Jim_slide-compressed.png’ -> ‘/tmp/imgs3/07_FoC_Jim_slide-compressed.png’
===> Fetching /tmp/1570137727/08_2018-11-2 confidentiality slide-01.png.
‘/tmp/1570137727/08_2018-11-2 confidentiality slide-01.png’ -> ‘/tmp/imgs3/08_2018-11-2_confidentiality_slide-01.png’
===> Fetching /tmp/1570137727/09_ZAP 2019-20 Slides_1920x1080.png.
‘/tmp/1570137727/09_ZAP 2019-20 Slides_1920x1080.png’ -> ‘/tmp/imgs3/09_ZAP_2019-20_Slides_1920x1080.png’
===> Fetching /tmp/1570137727/10_FoC_Sue_slide-01-compressed.png.
‘/tmp/1570137727/10_FoC_Sue_slide-01-compressed.png’ -> ‘/tmp/imgs3/10_FoC_Sue_slide-01-compressed.png’
===> Fetching /tmp/1570137727/11_WA recruit.png.
‘/tmp/1570137727/11_WA recruit.png’ -> ‘/tmp/imgs3/11_WA_recruit.png’
===> Fetching /tmp/1570137727/12_FBC 2019 Slides_1920x1080.png.
‘/tmp/1570137727/12_FBC 2019 Slides_1920x1080.png’ -> ‘/tmp/imgs3/12_FBC_2019_Slides_1920x1080.png’
===> Fetching /tmp/1570137727/13_privacy.png.
‘/tmp/1570137727/13_privacy.png’ -> ‘/tmp/imgs3/13_privacy.png’
===> Fetching /tmp/1570137727/14_FoC_Kim_slide-01_compressed.png.
‘/tmp/1570137727/14_FoC_Kim_slide-01_compressed.png’ -> ‘/tmp/imgs3/14_FoC_Kim_slide-01_compressed.png’
===> Fetching /tmp/1570137727/15_Recovery meetings Slide2.png.
‘/tmp/1570137727/15_Recovery meetings Slide2.png’ -> ‘/tmp/imgs3/15_Recovery_meetings_Slide2.png’
===> Fetching /tmp/1570137727/16_f19_expo_screen-01.png.
‘/tmp/1570137727/16_f19_expo_screen-01.png’ -> ‘/tmp/imgs3/16_f19_expo_screen-01.png’
===> Fetching /tmp/1570137727/17_f19_gadj_screen-02.png.
‘/tmp/1570137727/17_f19_gadj_screen-02.png’ -> ‘/tmp/imgs3/17_f19_gadj_screen-02.png’
===> Fetching /tmp/1570137727/18_CRC_Slide-01.png.
‘/tmp/1570137727/18_CRC_Slide-01.png’ -> ‘/tmp/imgs3/18_CRC_Slide-01.png’
===> Fetching /tmp/1570137727/Thumbs.db.
‘/tmp/1570137727/Thumbs.db’ -> ‘/tmp/imgs3/Thumbs.db’
===> Network share hash: f71df59fb40fb2a891691c625b5480c19d2b58a6372759c4ef2ec1f1de688ceb.
=> [System_mediaInformationsShow] The following images will be slided:
* 01_insurance_card.png
* 02_FoC_Niki_slide1920x1080.png
* 03_medical_chaperone_slides1.png
* 04_medical_chaperone_slides2.png
* 05_medical_chaperone_slides3.png
* 06_Get_There_2019_Slides_4_1920x1080.png
* 07_FoC_Jim_slide-compressed.png
* 08_2018-11-2_confidentiality_slide-01.png
* 09_ZAP_2019-20_Slides_1920x1080.png
* 10_FoC_Sue_slide-01-compressed.png
* 11_WA_recruit.png
* 12_FBC_2019_Slides_1920x1080.png
* 13_privacy.png
* 14_FoC_Kim_slide-01_compressed.png
* 15_Recovery_meetings_Slide2.png
* 16_f19_expo_screen-01.png
* 17_f19_gadj_screen-02.png
* 18_CRC_Slide-01.png

=> [System_mediaInformationsShow] The following videos will be slided:

=> [System_mediaInformationsShow] Refresh time set: 3600s

Sliding the following images:
/tmp/imgs3/01_insurance_card.png
/tmp/imgs3/02_FoC_Niki_slide1920x1080.png
/tmp/imgs3/03_medical_chaperone_slides1.png
/tmp/imgs3/04_medical_chaperone_slides2.png
/tmp/imgs3/05_medical_chaperone_slides3.png
/tmp/imgs3/06_Get_There_2019_Slides_4_1920x1080.png
/tmp/imgs3/07_FoC_Jim_slide-compressed.png
/tmp/imgs3/08_2018-11-2_confidentiality_slide-01.png
/tmp/imgs3/09_ZAP_2019-20_Slides_1920x1080.png
/tmp/imgs3/10_FoC_Sue_slide-01-compressed.png
/tmp/imgs3/11_WA_recruit.png
/tmp/imgs3/12_FBC_2019_Slides_1920x1080.png
/tmp/imgs3/13_privacy.png
/tmp/imgs3/14_FoC_Kim_slide-01_compressed.png
/tmp/imgs3/15_Recovery_meetings_Slide2.png
/tmp/imgs3/16_f19_expo_screen-01.png
/tmp/imgs3/17_f19_gadj_screen-02.png
/tmp/imgs3/18_CRC_Slide-01.png
Total duration: 190
Sliding the following images:
/tmp/imgs3/01_insurance_card.png
/tmp/imgs3/02_FoC_Niki_slide1920x1080.png
/tmp/imgs3/03_medical_chaperone_slides1.png
/tmp/imgs3/04_medical_chaperone_slides2.png
/tmp/imgs3/05_medical_chaperone_slides3.png
/tmp/imgs3/06_Get_There_2019_Slides_4_1920x1080.png
/tmp/imgs3/07_FoC_Jim_slide-compressed.png
/tmp/imgs3/08_2018-11-2_confidentiality_slide-01.png
/tmp/imgs3/09_ZAP_2019-20_Slides_1920x1080.png
/tmp/imgs3/10_FoC_Sue_slide-01-compressed.png
/tmp/imgs3/11_WA_recruit.png
/tmp/imgs3/12_FBC_2019_Slides_1920x1080.png
/tmp/imgs3/13_privacy.png
/tmp/imgs3/14_FoC_Kim_slide-01_compressed.png
/tmp/imgs3/15_Recovery_meetings_Slide2.png
/tmp/imgs3/16_f19_expo_screen-01.png
/tmp/imgs3/17_f19_gadj_screen-02.png
/tmp/imgs3/18_CRC_Slide-01.png
Total duration: 190
Sliding the following images:
/tmp/imgs3/01_insurance_card.png
/tmp/imgs3/02_FoC_Niki_slide1920x1080.png
/tmp/imgs3/03_medical_chaperone_slides1.png
/tmp/imgs3/04_medical_chaperone_slides2.png
/tmp/imgs3/05_medical_chaperone_slides3.png
/tmp/imgs3/06_Get_There_2019_Slides_4_1920x1080.png
/tmp/imgs3/07_FoC_Jim_slide-compressed.png
/tmp/imgs3/08_2018-11-2_confidentiality_slide-01.png
/tmp/imgs3/09_ZAP_2019-20_Slides_1920x1080.png
/tmp/imgs3/10_FoC_Sue_slide-01-compressed.png
/tmp/imgs3/11_WA_recruit.png
/tmp/imgs3/12_FBC_2019_Slides_1920x1080.png
/tmp/imgs3/13_privacy.png
/tmp/imgs3/14_FoC_Kim_slide-01_compressed.png
/tmp/imgs3/15_Recovery_meetings_Slide2.png
/tmp/imgs3/16_f19_expo_screen-01.png
/tmp/imgs3/17_f19_gadj_screen-02.png
/tmp/imgs3/18_CRC_Slide-01.png
Total duration: 190
Sliding the following images:
/tmp/imgs3/01_insurance_card.png
/tmp/imgs3/02_FoC_Niki_slide1920x1080.png
/tmp/imgs3/03_medical_chaperone_slides1.png
/tmp/imgs3/04_medical_chaperone_slides2.png
/tmp/imgs3/05_medical_chaperone_slides3.png
/tmp/imgs3/06_Get_There_2019_Slides_4_1920x1080.png
/tmp/imgs3/07_FoC_Jim_slide-compressed.png
/tmp/imgs3/08_2018-11-2_confidentiality_slide-01.png
/tmp/imgs3/09_ZAP_2019-20_Slides_1920x1080.png
/tmp/imgs3/10_FoC_Sue_slide-01-compressed.png
/tmp/imgs3/11_WA_recruit.png
/tmp/imgs3/12_FBC_2019_Slides_1920x1080.png
/tmp/imgs3/13_privacy.png
/tmp/imgs3/14_FoC_Kim_slide-01_compressed.png
/tmp/imgs3/15_Recovery_meetings_Slide2.png
/tmp/imgs3/16_f19_expo_screen-01.png
/tmp/imgs3/17_f19_gadj_screen-02.png
/tmp/imgs3/18_CRC_Slide-01.png
Total duration: 190
Sliding the following images:
/tmp/imgs3/01_insurance_card.png
/tmp/imgs3/02_FoC_Niki_slide1920x1080.png
/tmp/imgs3/03_medical_chaperone_slides1.png
/tmp/imgs3/04_medical_chaperone_slides2.png
/tmp/imgs3/05_medical_chaperone_slides3.png
/tmp/imgs3/06_Get_There_2019_Slides_4_1920x1080.png
/tmp/imgs3/07_FoC_Jim_slide-compressed.png
/tmp/imgs3/08_2018-11-2_confidentiality_slide-01.png
/tmp/imgs3/09_ZAP_2019-20_Slides_1920x1080.png
/tmp/imgs3/10_FoC_Sue_slide-01-compressed.png
/tmp/imgs3/11_WA_recruit.png
/tmp/imgs3/12_FBC_2019_Slides_1920x1080.png
/tmp/imgs3/13_privacy.png
/tmp/imgs3/14_FoC_Kim_slide-01_compressed.png
/tmp/imgs3/15_Recovery_meetings_Slide2.png
/tmp/imgs3/16_f19_expo_screen-01.png
/tmp/imgs3/17_f19_gadj_screen-02.png
/tmp/imgs3/18_CRC_Slide-01.png
Total duration: 190

Of these 18 only 17 slide and the 17th seems to abruptly end to a black screen and the slideshow restarts from the beginning.

Mh.. It seems the timer of your Pi isn’t counting well…

Please try modifying the “method” System_playAllOnce in /usr/lib/rs/class/System.sh, line:

let sleepTime_ms=imageFilesNumber*imageTime_ms-BLEND_TIME_MS

To:

let sleepTime_ms=imageFilesNumber*imageTime_ms-BLEND_TIME_MS+SOME_PADDING_VALUE

where SOME_PADDING_VALUE = 10000 or 20000, according to the result of your tests on your Pi.

Adding 20000 seemed to help so I went to 25000 and that seemed to do the trick.

Thanks for your feedback.

Thank you for troubleshooting the issue! Very pleased with your product!

You are viewing 1 out of 2 answers, click here to view all answers.