SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-10-2017, 10:28 AM
PeteCress's Avatar
PeteCress PeteCress is offline
Sage Fanatic
 
Join Date: Jan 2009
Location: Paoli, PA - USA, AKA "The Navel Of The Universe"
Posts: 796
SlideShow: Tips & Tricks for Randomizing?

I find the SlideShow tb a killer feature - everybody in the family enjoys watching those old photos when the HD200 is quiesced.

Problem is that "Random" is not really random: certain groups of photos come up way, way, way too often and others never come up at all.

At first I suspected something about directories and subdirectories - so I copied all 10,000 of my photos into a temporary share - totally flat, no directories - just for Sage.

But no joy - it still dwells on certain photos, showing them over-and-over again while not showing many others.

Does anybody have any suggestions?
__________________
Server: SageTV 7, Windows 7, Intel i7 @3.5GHz, 8 GB RAM, 80-gig SSD drive
Clients: HD200*4 over Cat5e Ethernet + Asus Zen running Client over WiFi-ac + 1 HD200 remote at another residence
Plugins: (none yet, looking for recommendations)
Storage: NetGear Ultra-6 NAS 10 TB total w/dual redundancy. Plus (3) 2-tb local drives for RecordedTV.
Capture: 3 Silicon Dust HomeRun tuner boxes (6 tuners total)
Program Source: OTA antenna

Last edited by PeteCress; 11-10-2017 at 02:51 PM.
Reply With Quote
  #2  
Old 11-10-2017, 11:26 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 6,610
I agree about the value of the slideshow - it is a great way to get to enjoy your photos.

And I agree with you that they don't seem to be random, but no suggestions on how to fix it here.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #3  
Old 11-11-2017, 08:05 PM
kenP kenP is offline
Sage User
 
Join Date: Oct 2008
Location: DFW, Tx
Posts: 46
ditto here

One of our most favorite features! but sage loves some pictures more than others
Reply With Quote
  #4  
Old 11-12-2017, 04:09 PM
egeller egeller is offline
Sage Advanced User
 
Join Date: Feb 2006
Location: Drexel Hill, PA
Posts: 239
Speaking as a non-developer, sounds like someone should open an issue on Github, where the developers will see it. Unfortunately, I have no clue how to do that.
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT
SageTV Extender:3x HD200 1x HD300
Sage TV: 9.2.1, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, YouTube2015, Playon
All in lovely Drexel Hill, PA
Reply With Quote
  #5  
Old 11-12-2017, 06:11 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,086
Looking in the STV, it looks like the randomization is using a Java function:

Code:
           <Action Name="java_util_Collections_shuffle(SlideshowImages)" Sym="OPUS4A-114918"/>
which is:
Code:
java.util.Collections.shuffle
I'm not sure what else can be done to 'help' it be more random.
Reply With Quote
  #6  
Old 11-12-2017, 08:49 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,826
Quote:
Originally Posted by wayner View Post
I agree about the value of the slideshow - it is a great way to get to enjoy your photos.

And I agree with you that they don't seem to be random, but no suggestions on how to fix it here.
I love the slideshow too. The apparent non-randomness has been brought up before and most people thought it really was random but our brains do not see it that way I'm not sure if I agree or not.

I looked into the Shuffle method a little in the past and the developer community all assured me that it really was random.

Oh, I have 54,123 photos in my collection.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.

Last edited by tmiranda; 11-12-2017 at 08:55 PM.
Reply With Quote
  #7  
Old 11-12-2017, 10:13 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 301
Quote:
Originally Posted by tmiranda View Post
I love the slideshow too. The apparent non-randomness has been brought up before and most people thought it really was random but our brains do not see it that way I'm not sure if I agree or not.

I looked into the Shuffle method a little in the past and the developer community all assured me that it really was random.

Oh, I have 54,123 photos in my collection.
To settle this debate, maybe we need a plugin to report on the number of times each picture has been used in the slideshow.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #8  
Old 11-13-2017, 06:41 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 1,816
Quote:
Originally Posted by wnjj View Post
Looking in the STV, it looks like the randomization is using a Java function:

Code:
           <Action Name="java_util_Collections_shuffle(SlideshowImages)" Sym="OPUS4A-114918"/>
which is:
Code:
java.util.Collections.shuffle
I'm not sure what else can be done to 'help' it be more random.
When is shuffle being called?

If each time you pick an image to display you use a randomization function to select it, you have the possibility to show the same image multiple times in a row (the same way you could get "heads" multiple times in a row when flipping a coin).

If you call it once when the show first starts to create a random sorted playlist, you shouldn't see duplicates during a single show. But each time you restart the show it would be reshuffled and it is possible that some of the same items could come up near the beginning of the list each time.

If you call it once to create a randomized playlist the first time a slideshow is displayed and then keep track of where you leave off so you can resume from that point the next time a slideshow is displayed, you would ensure that every photo is displayed and in random order. Once you got to the end of the playlist, you could shuffle again so the order would be different the next time through.
__________________
Server: Athlon II X4 630 CPU, Gigabyte MA770T-UD3P (AM3) Motherboard, VisionTek Radeon HD4670 PCIe w/ Component output to 50" CRT Rear-Projection HDTV (Mitsubishi), Win7-64Bit (Home Premium), 4GB RAM
Capture Devices (8 tuners): Colossus (x1), HD-PVR (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250
Reply With Quote
  #9  
Old 11-13-2017, 09:56 AM
wubdich's Avatar
wubdich wubdich is offline
Sage Advanced User
 
Join Date: Sep 2009
Location: Germany
Posts: 235
I would prefer to avoid to much randomness ... my ideal conception is:
-> starting at a random startpoint is ok
-> then 5 or 10 (config option would be nice) follow up photos should be shown
-> jumping to a new startpoint afterwards is ok
Chosing a random photo on each transition is a little bit to much randomness for me.
Reply With Quote
  #10  
Old 11-13-2017, 10:34 AM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,086
Quote:
Originally Posted by wubdich View Post
I would prefer to avoid to much randomness ... my ideal conception is:
-> starting at a random startpoint is ok
-> then 5 or 10 (config option would be nice) follow up photos should be shown
-> jumping to a new startpoint afterwards is ok
Chosing a random photo on each transition is a little bit to much randomness for me.
The "random = no" setting seems to do that. It picks random sets of pictures and cycles through them. We like seeing a series from a vacation, holiday, etc. I don't know if it's because we file pictures into subfolders. Maybe it's picking random folders.
Reply With Quote
  #11  
Old 11-13-2017, 12:51 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,826
Quote:
Originally Posted by Tiki View Post
When is shuffle being called?

If each time you pick an image to display you use a randomization function to select it, you have the possibility to show the same image multiple times in a row (the same way you could get "heads" multiple times in a row when flipping a coin).

If you call it once when the show first starts to create a random sorted playlist, you shouldn't see duplicates during a single show. But each time you restart the show it would be reshuffled and it is possible that some of the same items could come up near the beginning of the list each time.

If you call it once to create a randomized playlist the first time a slideshow is displayed and then keep track of where you leave off so you can resume from that point the next time a slideshow is displayed, you would ensure that every photo is displayed and in random order. Once you got to the end of the playlist, you could shuffle again so the order would be different the next time through.
It calls the random method once just before the menu is loaded (screen saver or slideshow). The logic is:

- Read the metadata for the photos.
- Randomize them.
- Sequentially display all of the photos in the randomized list.

So if you start the slideshow and wait long enough, all of the photos will be displayed exactly once. When that is done they will repeat.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux OEM Server Tips and Tricks bcjenkins SageTV Linux 10 09-27-2009 07:25 AM
Useful SageMC Tips, Tricks, and Information MeInMaui SageMC Custom Interface 0 04-10-2008 01:58 PM
Link on Tips and Tricks wrong revo2001 General Discussion 1 12-28-2005 03:40 PM
Cayars: FAQs / Tips & Tricks Cayars SageTV Customizations 1 01-14-2005 06:47 AM


All times are GMT -6. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.