Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

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?

Posted
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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...