/hydrus/ - Hydrus Network

Hydrus Bunker

Posting mode: Reply

Check to confirm you're not a robot
Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Catalog | Bottom

Expand All Images


Version 381 Anonymous Board owner 01/22/2020 (Wed) 22:01:35 Id: cb9dc9 [Preview] No. 500
https://youtube.com/watch?v=sz8xLRCHP_k [Embed]
windows
zip: https://github.com/hydrusnetwork/hydrus/releases/download/v381/Hydrus.Network.381.-.Windows.-.Extract.only.zip
exe: https://github.com/hydrusnetwork/hydrus/releases/download/v381/Hydrus.Network.381.-.Windows.-.Installer.exe
macOS
app: https://github.com/hydrusnetwork/hydrus/releases/download/v381/Hydrus.Network.381.-.macOS.-.App.dmg
linux
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v381/Hydrus.Network.381.-.Linux.-.Executable.tar.gz
source
tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v381.tar.gz

I had a good week with a couple of challenges. MPV is now ready for all windows users and is turned on by default.

MPV

Thank you to the advanced users who tested and gave feedback on MPV. I have eliminated the crashes, tightened up the jank, and am now rolling it out to all Windows users by default for video, audio, and gif/apng. All media view settings under options->media will be reset this week.

MPV is a good free media viewer. One of the core benefits of moving hydrus to Qt was being able to plug it into our media player, enabling hardware-accelerated video playback and audio. It looks just like the native player, with the seek bar beneath, but it works much faster, able to play 1080p or 4k videos at 60fps at full or unusual zooms. And of course, it makes noise!

This is early days. I have only just started plugging into MPV, so many features are basic or not yet available. The global volume and mute controls are currently some very ugly controls in the top media hover panel. Slideshows will not move forward on an MPV window (hydrus doesn't know when an MPV player has 'played once through' yet), and some processes like the archive/delete filter will need some extra workflow options now that more users will be playing videos at high res (left-click on the player pauses the video, so to set 'keep' on archive/delete, you'll have to click on some whitespace, of which there is so much less when the video is so big). Please let me know what your top priorities for improvement are, and of course, if you encounter errors or crashes, let me know. I'll keep working.

Even though it was a lot of difficult work, I am overall really pleased with how this has gone. The only big remaining bug that I need to nail down is an unusual thing where after multiple mpv viewings in a preview window, that page will stutter some query/thumbnail loading unless the mouse is moving. This is a slightly frustrating bug, but the benefits of MPV are enough that I am happy to live with it. I will also get it going for Linux and macOS, which I did not have time for this week.


Anonymous Board owner 01/22/2020 (Wed) 22:01:56 Id: cb9dc9 [Preview] No.501 del
the rest

Assuming that users will want to set/unset MPV and other view/zoom options for filetypes in the coming weeks, I have reworked how all of that works under options->media. By default, you now set view and zoom options for 'all video files' and 'all images', and then if you have specific options for just webms or pngs, you can set those specific options to override the group default. Every user will be reset to the new defaults on update. Please have a play with this this week.

Similarly, I have reworked the UI for system:filetype. The growing list of individual filetypes are now hidden from view when not needed, and the 'group' types have tristate checkboxes for better review. It takes up less space and just feels better.

Also, I have pulled gifs and apngs out of the 'image' group and created a specific 'animation' group for them. This doesn't change much, but it makes it easier to search for or manage settings for static images vs little animations.

I fixed a bunch of the weird layouts that were accidentally introduced last week. Please report any more you find--I am still fighting to convert old wx layout code to Qt's system, so this could happen again in a place I do not notice.

full list

- mpv:
- mpv is now available and the default for all windows users
- I believed I have eliminated the final reported mpv crash
- mpv load and unload delays are greatly reduced. initial load still takes about half a second, but subsequent loads are now as quick as native renderers
- mpv seems to work well for gif and apng
- added a very simple global volume slider and audio mute checkbox to the media viewer top hover window. this was a quick patch--much better controls and shortcuts will come in future
- mpv windows now properly re-show the cursor on mouse movement
- unified mpv mouse press/release handling with native animation--click down now does pause/play and starts a drag event
- unfortunately, in some cases embedding mpv requires overriding local OS number rendering (e.g. 1,234 vs 1.234). hydrus number rendering is now coerced to the english style with commas until we can figure out a better solution--sorry!
- cleared up an issue where simple clicks on page tabs would trigger micro-page drags that were immediately cancelled. this situation was exacerbated when the page being left had an active mpv window. the flicker of page drag cursor is now gone, and some weird situations where static clicks during busy time could move a tab should be fixed
- eliminated the recent issue in the media viewer where transitioning from one media type to another through navigation, particularly mpv->other, would flicker a single frame of the last 'other' media shown(!)
- fixed a bug where repeated mpv views in the preview viewer could disable client file drag and drop
- the bug where thumbnails may not waterfall in unless the mouse is moving after some mpv videos are loaded for a page is relieved but not completely fixed
- if the preview window is collapsed and hidden, media will no longer ever load into it
- fixed an edge-case bug where the mpv window would not like being told to show nothing when it was already showing nothing
- wrapped mpv load errors in a basic graceful catch
- fixed an issue some users had with loading mpv's dll


Anonymous Board owner 01/22/2020 (Wed) 22:02:27 Id: cb9dc9 [Preview] No.502 del
- file types:
- a new file metatype, 'animation', is added, for gif and apng. these are no longer considered 'image' for a variety of purposes
- the filetype selection panel, which is used in system:filetype and import folder UI, has had an overhaul--it now has tristate 'mime group' checkboxes to represent a half-filled group and expand/collapse buttons to hide the tall filetype lists. individual filetype lists will start hidden unless their default value is a partially filled group
- the media view options have a similar overhaul: they are now collapsed to general filetypes by default. you set view and zoom options for the generalised 'video' type under options->media, and if you want to set specific options for webm or anything else, you can add/delete those types to override the general default
- the new default options for a fresh client are just for these general types. if mpv is available, video, animations, and audio now start with mpv as the default viewer. video and animation zoom is now flexible (not fixed to 50%, 100%, 200%) and will fill the media canvas
- all media view options will be reset to this simple default on update! if you have specific zoom or display preferences, please reset them after the update--but you might like to play with mpv a bit first, as it renders at large and smooth zooms very well
- .
- the rest:
- the new thumbnail right-click file selection routine will now only focus and scroll to the first member of the selection if no other members of the new selection are already in view
- fixed some caching code and sped up the new select/remove menu count generation (which can lag for very large pages) by two to six times
- sped up file filter counting code by about ten percent
- fixed weird layout on: migrate database panel, duplicates page (left and right), edit shortcuts, edit import folder, and the filename tagging panel
- fixed an issue where the media viewer's hover windows might flicker into view for one frame when the mouse moved over the center of the media viewer for the first time
- fixed a media viewer shutdown issue that would sometimes lead to the first file in the list being opened in the shutting-down viewer for an instant or highlighted as the new thumb focus
- the file maintenance system that queues up missing/broken files' urls for redownload will no longer re-select the download page on every new url
- fixed an issue where a downloader's tag blacklist was not being applied on the child files of certain kinds of multiple-file post (such as with pixiv)
- deleting a very long tag should no longer create a very wide confirmation dialog in the manage tags dialog
- fixed some 'the panel grew a bit, but the parent window didn't grow quite enough and now it has scrollbars for two pixels of extra content' sizing issues
- fixed some dialog sizing calculations when the parent window was borderless fullscreen
- maybe fixed a rare event processing bug
- improved quality of some misc data comparison code across the program
- did some significant backend event/pubsub code cleanup, mostly related to getting mpv working a bit cleaner
- improved thumbnail rendering time
- improved smoothness of thumbnail fade animations (at least for when they are working right, ha ha!)
- misc fixes


Anonymous Board owner 01/22/2020 (Wed) 22:03:53 Id: cb9dc9 [Preview] No.503 del
next week

Unfortunately, I believe that I burned out over the past four to eight weeks. I have been pushing too hard, trying and failing to keep up with my promises, and along with some IRL stuff it nuked my schedule and energy and mood. It hit a breaking point this week, and I realised I was working non-sustainably. I will fix this situation in the coming weeks by altering my schedule. I expect to scale back on overall work hours and hydrus changelog work specifically, focusing instead on keeping myself healthy first so I can face other work (like keeping up with messages and maintaining a productive workspace) and not go nuts. I will also try to promise less when it comes to timeframes so I do not feel bound to stay up late working. I apologise if you have been waiting on me for something--I lost where I was.

I would like to do some more mpv work next week, and do some code cleaning. I will also be taking a bit of time off, so it will be a light week. Thanks everyone!


Anonymous Board owner 01/22/2020 (Wed) 22:24:43 Id: cb9dc9 [Preview] No.504 del
EDIT: If you have trouble loading mpv, please use the new easy settings under options->media to go back to the native viewer for the main filetypes, and let me know your situation. Some users with millions of files over a network share seem to have very slow startup.


Anonymous 01/22/2020 (Wed) 22:36:39 Id: f2d7b4 [Preview] No.505 del
>>504
8-13 second load each file, 4.1 million files, 1.4 million client weight currently.


Anonymous Board owner 01/25/2020 (Sat) 20:28:28 Id: 8bcb8c [Preview] No.506 del
There's an issue in this release where media isn't being unloaded from a preview window when you switch pages. This suddenly matters more because media can make noise, so be careful about leaving videos open in a search page! It will be fixed for 382.

Also some Linux/source users accidentally have MPV turned on due to their systems having the supporting libraries. They are likely to get crashes when loading media with MPV. This will also be fixed for 382, and if you are a source user, the hotfix is already available on github--it was just a single line I shouldn't have commented out.


Anonymous Board owner 01/25/2020 (Sat) 20:29:32 Id: 8bcb8c [Preview] No.507 del
>>505
Thank you for this report. A user who was hit by a five minute delay has figured out the configuration fix. It should all be rolled into 382. Please let me know how you continue to get on here.


Anonymous 01/28/2020 (Tue) 02:38:13 Id: f2d7b4 [Preview] No.512 del
>>500
got a fun problem now, hydrus usually idles somewhere around 5-8gb but its just bloated for some reason, going to kill process when it hits 24gb and that looks likely.


Anonymous Board owner 01/28/2020 (Tue) 18:31:46 Id: 317d85 [Preview] No.513 del
>>512
Damn, thank you for this report. I have been doing some behind-the-scenes to get mpv working, and that may have borked out some processing queues. I am going to be working on it more in the coming weeks. Just to check, you aren't using the 'db_memory_journaling' launch switche on your client.exe call, right?


Anonymous 01/29/2020 (Wed) 01:25:23 Id: f2d7b4 [Preview] No.516 del
>>513
I should have nothing in the client.exe for a launch parameter this I want to say just happened at random.
It's possible that a game clicked through to the client and I started something that way, unlikely but I have seen it happen before
I think the client did this once before a long fucking time ago, not 100$, it could have been another program but I remember something going from 0 to 60+gb page file when I still had 16 or 32 gb of ram.


Bugfix Release Tomorrow! Anonymous Board owner 01/29/2020 (Wed) 01:29:58 Id: 317d85 [Preview] No.517 del
I had a good but light week. I have fixed a variety of bugs, including some mpv issues and instability, and some recent UI stuttering.

The release should be as normal tomorrow.



Top | Return | Catalog | Post a reply