Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

Export media files option?


E36M3ZF

Recommended Posts

Here's the scenario. After a couple of years of setting up your system, gathering media, renaming/deleting/replacing tables, etc, you end up with a huge 10+ GB media folder where at least half of it is unused/old files or duplicates with wrong names that don't get used by Pinball X anymore. How can you get rid of them so you only keep the active files? Of course, we are talking about thousands of files here in this case, in various different folders, so tracking down all the files manually, one by one, is not an option.

One solution would be an "export media" option. For instance, the game manager would detect the media files that are "linked" to the tables in the database and export them in a folder. That folder would be the active files that you need so you could now easily delete the old folders and transfer the new ones there. Is there any option anywhere or an addon where this is possible? This could save a lot of space and make your setup much less cluttered, depending on how big your media folder is.

Link to comment
Share on other sites

You can ask for a future request in :

 

 

Personal I had the same. So added a hidden feature in a tool I just posted. 

It will scan the pinball 9 and pinballx directory. I check if the filenames exists in the xml directory. If not it will delete those

I think Tom changed last year on the file name creation, because it deleted some older videos but re-create those.

But I won't dare to share it, because it can delete too many files in those dirs.

Sorry....

Link to comment
Share on other sites

I was just thinking .. You can import the database XML files easily in Excel (<pinballx folder>\databases\).

If the video names matches the name as in Excel (as it should be), you can do extract this list, do a copy of all those Video's to a subdir and it is cleaned

image.thumb.png.6e21feb200d2b37227e39a090afebcf9.png

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...