thewhite Posted 16 hours ago Posted 16 hours ago Hello, I've developed an application that downloads video clips from games and renames the files according to the game. After moving the games to the corresponding Video folder, Launchbox sees that there's a video, but the XML file isn't corrected on this line: <MissingVideo>true</MissingVideo> How do I update the XML file? Does Launchbox update it automatically after a certain amount of time? Manually, it updates by editing a game and then clicking OK, but I can't do this for every game. Any ideas? Quote
C-Beats Posted 16 hours ago Posted 16 hours ago 33 minutes ago, thewhite said: Hello, I've developed an application that downloads video clips from games and renames the files according to the game. After moving the games to the corresponding Video folder, Launchbox sees that there's a video, but the XML file isn't corrected on this line: <MissingVideo>true</MissingVideo> How do I update the XML file? Does Launchbox update it automatically after a certain amount of time? Manually, it updates by editing a game and then clicking OK, but I can't do this for every game. Any ideas? If you're doing this via a plugin you can call IGame.GetVideoPath on the game you added the videos to and it'll update that flag. If using a application outside of LaunchBox you'd have to manually alter the XML yourself. LB updates that flag on it's own anytime it goes to fetch a video and finds one, or during specific scans to set that flag (like when using the Games Missing Media sidebar or the Audit tool) Quote
thewhite Posted 10 hours ago Author Posted 10 hours ago Thanks, i found a way to do it correctly. Quote
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.