Jump to content
Ketarin forum

Omniferum

Members
  • Posts

    304
  • Joined

  • Last visited

Everything posted by Omniferum

  1. I'm aware you can use C# and batch to parse/call powershell however it tends to be a tad overly fiddly and can be a hassle. Is it possible to add a native powershell script interpreter? Being .Net I would not think so still just asking.
  2. Pretty much the topic subject covers the whole thing. When you download a file and have "Delete old files" checked, then you change something in the variables field (say for page changes) it seems that Ketarin forgets about the old file it used to have and doesn't delete it. Only found it out recently, if anybody could confirm just by checking any app they have downloaded, made a change to and then re-downloaded.
  3. I still believe the best solution is just for every new member's first post to be vetted by a moderator. Perhaps place an additional submission form after account creation? Something like "For your first post you must solve this captcha and wait for a moderator to approve your post/account". It would at least stop it from popping up on the forum so much, i'd be happy to moderate this.
  4. This is my build version, yours SHOULD have the word nightly in it JDownloader -NIGHTLY- Build 14360 Java Vendor: Sun Microsystems Inc. Java Version: 1.6.0_25 In the top toolbar click on the far right icon. Looks like a globe with a red and blue arrow around it. That may force a further update, beyond that I can't help. All I did was download the jdownloader package, run the nightly command as above and there I was. You may need to start with a fresh dl
  5. I'm not sure how you can't find it. Click on the LinkGrabber tab from the main window in Jdownloader look at the bottom, there are three checkboxes. One of them is that option, if you can't see it then you haven't updated to the nightly properly i'd assume.
  6. Annoyingly enough the usual build of Jdownloader doesn't have what you specifically need. I use the nightly build. To get it you don't have to download a different package. Just open a command prompt in your jdownloader folder and use one of the following commands. To use the Nightly Build java -jar jdupdate.jar -branch NIGHTLY To use the Public Build java -jar jdupdate.jar -branch RESET You can switch between the two at anytime with the above commands. It will run an update process which will take a while and then when it is finished you will get a new option in the linkgrabber tab called "Add and start automatically!" which will do exactly what it says. You can then use the jdownloader -add {variable} and it will do it all for you. Keep in mind though you have to use further scripting in ketarin if you want ketarin to do anything with what jdownloader downloads. Some sort of batch find loop like :Loop Sleep 10 if not exist jdownloader/download/file.exe goto :Loop rest of ketarin commands here
  7. Jdownloader does have a CLI, you can make Ketarin send links captured as a variable to Jdownloader. The Jdownloader wiki has the information. JDownloader -add {variable}
  8. http://drupal.org/project/drupal That page lists recommended releases first and then development releases. You don't really need any special exclusion regex. Just using [^"']+\.zip works fine. However for future reference you could just do [^"']+[^"'v]+\.zip and that would do what you asked. However in this case there is no need, you only need exclusion regex for dl links that are aren't the first or last link in the page.
  9. I didn't have any difficulty, i'm not sure if ketarin build really has anything to do with it as I did nothing special. Here's the xml that worked for me. <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="b9b9d780-12d3-4aa1-b023-3b6f94f4bb52"> <Category>a</Category> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>([^"'=]+[^"']+build(\.php))</Regex> <Url>http://www.heidisql.com/download.php</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Revision.*?>([\d]+)</Regex> <Url>http://www.heidisql.com/download.php</Url> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*This is a comment line, the line below is the C# script. It will run the instructions found in the Setup Tab*/ app.Install(null);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{downloadpath}{category}\</TargetPath> <FixedDownloadUrl>http://www.heidisql.com/{download}</FixedDownloadUrl> <Name>HeidiSQL</Name> </ApplicationJob> </Jobs>
  10. You have to set the 'variable for change' to actually use them, it's in the advanced tab of the application settings. You can only use one variable to detect for changes, i'd just stick with the revision value defined from the page http://www.heidisql.com/download.php Also that revision variable is really only for nightly builds, if that is what you want. Personally i'd just regex the dl link for the portable version from that dl page as I prefer stable builds. If ya want full blown help post your application xml and i'll poke it. The issue though is that it is not detecting any changes in the file to download.
  11. There tends to be a fair bit of sporadic one post spam. Might be a good idea to just set up the forum so that every new member's first post has to be approved by a moderator first. A CAPTCHA style solution (if not CAPTCHA itself) might be decent as well. Like for each new member they are sent a human question (could be pre-set to save moderators the hassle) and if their is no reply or one that isn't anywhere close the mod can not approve it. It would obviously be easier to have this setup on the actual sign-up page but I remember reading some other posts where that would require extra work, this is just something i'm sure most forum software could implement.
  12. Is it possible to make Ketarin pop up if there are any errors found? with /silent /notify it will just go through them all regardless of what happens. That way you can do it silently and Ketarin presents itself to fix any errors if encountered.
  13. Whoops, thought that referrer field was only for the download url, not for everything. Was dicking around with httpx://&header:accept stuff. Thanks shawn
  14. I'm having a problem scraping http://www.gonvisor.com, it keeps giving me a 403 Error. Anybody got any ideas as to how to resolve this? Previous issues point to a header error of some sort. Tried analyzing the http upon loading the page but got nothing of any substance.
  15. Ah, so you have to predefine it. Fair enough. I'll stick with my method, going through my odd 150+ apps just to define process' to terminate is a tad too time consuming. Plus with mine it finds which process to kill for me, may not terminate it in the nicest way perhaps.
  16. Well i'd happily help out however I believe that those chosen in the end should stick to some guidelines. Like common variable names, just to unify things a bit better.
  17. I do not know how Ketarin determines the process to kill, mine is just based on whatever process is utilizing the install path defined in Ketarin. I saw the feature but don't really know its implementation
  18. Was just wondering if you could also give a Last Updated time stamp for codes with pre-update exit 2 in them. As of current they do not, I assume it is because no file is downloaded and that is how Ketarin currently defines "Last Updated". Would just need to include "Last variable change indicator change" The previous problem with exit 2 seems to have been fixed in the beta5, thanks for that.
  19. Forgot I ever made this topic. I eventually just wrote a powershell script that you just pass parameters to and away it goes. Copy and paste the below code into a blank txt file, save it as whateveryouwant.ps1 To use just type in the command line yourfilename.ps1 themovieyouwantrenamed You can even just pass an entire folder to it and it will iterate all of them. Still uses mediainfo to determine resolution Get-WmiObject Win32_LogicalDisk | ? {$_.Size -ne $null} | % {if (Test-Path ($_.DeviceID + "\Autorun.bat")) {$Drive = $_.DeviceID}} $MI = gci -r "$Drive\Programs" mediainfo.exe | % {$_.FullName} $Videos = gci "$args*" -Include *.nfo,*.mkv,*.mp4,*.avi,*.m2ts,*.wmv -Exclude ``[* | % { write-host $_.basename " " $Name = $_.basename -match '(.*)\d\d\d\d|(.*)' | %{$Matches[1]} | %{$_ -replace "[^\w\d]"," "} | %{($_).TrimEnd()} $Year = $_.basename -match '\d\d\d\d' | %{$Matches[0]} $SearchName = $Name + " " + "($Year)" $search = 'http://www.imdb.com/find?s=all&q=' + "$SearchName" $titlepage = (New-Object System.Net.WebClient).DownloadString($search) -match "/title/.*?/" | %{$Matches[0]} $scrape = (New-Object System.Net.WebClient).DownloadString('http://www.imdb.com' + "$titlepage") | Out-File "$($_.Directory)\$($_.basename).txt" $imdbpage = gc "$($_.Directory)\$($_.basename).txt" New-Object PSObject -Property @{ Dirn = $_.Directory Baname = $_.basename FName = $_.FullName Ext = $_.extension Resolution = &$MI "--Inform=Video;%Width%" $_.FullName | % { if (900 -lt $_ -and 1400 -gt $_) {echo 720p} else { if (1400 -lt $_) {echo 1080p} else { if (900 -gt $_) {echo SD $_} } } } IMDBName = "$imdbpage" -match "<title>(.*?)</" | %{$Matches[1]} | %{$_ -replace "[<>:`"\\/\|\?\*.]",""} | %{$_ -replace "'","'"} | %{$_ -replace "&","&"} | %{$_ -replace """,""} | %{$_ -replace "x22;",""} | %{$_ -replace " - IMDb",""} | %{$_ -replace " \(.*?\)",""} IMDBYear = "$imdbpage" -match "\((\d\d\d\d)\)" | %{$Matches[1]} IMDBBlurb = "$imdbpage" -match "<p>([\w\d].*?)</p>" | %{$Matches[1]} IMDBRating = "$imdbpage" -match "(\d\.\d)/10" | %{$Matches[1]} IMDBDirector = "$imdbpage" -match "Director:(.*?)</div>" | %{$Matches[1]} | %{$_ -replace "<.*?>",""} | %{$_ -replace "\s[\s]+"," "} IMDBWriters = "$imdbpage" -match "Writers:(.*?)</div>" | %{$Matches[1]} | %{$_ -replace ""","`""} | %{$_ -replace "<.*?>",""} | %{$_ -replace "\s[\s]+"," "} IMDBStars = "$imdbpage" -match "Stars:(.*?)</div>" | %{$Matches[1]} | %{$_ -replace "<.*?>",""} | %{$_ -replace "\s[\s]+"," "} IMDBSynopsis = "$imdbpage" -match ".*(<p>([\w\d].*?)<)" | %{$Matches[2]} | %{$_ -replace "'","'"} } del "$($_.Directory)\$($_.basename).txt" } $Videos | %{ #Just a piece of code to output all the relevant IMDB information to an accompanying .nfo file #Decided not to implement but keeping for shits and giggles #('Movie Title: ' + $_.IMDBName + "`n" + , #'Release Year: ' + $_.IMDBYear + "`n" + , #'Blurb: ' + $_.IMDBBlurb + "`n" + , #'Director:' + $_.IMDBDirector + "`n" + , #'Writers:' + $_.IMDBWriters + "`n" + , #'Stars:' + $_.IMDBStars + "`n" + , #'Synopsis: ' + $_.IMDBSynopsis + "`n" + , #'IMDB Rating: ' + $_.IMDBRating + '/10') | Out-File "$($_.Dirn)\$($_.Baname).nfo" # #Rename-Item "$($_.Dirn)\$($_.Baname).nfo" "`[$($_.Resolution)`] $($_.IMDBName) `($($_.IMDBYear)`).nfo" if ($_.IMDBName -ne $null) {Rename-Item $_.FName "`[$($_.Resolution)`] $($_.IMDBName) `($($_.IMDBYear)`)$($_.Ext)" -ErrorAction SilentlyContinue} }
  20. You'll need to update to the latest beta http://ketarin.org/downloads/Ketarin/Ketarin-1.6.0.b4.zip I wouldn't worry about the word beta, it is stable as any other program I use.
  21. Actually thinking about it a bit more they could also subscribe to Ketamon templates too so they can keep an eye on any web pages they want monitored.
  22. Think I suggested this before, have a group of people that can apply to floele who can moderate the .db and anyone can flag a template as non-working. Perhaps even submit/request some on forums. If that was done i'm sure that it would be the noob friendliest thing and Ketarin would take off like a shot. As it stands Ketarin beats ninite and all the alternative hands down and if this was implemented the others would be rendered pointless. That way new people can just install/unzip ketarin with pre-configured variables for install paths etc. and moderators just update templates and people can subscribe/unsubscribe. For reference sake every single program I have/use is maintained by Ketarin flawlessly, I only need the odd tweak here and there for page changes if they happen.
  23. Aside from only two bugs i'd agree, most feature requests as of late have been more 'design' changes and not actual technical functionality.
  24. This may just be a wording thing but is the global option of before updating an application the exact same as the local app execute before downloading? The wording to me indicates one is run before even checking for an update and the other is when an update is found but before downloading. This only popped up when I was helping ketchup with his request http://ketarin.canneverbe.com/forum/viewtopic.php?pid=5286 Personally I believe implementing an "application is outside your defined date threshold so may no longer be actively maintained" feature would be handy. When you automate things it tends to make you lax and you can easily not notice things no longer updating.
×
×
  • 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.