Jump to content
Ketarin forum

shawn

Moderators
  • Content Count

    1,043
  • Joined

  • Last visited

About shawn

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. They've changed the zeranoe Builds page several times over the years. I gave up parsing it long ago. I always parse the version number from ffmpeg.org here: https://ffmpeg.org/download.html#releases While that is the current "release" from the FFmpeg project, there is a small window where it might not be the actual release version on the zeranoe site (unlikely though since it's a triggered build). You could also get the version number directly from the Git repo here: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/RELEASE Then you can use the latest-static download link from zeranoe: https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-latest-win64-static.zip https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-latest-win32-static.zip If you wanted to solve the problem you actually described instead of work around the JS-built website problem, you'd need to set at least three variables. One to download the initial site and cache the URL to the app*.js file. Then parse that for the git.ffmpeg.org call to collect the release versions, then parse the latest version from the tags. It's a lot of work for a single value though and fraught with potential issues should the JS file name pattern change or the appJS content structure change.
  2. The easy way is to use the multireplace function instead of the regexreplace function. {appname:multireplace:,:\::}
  3. It's entirely possible that they're not all using the same engine or have disabled the Silent switch. Have you tried the ones that don't work in automation from a command line to see if it's something with the download or permissions? LocalAppData is also a user-specific folder so, if you have Ketarin running elevated, they may not resolve.
  4. Yes, and it's actually quite easy. You can use either the Setup instructions or the after-updating script to perform your installation. The general process is: exit program install update start program How you exit the program depends on the program. Some you can trigger from outside so it can exit gracefully, others you'll end up using taskkill or pskill. This can be accomplished with taskkill using "taskkill.exe /IM excel.exe" where excel.exe is the program you need to kill. To start the program again just execute it (usually you'll want to use the full path).
  5. The sorting for variables is actually the result of a feature request. There's no functional difference. Variables that are not referenced still aren't processed and variables that depend on other variables are processed in the order that they are dependent. This was the behavior prior as well, the only change is that the variables are now sorted alphabetically.
  6. The upgrade to 1.8.11 caused havoc with my replace operations in the output filename (slashes and ampersands), too. Fixing 700+ profiles manually proved to be more than I was willing to do, so I ended up using DB4S end repairing all the replace commands using SQL. After that everything worked correctly.
  7. You can also prevent the BAK files being created by disabling the option at Settings, General, 'Automatically create database backups.'
  8. You can add a feature request to have search opened 24/7 here.
  9. awesome! thanks, @floele. testing it now.
  10. awesome! Thanks, @floele
  11. Thank you, @floele! You inspired me to dig through the app again and I discovered there was an unused variable that was opening a defective URL and *that* is what was triggering the error. Once I removed that variable it's working fine. Sigh.
  12. This might be by design, but I hope not. Using "exit 3" in the pre-download command doesn't run post-update command, though "exit 3" means: Skip downloading, but update the "last updated" date of the application and mark as "update downloaded". Allows you to use an external download application to download the file, but still mark it as properly updated in Ketarin. I just noticed that using "exit 3" hasn't been running my post-update command, so it hasn't been updating my external logging system. I really need it to be able to use the standard post-update command so that it'll allow updates to push the results to my server. I don't want to have to maintain the post-update command in multiple locations ("global" plus in each pre-update command for those that use "exit 3"). I know it's possible to parse the post-update command from the database and inject it in the pre-update command using powershell, but I'd prefer to not have to use more than "exit 3" if possible. If necessary, I'm open to using "open 4" or any other exit code to preserve backward compatibility and offer post-update only to the new exit code. Thoughts?
  13. If you know what the filename is you want to use, just change the save-as behavior to use the filename you want. I usually use this pattern: ..\{category}\{appname:regexreplace:([\s\t\r\n\-\&]+):_}-{version}.{url:ext} Assuming that you want the filename to be "[UGX]nazi_zombie_rats v2.zip" you could use: ..\{category}\[UGX]nazi_zombie_rats v2.zip Of course, if you're already using that as the app name you could just use: ..\{category}\{appname:regexreplace:([\s\t\r\n\-\&]+):_}.zip
  14. 1) Show us the template. Anything we advise without it is only a guess. For example, it could be that the change you made was a "default", not an explicit value or part of the non-variable template structure. 2) No. The updates apply to the template as it differed from the original import, which may have used any variation in the specific template. The structure around the actual app should be modified fine, but the template reference should not. 3) No. For referential information (in case variables were in a different order originally, you changed them after the fact, or other minor edits to the specific app) the template, as it was originally created, needs to be the reference point.
  15. What have you tried? How are you creating your random variable now? Does your random variable need to be unique a la GUID, or is something like the current timestamp {time} sufficient, or does it need to meet another specific format?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.