Skip to content

SMRequests v1.70

Compare
Choose a tag to compare
@MrTwinkles47 MrTwinkles47 released this 11 Aug 20:16
· 150 commits to master since this release

IMPORTANT BITS:

  • Version control on the client scrapers is now enforced! If you get a message that "your scripts are out of date," you need to download the latest version.
  • The config.php file has changed! Compare your existing config.php file to the new config.example.php, input your existing settings, remove your old config.php file, and rename config.example.php to config.php.
  • AdditonalSongsFolder is no longer pulled from StepMania's Preferences.ini. Specify the folder (relative to the php scripts) in config.php.
  • The max number of requests per command variable was moved to the config.php file (server-side).

CHANGES:

  • client scrapers will compare version on server and instruct users to update if out of date
  • client scrapers check that the required PHP extensions are enabled and that config.php exits on startup
  • stats scraping major speed improvements (x100) by using high score timestamps
  • stats scraping should be better at dealing with invalid UTF-8 lines
  • duplicate last-played records are corrected them as they come up
  • better song scraper JSON error troubleshooting
  • banner uploading will now search for images with 'banner' or 'ban' in the filename or fall back to the first image
  • new banners will be updated if the file exists on the server instead of skipped
  • to make it easier to upgrade, config.php is renamed to config.example.php
  • user must now input the AdditonalSongsFolder directory string into the config.php. No longer retrieves the directory from Preferences.ini
  • moved the max number of requests per command setting variable to server config.php
  • !gitgud improvements to only include songs that you have scored higher than 50% more than once
  • !theusual requirements reduced from 10 to 5 unique song requests
  • artist will now show with song requests with duplicate song titles in the same pack
  • songlist.php updates for smrequests.com/dev hosts
  • "weeb" and "miku" random command assets added. Thanks, @xancara !
  • request status endpoint to show on stream whether requests are on/off
  • updated READMEs

FIXES:

  • Various typos in READMEs
  • Corrected line ending cleaning in logging
  • Fixed errors with quotation marks in song descriptions
  • $packsIgnore non-array values
  • AdditonalSongsFolder discovery re-worked
  • JSON encoding errors from song cache files
  • cURL http response error handling
  • Error in song cache scraping if the last chunk is empty
  • Stats.XML encoding error loop
  • Banner uploading checks for POST request method
  • Requests disabled message showing slashes
  • Rounding on timeouts for un-whitelisted requestors
  • Pre/double escaped characters from song cache files
  • Clean-up of random \'s in song cache files