[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, swf, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


This board will be deleted next Wednesday. I am moving to a General on 8chan.moe /t/. This board is archived at 8chan.moe /hydrus/!

YouTube embed. Click thumbnail to play.

22c1d8 No.13646

windows

zip: https://github.com/hydrusnetwork/hydrus/releases/download/v384/Hydrus.Network.384.-.Windows.-.Extract.only.zip

exe: https://github.com/hydrusnetwork/hydrus/releases/download/v384/Hydrus.Network.384.-.Windows.-.Installer.exe

macOS

app: https://github.com/hydrusnetwork/hydrus/releases/download/v384/Hydrus.Network.384.-.macOS.-.App.dmg

linux

tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v384/Hydrus.Network.384.-.Linux.-.Executable.tar.gz

source

tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v384.tar.gz

I had a great week updating the shortcuts system.

shortcuts

The 'new' shortcuts system has been in limbo for some time. I like it, but I never really 'finished' it, and there were still many places across the program that had hardcoded shortcuts. This week moves it forward, mostly for mouse clicks and the new mpv window. As a reminder, you can customise the system under file->shortcuts. There are multiple shortcut 'sets' that apply in different parts of the UI.

First of all, the shortcut edit UI has been rearranged so it is less of a mess. Instead of having all possible commands on the same window, you now select which one you want from a dropdown, and unnecessary widgets will be hidden. Also, the main dialog now lets you restore a shortcut set to default values.

Although mouse support remains limited, the windows that take mouse clicks can now catch more. Double-clicks are now recognised, and if you prefer the feel of a click up instead of down on certain actions, you can now differentiate between click 'press' and 'release'.

Next, the actual 'media windows' across the program, the image, animation, or mpv windows, are now plugged in to the shortcuts system. For now, this mostly means clicks. Left-clicking to pause/play is no longer hardcoded, and I have removed the default 'double-click -> open in an external program' (although you can add it back in as ctrl+double left-click or whatever you like) as this command is less important with mpv's audio and fast high-res scaling. There are two new shortcut sets–'media_viewer_media_window' and 'preview_media_window'–that have actions for pause, pause/play, open_externally, and close/launch_media_viewer. By default, middle-click or double left-click on the preview media window now launches the media viewer, just like on a thumbnail.

And the 'media_viewer_browser' set now has 'show_menu' as an action. It defaults to 'release right-click', but if you would prefer your menus on a click-press, or ctrl+release right-click or something, you can now change it. I expect to do this for the other important menus across the program as well. Also, most menus can now be opened with the context menu key on your keyboard, if you have it, so you might want to even remap right-click to something else.

The new 'global' shortcut set now has actions to exit and restart the application. They should be caught by the main gui window or any media viewer and work just like the actions on the file menu.

Most of the work this week was cleaning up behind the scenes code. I feel great about now extending it to more windows (such as thumbnails, to customise selection click shortcuts) and commands, and eventually planning advanced features like multi-actions so you can build pseudo-filters where a left-click is 'apply this tag, archive, and move to next file'. For now, I hope to slip in little bits of work here and there.

EDIT: A user let me know that the new double-click detection makes the archive/delete filter not work if you click too fast (it now detects the second click as different than a single-click and hence doesn’t map the ‘keep and move on’ etc.. action). I will fix this for next week, but in the meantime, if you are a fast clicker, please add additional shortcut mappings to ‘archive_delete_filter’ for double-click, and you should be working again.

the rest

I cleaned up some of the borked media-switching code I introduced to get mpv working. Transitioning from one media to another should have fewer instances of single-frame stretch. I am going to keep working here, because in some situations there is a single-frame of blank, which can be a bit of a flash.

The tag autocomplete dropdown window should be better at choosing when to hide and show.

I fixed a bug related to the advanced 'clear deleted tag record' command, which is usually fired by the tag migration window. The action was not properly clearing the cache that thumbnails use to fetch their tags, so while the deleted tag was deleted from the master database table, it did not appear so in UI. If you were hit by this, please run database->regenerate->autocomplete caches one time to resync yourself.

If you are a user who uses the parsing system, the string transformation panel has had a significant rework in the past two weeks. It hides/shows unneeded controls just like this week's shortcuts panel, and there is now a live preview of the current step's example and example-transformed text in the individual transformation rule edit dialog, which updates as you type, including showing regex errors! I expect in the near future to add the string transformation system to the filename tag panel soon, swapping out the jank old regex systems there for the nice full-featured converter.

full list

- shortcuts:

- the shortcut system now supports mouse double-clicks–left, right, or middle

- the shortcuts system now differentiates between press or release single mouse clicks–although complete support for release mouse events may be a bit patchy, as full mouse integration is ongoing

- the shortcut edit ui is now simpler–the command type is selected by a list, and the individual command sub-panels hide and show as appropriate–no more stupid 'set command' buttons

- the shortcut edit ui now has a 'restore defaults' button that will restore an individual set back to default settings

- two new shortcut sets are added–'media_viewer_media_window' and 'preview_media_window'. they control pause, pause/play, open_externally, and close/launch_media_viewer respectively. they work on the static image viewer, the native animation widget, and the new mpv player, and they support mouse clicks. the old pause/play (formerly left-click) and open_externally (double left-click) commands are no longer hardcoded

- by default, the preview window's media window now launches the media viewer on a middle- or double-left-click

- 'media_viewer_browser' shortcut set now has 'release right-click' bound to 'show_menu', a new command, which is no longer hardcoded

- most menus across the program can now be opened with the keyboard context menu key

- the 'global' shortcut set now has 'exit_application', 'exit_application_force_maintenance', and 'restart_application' commands

- fixed the rating increment/decrement command option not hiding in non-'media' shortcut sets

- fixed some issues loading edit ui for shortcuts with rating actions

- significant refactoring and some cleaning of shortcut code

- .

- the rest:

- mpv windows should not longer get a single frame of previous-window-stretch when flicking between one mpv media to another with a different aspect ratio on the same media canvas. when a video is caught in a frame of loading, it should now flicker a frame of black

- switching from one static image or native animation to another of the same type _should_ be less likely to do a single frame of stretch when transitioning. when an image or animation transition is caught on a new frame, it _should_ now flicker a frame the same colour as the media canvas background

- the string transformation edit panel's individual transformation rule edit panel has had some more work: much like with shortcuts, the controls now hide and show based on transformation type, the controls' text labels now change based on transformation type, and the example text now updates on any widget change. the manual 'update example' button is removed

- fixed a typo that caused an error when establishing the correct mouse cursor to use over the volume control when hydrus was using PyQt5 (rather than PySide2)

- in order to reduce accidental micro-drags that cause mpv load-pause issues, starting a thumbnail drag now takes more pixels and requires a smoother drag to start, let's see how it goes

- improved the show/hide logic of the floating autocomplete dropdown window. it should now also reliably detect when window focus goes from the dropdown itself to another window

- fixed a bug where clearing the deletion record of a deleted tag would not remove the record from the fast cache that populates thumbnail tags (making it seem on most file loads that the tag still existed). if you were hit by this previously, please hit _database->regen->a/c cache_ one time to resync the cache

- relatedly, thumbnails should now correctly live-update their deleted tags on deletion record clearance updates

- if mpv is not available, opening the about window will now make a popup with the actual import error trace

- significant refactoring of various ui code

next week

Next week is a 'small jobs' week. I have plenty to be getting on with, so I will just try to mix it up with a variety of fixing and improving work. I'd like to push on some more mpv issues like slideshow and custom .conf support in particular.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

13dd0b No.13648

Not sure if I should put this here or in the bug thread, but I'll put it here because it's related to this version.

mpv was rolled out to Linux in the last version but it didn't work for me in that version and still doesn't in this one. You introduced the popup after clicking about to see why it doesn't work if it says that it's not available. I tried doing what it said (installing mpv-libs) but that didn't fix the problem, so maybe putting the trace here for you can help you figure out what's going one. I use Fedora (linux distro). Also, The "libmpv.so.1" file that the error talks about is indeed in the right spot, where it says it should be, however, "libnsl.so.1" is absent.

Traceback (most recent call last):
File "site-packages/PyInstaller/loader/pyiboot01_bootstrap.py", line 151, in __init__
File "ctypes/__init__.py", line 348, in __init__
OSError: libnsl.so.1: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "include/ClientGUIMPV.py", line 21, in <module>
import mpv
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "/home/hydrus/Desktop/hydrus/hydrus/venv/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
File "site-packages/mpv.py", line 52, in <module>
File "site-packages/PyInstaller/loader/pyiboot01_bootstrap.py", line 153, in __init__
PyInstallerImportError: Failed to load dynlib/dll '/home/['''my username''']/Hydrus_Network/hydrus network/libmpv.so.1'. Most probably this dynlib/dll was not found when the application was frozen.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13650

File: fd95a3d93c7f7b3⋯.webm (893.28 KB,900x900,1:1,fd95a3d93c7f7b34b0e51e80b….webm)

this weird for anyone else? I get an image, music plays, but no bar at the bottom

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13651

File: 6ecc0ece305dc59⋯.webm (3.93 MB,444x440,111:110,6ecc0ece305dc5941bea4f270….webm)

File: cb9c9522061b7f9⋯.webm (2.73 MB,100x100,1:1,cb9c9522061b7f9e5b80d33ad….webm)

>>13650

ok, i'm starting to see a pattern as i started to parse the ygyl threads, if there is no frame change it does not advance the bar regardless of progress in the 'video'

came across wayward son, but in hydrus, at least 383 (haven't updated yet, wanted to get some of the parsing done before that) it was unlistenable, each frame change caused a hitch, but other programs handled it just fine.

found it a bit weird.

found another one while this post apparently failed to upload so I added it

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13652

>>13651

ok, just updated to see if it still impacts the files and it does.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ef290d No.13653

>>13646

anon here who suggested database improvements + smartcrop. I've been testing some stuff. are you interested in a python hashing library coded in rust? I've got an implementation working with javascript ffi bindings to rust, I can possibly port it to python. It hashes the file, produces a smartcrop (~20kb per thumb, around 250x250 dimen. IIRC), produces a perceptual hash, etc in one pass of a file read. I can add stuff to it, on average it has 500ms-1s execution time but it's also multithreaded across all cores so (500ms-1s)xN threads if I/O isn't a bottleneck. I haven't worked out the specifics of mimetypes yet because that's a pain. I also need to add ffmpeg support for video thumbnailing.

if your average image size is 700kb, then the thumbnails should only increase the total data by ~3%, 4% for 500kb average, etc.

also, a blake3 implementation was just released. it's 6x faster than sha2, but I know you even keep md5/sha1. migration seems like a pain.

https://github.com/BLAKE3-team/BLAKE3

anyways, this should markedly improve import times while also providing beautiful thumbnails at a very small space cost.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ef290d No.13654

>>13646

>>13653

also, a more efficient method than ffi bindings would probably be an ipc pool. you would spin up process and send it file paths. with ffi there's a cost to the calls, plus the threadpool needs to be spun up, so batch requests are required for ffi. or maybe a hybrid approach by sticking the ffi call into a python thread would work. I can give it a shot but it might take me some time.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e76560 No.13656

>>13650

Unrelated but that's a nice song, can you tell its name?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13657

>>13656

田中理恵 ニンギョヒメ

https://www.nicovideo.jp/watch/sm7730082

get the "aha music" plugin for chrome and play the song and click it, it will search its database for a similar song and if its not obscure or too much background noise, it usually gets the song.

https://chrome.google.com/webstore/detail/aha-music-music-identifie/dpacanjfikmhoddligfbehkpomnbgblf

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13658

ok, had 2 crashes since version 384 was installed, one crash just had me close it, the one just now just flat out closed itself. I have no real idea why but i'm assuming mpv related due to parsing webm/gif at the moment

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13661

>>13658

selected 2 gifs, right clicked, crash

reopened, did the same, no problem.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e76560 No.13663

>>13657

Thanks.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13664

>>13661

another crash when going from one video to the next and more nothing showing up in log for a crash reason.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

9f6bba No.13665

File: 03ea316409fefdb⋯.png (20.86 KB,496x501,496:501,Untitled.png)

Just tried installing Hydrus for the first time ever and Win10 cucked me with this when I tried to run the client the first time.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

996fd7 No.13666

>>13665

>what is a false positive

you don't into computer do you son

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

410b95 No.13667

Thank you yet again, based dev.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8292c No.13668

test post, help compute

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8292c No.13669

hydev here, I had some trouble posting, sorry if a bunch of dupe posts suddenly appear

>>13648

Thank you for this report. I have libnsl.so.1 on my Ubuntu machine, so for some reason PyInstaller is not including it. In some searching, I saw there was some issue with this no longer being included in some recent versions of Linux, Fedora included, so perhaps it is being assumed that you will have it so it doesn't need to be bundled. Here's some info:

https://github.com/knapsu/plex-media-player-appimage/issues/13

I know very little about Fedora, but could this just work?:

sudo dnf install libnsl

Is dnf the Fedora version of apt?

If it doesn't, I'll send you my libnsl.so.1 to put in your hydrus base directory and we'll see if it works, in which case we can try manually bundling it in the build.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8292c No.13670

>>13651

>>13650

>>13652

Thank you for this report and these examples. The old native hydrus video viewer works in x/y frames rather than timecodes, so single-frame music vids like these are in temporary limbo. I think the viewer is thinking these are single-frame gifs and is ignoring their duration metadata. I will make a job to add the seekbar in this case and make sure it works.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8292c No.13671

>>13653

>>13654

I am afraid I do not know anything about Rust, so I do not feel I can talk very confidently about this. I do not want to ask you to do some clever work that I then do not know how to integrate. Can you talk more about it?

I do not want to add more phashes to the database at the moment (the bottleneck in the dupes system atm is processing potential dupes rather than needing to find even more), and I am not interested in adding anything like blake3 unless it gets wider adoption, but I would be interested in a simple python file that could take an image in PIL or OpenCV format that would then return the cropped SmartCrop version, or the respective coordinates. I can handle the ffmpeg side of providing a jpeg/png screen grab. If that is something you think is possible and would be willing for me to fold it into the code so I can play with an experimental thumbnail mode for it, I would appreciate it.

I am overwhelmed with my bugfixing/Qt-cleanup/small jobs queues at the moment, so please forgive me if I cannot spend the correct time or attention on anything too new or clever.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8292c No.13672

>>13658

>>13661

>>13664

Thank you for this report. I am sorry you are having trouble. Can you say what OS you have, and how you run hydrus? Is it with my build, or do you run from source?

For now, I recommend you change the options-media settings to play video/audio/animations with the native viewer.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f8292c No.13673

>>13665

>>13666

Thank you for this report. I had a similar question on tumblr about it, if you are comfortable visiting this link:

https://hydrus.tumblr.com/post/190847701679/just-a-heads-up-that-the-latest-version-of-hydrus

This has happened before, and I expect it will happen again. Hydrus does some funky stuff and is built with duct tape, so we get hit by false positives from time to time. It tends to go away in a couple of weeks when the next set of anti-virus definitions go out, or my code changes enough to not trigger the algorithm.

Please keep these reports coming–if we ever are hit by something real, I obviously would like to know asap.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e763b8 No.13681

Could a way to sort duplicates for processing be implemented? For example, if I have a bunch of "pixel-for-pixel" duplicate images, it would be nice to just get those out of the way first and quickly. Because they're dead easy

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13682

>>13672

win 7, your installer, current session is 1424860 weight, been going through /gif/ mass trendwatcher removing shit I don't want, so its a constant opening video, and due to sound being a primary reason im able to do this, im keep with mpv, even with crashes its so much faster then opening exturaly even if double click still did that.

for what its worth these were from the preview window not the media viewer, now that I say that when I get back to parsing gifs ill try media viewer only and see if it makes a difference, right now i'm half paying attention to news while parsing images.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13683

>>13682

ok, had a crash in media viewer too, then shortly after a second crash.

part of me is thinking something didn't install correctly, so fingers crossed wednesdays version will fix it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

6d80d0 No.13686

File: 6c86d2809ca35f8⋯.jpg (346.17 KB,1199x897,1199:897,6c86d2809ca35f8636601f917c….jpg)

I had an ok week. The mpv player has some fixes and improvements, such as slideshow support, the shortcuts system deals with double clicks better and now handles closing a media viewer or filter, and I fixed a variety of smaller bugs.

The release should be as normal tomorrow.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3d9900 No.13687

>>13686

Ok, now that endchan is back up, and because its less annoying to post there, i'll be moving back to posting there. however I have an interesting… problem?… and i'm wondering if there is a solution.

so right now with hydrus I have a threadwatcher that is 2100 watchers big, and this poses some issues with parsing, some threadwatchers only have 5 images, some have 150+

some have a good name that is easy to follow, some decided a new name scheme each fucking thing is acceptable.

some make it to competition and some struggle to get passed the 100 mark.

so lets take something like… vore seems to be a good one. there are 3 threads where its the first word, but then there is /vore/ which has 22, then there are different flavors of vore… ect ect.

now lets say I want to parse them all at once, im unable to do that because they are not in any way lined up for me to do so.

now, I will admit, since the delete tagging has become a thing, I have been going through watcher lists and I probably went through several hundred this week alone parsing every images. going forward what im going to ask for has a far lesser need or impact, but if its easy to implement it would be helpful currently.

is there a way to add an exception 'search' to watchers, where if I wrote 'vore' as a search term anywhere in its subject it has 'vore' it would show it and it exclusively? when I remove the term it would show everything again?

at the very least for me this would greatly help the parsing process and even if it took a bit to implement, I have a saved session that has a metric fuckton of watchers as well.

i'm hoping that by the end of the year with all the tools that came in I can be done with parsing old watchers.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

2ebdae No.13700

>>13687

I agree. I think adding a text filter to watchers, downloaders, and subscription lists is a good idea, and I would already like that tech available for some other parts of the program. I need to do some research first and rejigger my list code to support a filtered view, and then I will try to get this done.

I am sure you know, but just in case you do not: you can shift/ctrl-select multiple rows in the watcher list and then right-click->show all importers' new files to do easy one-step en-masse display of imported files.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]