#I accidentally posted instead of scheduling.... I had to delete it and reset it up to post on the 31st
Explore tagged Tumblr posts
sonodaxchoco · 6 months ago
Text
Tumblr media Tumblr media
FE Artscuffle #4! Mermaid Chloé for @ninngeo. Technically it's still Mermay too!
18 notes · View notes
hydrus · 5 years ago
Text
Version 381
youtube
windows
zip
exe
macOS
app
linux
tar.gz
source
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.
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
.
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
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!
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.
1 note · View note