Author Topic: Screensaver auto advance time (basic movie)  (Read 5423 times)

steve88

  • Newbie
  • *
  • Posts: 5
    • View Profile
Screensaver auto advance time (basic movie)
« on: May 12, 2021, 08:59:10 AM »
Hello everyone! I would like to ensure that in screen saver mode, after a few seconds the video is replaced with the following. This is because videos often last up to 1 minute, and since there are so many games I would like them to flow faster. Do you think it is possible? If so, how? Thank you all!

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Screensaver auto advance time (basic movie)
« Reply #1 on: May 14, 2021, 01:33:55 PM »
do you mean:
the video should change after a specific time (instead of complete it / play it to end)?

for example: a game video file (with 60 seconds playtime) have to end after 10 seconds > then the next video plays (10 seconds long) > next video after 10 seconds > and so on?
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

steve88

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Screensaver auto advance time (basic movie)
« Reply #2 on: May 17, 2021, 04:37:43 AM »
exactly, I would like the videos to advance every x seconds regardless of the length of the video. I think it is a very useful feature, as if a video lasted many minutes, the demonstration functionality of the screensaver would be rendered almost useless.

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Screensaver auto advance time (basic movie)
« Reply #3 on: May 18, 2021, 10:35:21 AM »
the sourcecode of screensaver is found here:
your_AM_folder\screensaver\screensaver.nut

there exists various variables:
in_time, out_time, duration, elapsed, start_time, ttime, and so on.

Probably if one of these variables is set to 10000 (10 seconds) or via a simple math calculation gives the result of 10 for endtime, it will work.
But I can't program squirrel language and can't help.
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

steve88

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Screensaver auto advance time (basic movie)
« Reply #4 on: May 18, 2021, 12:28:24 PM »
thanks! Unfortunately I don't know how to do it.  :'(

kent79

  • Hero Member
  • *****
  • Posts: 869
    • View Profile
Re: Screensaver auto advance time (basic movie)
« Reply #5 on: May 18, 2021, 10:28:04 PM »
You may check my theme coding. The answer is here.  ;D
http://forum.attractmode.org/index.php?topic=3917.0