UnderwoodNC Posted May 25, 2017 Share Posted May 25, 2017 Startup Video Manager View File ***** Now Supporting Random Startup Videos ***** Startup Video Manager: A plugin to manage Startup videos for the user through a clean, simple interface. About the Plugin This plugin provides a menu item that will open a window to allow users to manage their startup videos, and optionally, to activate random startup videos. Random startup videos will be switched out as LaunchBox closes and Big Box opens. New and Returning Features: Reads from a "Startups" folder in LaunchBox\Videos to let the user select their desired startup video. Clicking "Preview" will let the user preview the selected Startup video through a custom VLC player with options for play/pause/stop, forward and backward, volume control and full-screen viewing. Double-clicking the video will also take you to and from fullscreen viewing. Pressing Esc while in fullscreen will also take you back to the normal view. Another way to get back while in fullscreen is to move the mouse to the bottom of the screen where a menu with the video name and a back button will appear. Copies the selected video in LaunchBox\VIdeos\Startups to LaunchBox\Videos and renames it to startup.mp4 so that BigBox will recognize it. Before replacing your existing startup.mp4 file, it checks to see whether or not your current startup.mp4 exists in the Startups folder. If not, it will copy your current startup.mp4 to the Startups folder, adding the Unix timestamp to the filename, to make sure you do not lose any startup video you may not have backed up. New in 2.0.0: Optionally lets the user select Randomize Startup Videos to have the plugin randomly select a startup video and adjust the minimum startup duration each time Big Box is started from LaunchBox. New in 2.0.0: With my system, I found that I needed to slightly tweak the minimum startup time from the actual length of the video. If you find you need to do this as well, in PluginConfig.xml for this that will be covered below. New in 2.1.0: Optionally lets the user update a configuration setting to match their actual load time of Big Box so that random videos will be limited to videos that are at least that long (no looping video on startup). Installation Instructions If you have the old version, BigBoxStartupSelector, delete that folder and unzip the new folder into the LaunchBox\Plugins folder. Create a folder named Startups in the LaunchBox\Videos folder and move all of your startup videos there. You may rename the startup videos in this folder to whatever name you prefer to help you remember each video. Optional Configuration These optional configuration settings can be applied by opening the included PluginConfig.xml in your favorite text editor and changing the appropriate number. StartupTimeOffsetInSeconds: In my case, I found that when setting the Minimum Startup Video Duration to the actual length of the video, even for longer videos, caused the video to start to loop for about a couple seconds. To accommodate this, you can tweak the number of seconds being set as the minimum startup duration for videos through this configuration setting. I had to adjust mine by -2 seconds, but this is 0 by default, which will set the minimum startup duration to the actual length of the video. If you notice that after setting a video through this tool, the video either stops early or starts to loop, you can set this time to adjust all videos accordingly. ActualStartupTimeInSeconds: This setting only applies to randomly-selected videos. If you set this to something other than the default of 0, only videos with at least this startup time will be considered for random selection. How to find out your actual startup time? Get the stopwatch app on your phone ready, go into the Big Box options and set Minimum Startup Video Duration to "No Delay". Now go back to LaunchBox, and as soon as you click to switch back to Big Box mode, start the stopwatch. Stop the stopwatch as soon as Big Box has finished loading. That time, rounded to the nearest second, is the value you should put as your actual startup time. But again, this only applies to randomly-selected videos. If you leave it as the default of 0, all videos will be considered for randomization, but you may have looping if the randomly-selected video is shorter than your actual load time. Usage Instructions Open LaunchBox or BigBox and browse to the Startup Video Manager plugin. Choose the Startup Video you would like to set, then if desired, click Preview to watch the video and make sure that's the one you want. If you'd like random startup videos going forward, make sure to check Randomize Startup Videos in the bottom-left corner. Note: the random selection setting saves as soon as you check or uncheck it. You can click Cancel or close the window from there. The Save button is only if you want to manually select a video to set as your startup video. Once you've decided on a video, click Save and the magic will happen. Otherwise, click Cancel. Enjoy! Please let me know if you run into any issues. Special thanks to angelobodetti for the random startup video idea! Thanks, Jason, for providing your amazing software and thanks again to Jason, the LaunchBox staff and the community for your support in developing this plugin. Submitter UnderwoodNC Submitted 05/25/2017 Category Third-party Apps and Plugins 5 Quote Link to comment Share on other sites More sharing options...
jchasa Posted May 25, 2017 Share Posted May 25, 2017 (edited) Hello, Just tried this out. And it works fine no issues, I only installed the 64Bit version of VLC and it worked fine. Only thing as you mentioned if it would be able to run off of the VLC that already comes with LB or the Portable version of VLC would be awesome as well. Great Plugin -one other thing BigBox is misspelled in the menu in LB as "BixBox" Edited May 25, 2017 by jchasa Quote Link to comment Share on other sites More sharing options...
UnderwoodNC Posted June 9, 2017 Author Share Posted June 9, 2017 Version 2 released! VLC installation no longer required. Supports Random Startup Videos. Correct spelling now included 2 Quote Link to comment Share on other sites More sharing options...
ALIE Posted June 11, 2017 Share Posted June 11, 2017 WOW sound great. Feature idea Could it be done that it could detect the active theme and use a video specifically for that theme. 1 Quote Link to comment Share on other sites More sharing options...
madpossum Posted June 12, 2017 Share Posted June 12, 2017 Is there a way to get it to randomize the start up videos when launching directly into Big Box? Not just when going into Big Box from Launchbox? On my HTPC I launch directly into Big Box from Kodi and it always stays as the same start up video. Other than that, great plug in! Quote Link to comment Share on other sites More sharing options...
UnderwoodNC Posted June 12, 2017 Author Share Posted June 12, 2017 Yeah, I think that can be arranged for the next release. I'm working on a Big Box-specific view now, so I'll be sure to add that and try to test it by launching Big Box directly. Usually, whenever I launch BigBox.exe directly, the startup video just loops indefinitely, so that may be an issue with my LB config that I need to figure out too. 1 Quote Link to comment Share on other sites More sharing options...
jchasa Posted June 12, 2017 Share Posted June 12, 2017 Yeah, I think that can be arranged for the next release. I'm working on a Big Box-specific view now, so I'll be sure to add that and try to test it by launching Big Box directly. Usually, whenever I launch BigBox.exe directly, the startup video just loops indefinitely, so that may be an issue with my LB config that I need to figure out too.Mine loops as well, from BB directly.Sent from my Z987 using Tapatalk Quote Link to comment Share on other sites More sharing options...
shinra358 Posted July 23, 2017 Share Posted July 23, 2017 (edited) Can I increase startup video time to 1:30 with this plugin? Can I skip the startup video by pressing the confirm button on my controller or the enter key on my keyboard? Can I stretch a video to the complete screen width and height? Instead of the program renaming the video file, can you make it so vids can be read from there own folder and named just like pictures (ex: mov-1.mp4, mov-2.mp4, mov-3.mp4, etc)? If not, can you add these features? Edited July 23, 2017 by shinra358 Quote Link to comment Share on other sites More sharing options...
UnderwoodNC Posted July 24, 2017 Author Share Posted July 24, 2017 You can't currently manually set a startup time. That can be done directly in Big Box, so I left it out. However, this plugin will automatically update the startup time to match the duration of whatever video you set. If you set a 90 second video as the startup, the startup video time should be increased to 90 seconds. This plugin is really only for managing the selection of the videos themselves to fit the way Big Box currently handles startup videos. Defining where the video is loaded from, setting its width/height/stretch, and actually running the video is done internally by Big Box itself. I don't think I have the access from a plugin perspective, so those last 3 would likely be feature requests for Jason. Quote Link to comment Share on other sites More sharing options...
shinra358 Posted July 25, 2017 Share Posted July 25, 2017 no matter what I do, the video always gets cuts off prematurely. It never goes past 30 secs. I need it to do 62 secs. Quote Link to comment Share on other sites More sharing options...
UnderwoodNC Posted July 25, 2017 Author Share Posted July 25, 2017 Hm. There may be a built-in max length somewhere. I'll experiment with a longer video and see what I can find. Quote Link to comment Share on other sites More sharing options...
damageinc86 Posted July 25, 2017 Share Posted July 25, 2017 LB really needs to ditch the time part of it and just wait for a video to finish all the way, then start. 1 Quote Link to comment Share on other sites More sharing options...
UnderwoodNC Posted July 25, 2017 Author Share Posted July 25, 2017 Yeah, I'd be in favor of that approach as well. Keeping a minimum time that someone could calibrate to match how long it takes their system to startup Big Box would be okay. Then videos would only be selected if they were that time or longer and would be allowed to play to completion before switching to Big Box, rather than switching over as soon as the minimum time has passed and Big Box is ready. Quote Link to comment Share on other sites More sharing options...
shinra358 Posted October 16, 2017 Share Posted October 16, 2017 So what about this plugin since most features are now in bigbox? The only thing I need now is to allow the video to stretch to the full screen. Can this do that? Quote Link to comment Share on other sites More sharing options...
UnderwoodNC Posted October 16, 2017 Author Share Posted October 16, 2017 Yeah, the majority of the plugin is now implemented. I've been wondering whether it should retire, or still let it serve as a way to choose a particular startup video instead of going into the Startup folder and copying a video manually. Your startup videos aren't already full screen? Quote Link to comment Share on other sites More sharing options...
kmoney Posted October 16, 2017 Share Posted October 16, 2017 @shinra358 I am confused about your startup vids not being full screen as well. Mine have always been full screen. Quote Link to comment Share on other sites More sharing options...
shinra358 Posted October 16, 2017 Share Posted October 16, 2017 My vid is a 4:3 vid. It appears with bars on the sides instead of stretched without bars. Quote Link to comment Share on other sites More sharing options...
shinra358 Posted October 20, 2017 Share Posted October 20, 2017 I don't remember if your plugin stretches the vid if asked. Does it? If not, could you make it so that it can or do a separate plugin just for that? Quote Link to comment Share on other sites More sharing options...
knightCrawler Posted December 1, 2017 Share Posted December 1, 2017 I'm trying to add the startup folder but cannot find so i can change the video Quote Link to comment Share on other sites More sharing options...
emko Posted January 19, 2018 Share Posted January 19, 2018 (edited) Can't get it to work Quote Could not load type 'LaunchBoxPlugins.Data.Managers.PluginConfigurationManager`1' from assembly 'LaunchBoxPlugins.Data, Version=1.3.1.0, Culture=neutral, PublicKeyToken=null'. App: Big Box Version: 8.0-beta-2 Type: System.TypeLoadException Site: Void OnEventRaised(System.String) Source: StartupVideoManager at StartupVideoManager.StartupVideoManager.OnEventRaised(String eventType) at Unbroken.LaunchBox.Root.LoadPlugins[T](IEnumerable`1 assemblies, ConcurrentDictionary`2& plugins) at (String , Form ) at Unbroken.LaunchBox.Root.LoadPlugins(String folderPath, Form splashForm) at Unbroken.LaunchBox.Wpf.BigBox.App..ctor() at () at Unbroken.LaunchBox.Wpf.BigBox.BigBoxProgram.Main() Recent Log: 3:33:39 PM Exception Edited January 19, 2018 by emko Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.