github hydrusnetwork/hydrus v363
Version 363

latest releases: v599, v598, v597-future-1...
5 years ago
  • has audio:
  • wrote a detection routine that can determine if a video has audio. it reads actual audio data and should be able to detect videos with a 'fake' silent audio track and consider them as not having audio
  • extended the client database, file import pipeline, and file metadata object to track the new has_audio value
  • flash files and audio files (like mp3) are considered to always have audio
  • all 'maybe' audio files (atm this means video) are queued up for a file metadata reparse in the files maintenance manager. your existing videos will start off as not having audio, but once they are rescanned, they will get it. this is one of the first big jobs of the new maintenance system, and I expect it will need some different throttling rules to finish this job in reasonable time--by default it does 100 files a day, but if you have 50,000 videos, that's a long time!
  • files now show if they have audio in their info string that appears on thumbnail right-click or the top of the media viewer. it defaults to the unicode character 🔊, but can be edited under the new 'sound' options page
  • added a system:has audio predicate to search for files with/without audio
  • updated file import unit tests to check 'has audio' parsing, and added tests for system:has audio
  • .
  • client api:
  • the /get_files/file_metadata call now provides has_audio info
  • the /get_files/file_metadata call now provides known_urls!
  • added 'cookie management' permission
  • added /manage_cookies/get_cookies to get current cookies by domain
  • added /manage_cookies/set_cookies to set or clear current cookies
  • added/updated unit tests for the above
  • updated help for the above
  • client api version is now 10
  • .
  • the rest:
  • system:hash and system:similar to now accept multiple hashes! so, if you have 100 md5s, you can now search for them all at once
  • the thumbnail right-click->file relationships->find similar files now works for multiple selections!
  • when system:hash was just one hash, it would run before anything else and complete a search immediately on finding a match, but now it works like any other predicate, checking for file domain and ANDing with other predicates in the search
  • the 'complete' file maintenance regen job now only does file metadata, not a complete thumb regen. its name and labels are updated to reflect this, and any existing job in the system will get the separate thumb regen job
  • the file maintenance manager now has a couple of how-to sentences at the top, and a new 'see description' button will talk more about each job type
  • the login script testing system now uses a duplicate of the existing domain manager (rather than a fresh empty one), so it will inherit current http headers such as default User-Agent, the lacking of which was messing up some tests
  • fixed the login script testing system not showing downloaded data
  • subscriptions with multiple queries now publish the files they have imported as soon as each query has finished, rather than waiting for the whole sub to be done
  • subscriptions now publish the files they have imported to page/popup even if they have an error
  • added 9:16, 2:3, and 4:5 to the duplicate comparison statement system, for various vertical social media types
  • the autocomplete tag search 'read', which appears on places like search pages, should now more reliably accept the current entered text when there are no search results yet to show
  • the autocomplete tag search 'write', which appears on places like the manage tags dialog, should now correctly accept the input (including appropriate sibling-collapse) when you select a 'stub' result while other results are still loading, rather than broadcasting the exact current text
  • fixed the deviant art file page parser to get source time--however the login script may now be broken/unreliable
  • fixed a missing dialog import when deleting a string transformation
  • reduced the base network connection error reattempt time to 10s (from 60s). there will be more work here in future
  • network jobs that are waiting on a connection error now have a reattempt wait override option in their cog icon menus
  • the post-bad-shutdown 'open your default session or a blank page' dialog will now auto-choose to open your default session in 15 seconds
  • a variety of ui-update events will now not fire as long as the main gui is minimised. as well as saving a sliver of resources, I believe this may fix an issue where long-running subscriptions and other import pipelines could sometimes put the ui in an unrecoverable state due to too many thumb-fade etc... events when the currently focused page was receiving new files while the main gui was minimised
  • maybe fixed a rare problem with deleting old pages
  • cleaned some misc code

Don't miss a new hydrus release

NewReleases is sending notifications on new releases.