Blakestr Posted July 7, 2022 Share Posted July 7, 2022 With the re-release of the Android version - I realize that even with a modern phone exporting my entire library just isn't happening. Is there a way to estimate the file size of a given playlist or selected roms? That would make it so much easier to figure out when the playlist has reached the size, instead of just exporting the folder list for android and then checking the file size afterwards. Is there a better way to go about this? Quote Link to comment Share on other sites More sharing options...
C-Beats Posted July 7, 2022 Share Posted July 7, 2022 Other then roughly estimating {Number of Games} x {Number of images} x {Size per Image} there is no real way in app to get that calculation. A plugin could potentially be built that scans media files based on selected games, but I don't know of any that does that currently. 1 Quote Link to comment Share on other sites More sharing options...
Blakestr Posted July 7, 2022 Author Share Posted July 7, 2022 6 hours ago, C-Beats said: Other then roughly estimating {Number of Games} x {Number of images} x {Size per Image} there is no real way in app to get that calculation. A plugin could potentially be built that scans media files based on selected games, but I don't know of any that does that currently. Each game already has the folder path in all its metadata for any of it's artwork. Running a simple std::filesystem::file_size for each game and adding the byte total to a new variable should make this an easy feature to patch in. Call it "Estimate Playlist Export Size" or something - (do I need to request this as an actual feature?) Quote Link to comment Share on other sites More sharing options...
C-Beats Posted July 7, 2022 Share Posted July 7, 2022 2 hours ago, Blakestr said: Each game already has the folder path in all its metadata for any of it's artwork. Running a simple std::filesystem::file_size for each game and adding the byte total to a new variable should make this an easy feature to patch in. Call it "Estimate Playlist Export Size" or something - (do I need to request this as an actual feature?) Wrong language, but yeah the logic isn't hard. If you want it added to the app officially you would need to request a feature, and even then it may be a while before you see any traction on an item like that as it's a pretty niche use case. Would be faster just to ask a plugin dev if they'd consider making the plugin for you. 1 Quote Link to comment Share on other sites More sharing options...
Blakestr Posted July 8, 2022 Author Share Posted July 8, 2022 1 hour ago, C-Beats said: Wrong language, but yeah the logic isn't hard. If you want it added to the app officially you would need to request a feature, and even then it may be a while before you see any traction on an item like that as it's a pretty niche use case. Would be faster just to ask a plugin dev if they'd consider making the plugin for you. Shoot, I had forgotten about plugins - for any future readers, do you have a resource/link to "writing plugins" guide? I might be able to do this myself and "be the change I want to see in the world" and all that... Quote Link to comment Share on other sites More sharing options...
C-Beats Posted July 8, 2022 Share Posted July 8, 2022 We have a video on our YT channel but it's quite a bit outdated. @JoeViking245 may be able to get you you an empty .sln file that you can start with. As long as you're familiar with Visual Studio getting the classes for the plugin DLL is pretty easy. All the names are fairly straightforward, but if you get that far and still need help feel free to ask on the forums and I'm sure I or one of the other plugin devs can get your questions answered. 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.