IOIIOOO Posted January 22, 2024 Posted January 22, 2024 Is there any way to download the latest puplookup.csv from the Virtual Pinball Spreadsheet via curl or similar? Now that updating it in Popper is as easy as dropping a file into the Popper folder, I'd like to automate its updating.
SinisterSpatula Posted April 22, 2024 Posted April 22, 2024 I was trying to figure out why the import button was missing and this provided the clue I needed As far as automating the update with curl, I think that's difficult because it seems to me like the export button actually runs in the browser and builds the csv file and isn't an http GET request for the file. The maintainer would likely have to add something server side for that, or you would need to do something like programmatically launch a headless browser to load the page and click the export button to grab a new copy.
rudil24 Posted May 5, 2024 Posted May 5, 2024 (edited) so wait @SinisterSpatula, in Popper 1.5.0 Beta 7, you can just replace puplookup.csv in the PinUPSystem main folder, instead of doing the old 1.4 DB Import Lookup button, and it automatically works? or is there anything special more you have to do? Struggling on this one! Edited May 6, 2024 by rudil24 version
rudil24 Posted May 6, 2024 Posted May 6, 2024 18 hours ago, rudil24 said: so wait @SinisterSpatula, in Popper 1.5.0 Beta 7, you can just replace puplookup.csv in the PinUPSystem main folder, instead of doing the old 1.4 DB Import Lookup button, and it automatically works? or is there anything special more you have to do? Struggling on this one! aaannd. yes now i can read. in Pinup Upgrade 1.5 page; What's New heading; Popper Config section, 5th bullet: "* Importing now uses puplookup.csv directly so that no need to importdb process (was slow) is needed." Thanks @NailBuster, great feature!
IOIIOOO Posted May 22, 2024 Author Posted May 22, 2024 On 5/6/2024 at 12:34 PM, rudil24 said: aaannd. yes now i can read. in Pinup Upgrade 1.5 page; What's New heading; Popper Config section, 5th bullet: "* Importing now uses puplookup.csv directly so that no need to importdb process (was slow) is needed." Thanks @NailBuster, great feature! YES - this is exactly why I was looking for a way to automate the download. When my system starts today, I have scripts that: * Verify the playfield monitor ID and set VPX (in case of ID drift) * Download the latest DOF files I would love to add a script to download the latest puplookup.csv and drop it in the PinUPSystem folder so that it's always reasonably up to date as well. Which prompted this whole thread.
Hypnotoad Posted November 5, 2024 Posted November 5, 2024 See the API https://virtualpinballspreadsheet.github.io/help
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now