[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


New user? Start here ---> http://hydrusnetwork.github.io/hydrus/

Currently prioritising: simple IPFS plugin


YouTube embed. Click thumbnail to play.

 No.2103[Reply]

windows

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

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

os x

app: https://github.com/hydrusnetwork/hydrus/releases/download/v194/Hydrus.Network.194.-.OS.X.-.App.dmg

tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v194/Hydrus.Network.194.-.OS.X.-.Extract.only.tar.gz

linux

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

source

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

I had a good week. I mostly worked on IPFS, and successfully got pin and unpin working, and otherwise did a bit of cleaning up and added a new way to add tags on import.

ipfs pin/unpin

Now that I know this all works, I will write up a help page for IPFS, including what it even is and where to get it, for next week, so if you don't understand any of this, please hang on a little bit.

Post too long. Click here to view the full text.
26 posts and 7 image replies omitted. Click reply to view.

 No.2165

File: 1456771489470.jpg (202.6 KB, 759x1024, 759:1024, 851c87ccb7e681ca84c65d52af….jpg)

>>2162

Drag-and-drop some files onto the main client window to bring up the import files dialog. This has two green-texted buttons, import now and add tags based on filename. Hit the 'add tags' one, which gives you the more complicated dialog that lets you add filename-regex and other complicated tags. The new checkbox is on that dialog, called 'try to load tags from neighbouring .txt files'.

It tries to parse the .txt files' tags live, btw, so they should be listed in the 'tags' column as soon as you hit the checkbox. Let me know if the control doesn't layout or work correctly for you.


 No.2169

>>2165

ah I see now. I'm the guy who made the booru parser so this is a good find. I guess the auto-importer via import folders doesn't support file name regex or txt files (yet)?


 No.2171

File: 1456819676146.jpg (221.05 KB, 1221x797, 1221:797, boorutagparser-server.jpg)


 No.2200

File: 1457208392633.jpg (577.61 KB, 1559x2053, 1559:2053, 058302a72c601b3a045ae3afbb….jpg)

>>2169

I will try to add .txt parsing to import folders in the next week or two. Regex is a more complicated thing to store, so that'll have to be put off until the next big rewrite of that code.


 No.2208

File: 1457350821440.webm (2.24 MB, 1406x900, 703:450, 16-03-07_22-39-00.webm)

>>2128

>These redirect all gateway links to your local daemon when it's on

lmao, don't even run the gateway on my local machine

hacked this up though, tedious but whatever




File: 1424091152174.jpg (21.38 KB, 291x302, 291:302, 1368830018457.jpg)

 No.229[Reply]

Can a kind sould point me out how to import the danbooru/gelbooru tags? When I go to file/import metadata all I get is this error:

'utf8' codec can't decode byte #xea: invalid continuation byte
in "C:\Hydrus Network\db\danbooru.db", position 31
46 posts and 11 image replies omitted. Click reply to view.

 No.2187

>>2185

Or an even simple method for this case would be a button/syntax for automatically searching unnamespaced tags, since OR logic seems much more complex.

So typing 'character:elin',would automatically give results for unnamespaced elin too. Or '+character:elin', to save on gui space.


 No.2188

>>1932

And I just realized why

Putting a tag archive in remote -> tag repo let's you search for tags from that specific tag service only. Before I was running searches on local tags, which meant every tag archive I had synced. Before, I always had assumed it was related to running a server, so I never bothered checking it out. The more you know~


 No.2190

>>2184

>>2185

>>2187

I just don't use namespaces, don't see much point in separating them from the other tags as namespaces when I'm only going to be typing "Yui Hirasawa" in anyway.

The rule34 sites is a good reason however, and the boorus have eastern naming conventions for some of the files I've tagged (last name first), so anything I manually tagged would be in the opposite order and I would have to do searches.

Is there a different approach to doing this, some sort of alias setting? I could use that in other tags; I've got K-On! as a tag, but I'll always type "kon" because who would drop the hyphen in there on a search? Windows would ignore the hyphen and display files with K-On! as a tag when you search "kon" for example.


 No.2191

>>2185

>However, since some sites DO use namespaces, you also wouldn't get any results from typing in un-namespaced elin from booru* sites

Actually, if you search for an unnamspaced tag, hydrus will return all instances of that tag, ignoring namespace. I know this from experience (A lot of pokemon images are tagged with the character namespace, while others use the species namespace. If I want both I have to search for the un-namespaced pokemon name).

>>2190

>I just don't use namespaces, don't see much point in separating them from the other tags as namespaces

It's pretty useful when the same tag might mean different things in different context. A "series:archer" tag means something very different from a "character:archer" tag, which in turn is very different from a generic "archer" tag.

>The rule34 sites is a good reason however, and the boorus have eastern naming conventions for some of the files I've tagged (last name first), so anything I manually tagged would be in the opposite order and I would have to do searches.

This is the exact situation tag siblings were implemented for. Look up in the helpfiles what those do and how they work.


 No.2205

>>2191

Would the tag siblings thing be applicable to the Keion example?




YouTube embed. Click thumbnail to play.

 No.2173[Reply]

4 posts omitted. Click reply to view.

 No.2182

Windows defender is tagging opencv ccalib something as a trojan :/


 No.2189

>>2173

>In preparation for the new cache layer

> This search domain is so massive, computationally heavy, and so very rarely used, that it is ultimately best to just not support it going forward.

Actually looking forward to this. My client.db is at about 10GB now, with about 1.4mil files added. The only thing that really slows down is large searches of course. Keep up the good work!


 No.2195

Hey, anon who requested the source field/known URLs feature.

I tried it out and it works nicely for files that were downloaded through Hydrus, but it obviously does nothing for files that were imported.

I'd appreciate it if you added in some way to manually set URLs for images, so that it can be used like a source field similar to Paheal or Gelbooru.


 No.2201

File: 1457210019926.jpg (447.88 KB, 2455x1609, 2455:1609, 57a44abb948a096032a44d4999….jpg)

>>2177

Thank you for this report–it looks like tumblr changed their API just slightly. I have fixed the parser for next week. Let me know if it doesn't work for you.

>>2179

Shortcuts are a bit of a mess right now. There is an ugly options panel at file->options->shortcuts. You can change fullscreen_switch, and previous/next, but not zoom stuff yet.

I would like to rewrite and clean up all the shortcuts in the program, making every action customisable and clean to edit, but it'll be a big job. I will have it on the list of features to vote for, then next time that comes around, so please vote for that if you care about it most of all.

>>2180

That's a good idea, thank you. I'll add a 'here are some add-ons that help you use multihashes in browsers' bit.

>>2182

Hmm, my (Win 10) Windows Defender doesn't. I have opencv_ccalib310.dll at 252,928 bytes. It was last modified 26th Jan 2016 at 3:45pm Central Time (I think that modified stamp propagates through the extract/installer). Do you have the same?

>>2195

I am thinking of listing the known urls in the media viewer, top-right, below where ratings and remote file services go. I can have them work like regular hyperlinks on the hover window. I hadn't thought of editing them–maybe I could do right-click->edit urls for that control or something?


 No.2202

File: 1457225205775.png (10.36 KB, 405x487, 405:487, example.png)

>>2201

>I am thinking of listing the known urls in the media viewer, top-right, below where ratings and remote file services go. I can have them work like regular hyperlinks on the hover window.

Sounds like a good idea.

I also had an idea of putting it in the sidebar under the tags for the selected image, like this image I mocked up.

That might take up a bit of room for people who don't want it though, maybe it could be hidden with an option.

I'd be more than happy with either idea though.

>I hadn't thought of editing them–maybe I could do right-click->edit urls for that control or something?

That would work nicely.

The reason I'd like to manually edit that is because I already have my image collection downloaded, so it'd be a bit easier to import my collection as is, and then add the URLs.




File: 1456872667516.png (85.04 KB, 780x827, 780:827, 89a5f07037e68bae13152f7370….png)

 No.2172[Reply]

I had a good week. I improved several miscellaneous things, fixed some bugs, including a bad flaw in repository processing, and added a couple of IPFS bells and whistles, including a new help page.

The release should be as normal tomorrow.



YouTube embed. Click thumbnail to play.

 No.2052[Reply]

windows

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

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

os x

app: https://github.com/hydrusnetwork/hydrus/releases/download/v193/Hydrus.Network.193.-.OS.X.-.App.dmg

tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v193/Hydrus.Network.193.-.OS.X.-.Extract.only.tar.gz

linux

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

source

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

I had a good week. I am feeling much better and am generally back to schedule. I fixed a lot of bugs and improved several different things. Unfortunately, my plans for IPFS integration encountered a small snag.

Incidentally, I played through Human Resource Machine this week and really enjoyed it. If you are a software engineer, or are looking to become one, check it out.

the client's servers are off by dPost too long. Click here to view the full text.

17 posts and 9 image replies omitted. Click reply to view.

 No.2094

File: 1456259228774.jpg (380.76 KB, 1659x2182, 1659:2182, a45781cd31531a80437dc9bf3d….jpg)

>>2071

I do remember you reporting this previously, and I am sorry this is still causing you a problem.

I just had another look at the code, but nothing pops out at me as to why this is happening for you. The client will only delete from an export folder if it is set to 'synchronise', which I think I remember you had not set. Even then, it is only supposed to delete files that do not match the expected search results. This might occur if you had a search set that might sometimes give 0 results, although I don't know what that would be–maybe something with multiple system:age parameters. I presume you have a simple 'wallpapers' search for your export folder or similar.

I think we should see if it really is the export folder code that is clearing these folders out. Please go services->pause->export folders (so they won't regularly run) and then close the client. Copy some random files into your export folder and check back after the period you would normally expect the files to disappear in. If they do not disappear, then it is likely the client is doing it, so then open the client and wait that period again. If they do not disappear, then it is likely the export folder code is doing it.

If it is the export folder code doing it, and you don't have a 'synchronise' export folder, then I really don't understand what is going on. I seem to remember writing some debug code or something for your situation, but I can't remember the outcome. We could try that again, if you like.


 No.2105

>>2094

I went off script and found something interesting.

>Opened the export dialog, which triggered a full sync (I am using sync at the moment)

> pause export synchronization

>deleted most files from the export folder, but not all

>added a random file

Results:

the file I randomly added was left untouched, but the remaining pictures were all removed.

Stated in other words: it appears something is triggering the synchronization logic, inverted. It deletes files that should remain, and leaves files that should be deleted.

I have verified, twice, that these files are being deleted from the export folder while synchronization is paused.


 No.2134

File: 1456608803663.jpg (1.8 MB, 2937x2086, 2937:2086, 30dbf56da2a1b276cc8c59ca86….jpg)

>>2105

That's interesting. If the files are definitely disappearing when export is paused, then I am confident that the export folder code isn't doing it–it is only ever called in one place, and can only fire when it is unpaused. It even abandons its work if the pause is set while it is running.

So, unless something very odd is going on, it is either something else in hydrus or an external program doing it.

Was the file you randomly added–that wasn't deleted–a jpg or something else that hydrus can import, or was it a .txt or something? If you add random jpgs, do they disappear? Although it sounds silly, please double-check you don't have an import folder set to that same location, especially if you run more than one client–this repeated clearing out could certainly be caused by a 'delete' import folder. You can even try hitting 'pause import folder sync', just in case there is some hidden import folder or something.

And how about your external storage locations? Are they all as you expect in file->options->file storage locations?

Then, can the delete occur when the client is not running? If so, then it is almost certainly an external program doing this. It could be some other wallpaper harvesting program or something like that that is only taking files younger than x hours, or only the aforesaid jpgs.

Just as an aside, I'll add some log stuff to import and export folders for v195–maybe that'll tell us more.


 No.2151

>>2134

OK, I found the issue, it was my bad.

Import task for ~/pictures

Export task for ~/pictures/bg

import task kept "importing" and deleting the contents of bg. I changed the import settings to ignore files already in the db, but I'd prefer an option to not recuse subdirectories.

Thanks for helping me narrow this down!


 No.2166

File: 1456771887513.jpg (320.73 KB, 737x1118, 737:1118, 3ba07418f0c54e1a4b4f90279c….jpg)

>>2151

Thank you for the update. I think this was ultimately a user-interface problem. Both of those dialogs could do with some better info text, and I will add a test for and warning about overlapping import and export folders.




File: 1455987666683.jpg (10.84 KB, 568x404, 142:101, Bahelit_Awakes.jpg)

 No.2062[Reply]

Hey guys.

I'm going straight into it.

I've got 3.367 gif files above 5MB, amounting to 44GB. I can lower that to half or even less, just need a way to automate the tag transportation.

The fastest way I thought about was:

1) Export all gif files

2) Name all files with their respective tags

3) Batch convert everything to webm

4) Import everything back into Hydrus using a regex

I have everything sorted out except, you guessed it, 2). Just too many characters for Windows limits, therefore Hydrus won't export them.

The alternative is exporting all files with their hashes for file names and their tags inside txts, convert everything then manually add all tags back in!

I got to 24 files deep, before going insane.

Anyone has any ideas?

 No.2065

File: 1455996547295.png (2.67 MB, 1536x1750, 768:875, e97c54413c4012786d855110f7….png)

Although I have plans to make it easier, there aren't a lot of ways to mass import tags right now.

Also, when I add 'this file looks like this file–should they have the same tags?' to the program, your specific problem may be fixed in general.

Until then, I think you will have to use a script of some sort, and unless you want to get very complicated, you'll want to use python, so you can create a 'hydrus tag archive' using my code, which would let you import all the tags for the new files. I would do:

Create empty HTA

Export all files with tags in .txt files.

For each ( file, text_file ):

convert file to webm/mp4

figure out sha256 hash of new file

submit ( hash -> tags ) to HTA

Then manually import all those new files, and manually import the HTA to whatever tag service you want.

If you have experience with python or other general programming, I can walk you through it. It wouldn't be more than ten or twenty lines of code. But if you have no experience with programming at all, it might be more difficult.

In fact, now I think of it, I'll look into adding a checkbox to the import workflow that says 'import tags from a [filename].txt if one exists'. Since I added it for the export, I might as well allow the opposite. I might not have time for it this week, but it won't be too difficult.


 No.2067

I can't code but I'm not a computer illiterate (guess all users of Hydrus aren't the average PC users) so if you're willing to teach me, I'm willing to learn. If you give me a general guideline I might be able to Google my way through it.

The 'import tags from a *.txt' checkbox would erase the problem altogether.


 No.2085

File: 1456112414742.png (41.75 KB, 911x561, 911:561, 16-02-22_14-36-46-Windows_….png)

>>2062

>2) Name all files with their respective tags

don't do this

Even though we implemented the txt file here

>1041

I'm still yet to get it working through batch/powershell

however, if the tags aren't enough to overflow the filename boundary, this scipt we created, initally just for exif tags, can easily be repurposed into an ffmpeg script


 No.2095

File: 1456260723002.png (188.89 KB, 500x501, 500:501, 5297c4f4ca8c9de939efac892b….png)

>>2067

Right, I've done this for tomorrow. You'll have to mass-rename your txt files from [hash].gif.txt to [hash].webm.txt or whatever, but otherwise, the 'add tags based on path' dialog now has a checkbox that'll try to parse tags from these neighbouring txt files. Let me know if it doesn't work for you.

If you don't have a mass renamer, I like Batch Renamer:

https://sourceforge.net/projects/batchrenamer/


 No.2163

>>2095

Thanks, works wonders. I use Bulk Rename Utility myself.




File: 1456267824488.jpg (225.45 KB, 1280x960, 4:3, 9d53455f24d5e7e4f3ea5ddbbf….jpg)

 No.2097[Reply]

I had a good week. I mostly worked on the client's IPFS service, which now supports pin/unpin for individual files.

The release should be as normal tomorrow.

 No.2100

What exactly does IPFS do?


 No.2102

>>2100

Its a bit like bittorrent, but with a few more bells and whistles. It works very well for the small files that hydrus typically manages. I'll talk about it more in today's post, and I'll write it up a bit more formally in my help files next week.




File: 1455507580663-0.png (596.07 KB, 500x500, 1:1, 9fe50084426227645e8e726406….png)

File: 1455507580703-1.png (602.5 KB, 500x500, 1:1, 9e7b8b5abc7cb11da32db05671….png)

 No.2040[Reply]

I have a fair amount of APNGs, but Hydrus only shows the first frame. Is it in the realm of possibility to get them working?

>pics related

1 post and 1 image reply omitted. Click reply to view.

 No.2048

>>2044

>APNG support through ffmpeg

Hmm, that would be an interesting way to do it.

I actually think that ffmpeg supports all popular image types (PNG, JPEG{ XR,2000}, WebP, GIF, TIFF, BMP, etc) in addition to being a video powerhouse, so if the other two image libraries end up not working out well you might be able to switch to ffmpeg completely and be OK.

I don't know if that'd be feasible or not, but it's something to think about.


 No.2063

>>2040

Why not convert it to webm? Since it basically took the place of what apngs were supposed to do and is quickly becoming the new standard.


 No.2070

File: 1456013703088.webm (4.88 MB, 500x500, 1:1, out.webm)

>>2063

1. Lossless WebMs are huge. APNGs, while equally as lossless, are not. webm related

2. WebM is a video format, like MP4. Not an image format.

3. If anything were to replace APNG, it would be something like WebP or FLIF


 No.2082

>>2070

eh.

1. [lossless] APNGs are also huge. Maybe not as huge as lossless webm, but still ridiculous.

2. webm has basically alread entirely replaced gif, as far as the www is concerned. Desktop software is coming around to that notion- several image viewers already have webm support in the works. APNG, on the other hand. is ancient and has zero support from any given image viewer. APNG died years ago. Webm being "video" (or rather, using a technology commonly associated with video) is a meaningless distinction- even more meaningless when you consider almost no software can even open APNG, whereas webm already has more acceptance than APNG ever had, or ever will have.

3. Convert your existing APNGs to lossless mp4, don't create any more APNGs. Where there is (planned/existing) webm support, there is some push for mp4 support as well. Lossless x264 is significantly better than PNG compression.

We are in a transition state, where the logical conclusion is that all "video" and "animated image" content use the same technology, and are the same thing. It's already mostly here. Backing the lossless mp4 horse is going to pay off- backing APNG is definitely not.


 No.2093

File: 1456257211620.gif (700.86 KB, 736x547, 736:547, e38f95203048d427d0d713dc72….gif)

Unfortunately, it seems FFMPEG doesn't give 'Duration' for apngs, and I don't see another reasonable way of getting that information (or num_frames, which is what I really want), so I won't add apngs yet. Again, if you discover a python library that can figure this stuff out, or if FFMPEG learns to parse them better, then I'll try again.




File: 1456010656322.png (120.77 KB, 250x418, 125:209, 1416038647012.png)

 No.2069[Reply]

user@ThinkPad-X60s ~/Downloads/hydrus-191 $ ./client.pyw
Critical error occured! Details written to crash.log!
user@ThinkPad-X60s ~/Downloads/hydrus-191 $ cat crash.log
Traceback (most recent call last):
File "./client.pyw", line 23, in <module>
from include import ClientController
File "/home/user/Downloads/hydrus-191/include/ClientController.py", line 1, in <module>
import ClientCaches
File "/home/user/Downloads/hydrus-191/include/ClientCaches.py", line 1, in <module>
import ClientDefaults
File "/home/user/Downloads/hydrus-191/include/ClientDefaults.py", line 2, in <module>
import ClientData
File "/home/user/Downloads/hydrus-191/include/ClientData.py", line 4, in <module>
import ClientFiles
File "/home/user/Downloads/hydrus-191/include/ClientFiles.py", line 7, in <module>
import HydrusFileHandling
File "/home/user/Downloads/hydrus-191/include/HydrusFileHandling.py", line 10, in <module>
import HydrusDocumentHandling
File "/home/user/Downloads/hydrus-191/include/HydrusDocumentHandling.py", line 2, in <module>
import PyPDF2
ImportError: No module named PyPDF2
user@ThinkPad-X60s ~/Downloads/hydrus-191 $ sudo pip install pypdf2
Downloading/unpacking pypdf2
Downloading PyPDF2-1.25.1.tar.gz (194kB): 194kB downloaded
Running setup.py (path:/tmp/pip_build_root/pypdf2/setup.py) egg_info for package pypdf2

Installing collected packages: pypdf2
Running setup.py install for pypdf2

Successfully installed pypdf2
Cleaning up...
user@ThinkPad-X60s ~/Downloads/hydrus-191 $ lather
user@ThinkPad-X60s ~/Downloads/hydrus-191 $ rinse
user@ThinkPad-X60s ~/Downloads/hydrus-191 $ repeat

Surely there must be a better way. Why can't you make a depends.py script? or is there one and i'm just a retard

 No.2077

File: 1456083683181.jpg (225.33 KB, 1600x1071, 1600:1071, a35824528d530ce41b54cd1b32….jpg)

Sorry, I don't have much experience putting out source for other people to run, and I'm not really naturally professional anyway, so I never bothered to research it. I'd never even heard of a depends.py before, so that's why there isn't one!

If you haven't seen it yet, I put together a help page on my experiences getting the source to run on different platforms here:

http://hydrusnetwork.github.io/hydrus/help/running_from_source.html

Specifically, this seems to cover most of the bases:

(sudo) pip install beautifulsoup4 hsaudiotag lxml lz4 mp3play nose numpy pafy Pillow psutil pycrypto PyPDF2 PySocks python-potr PyYAML requests Send2Trash twisted

Although there can be more complicated stuff to do for things like wx–see the page.

Is depends.py something that'll auto-install this stuff? Is there some built-in library that'll check my code and automatically generate that file or otherwise figure out what the local python installation needs? I don't know what documentation I should be looking at, for this stuff, so I would be interested in what you can recommend. I prefer simple and multi-platform above everything else.


 No.2081

Actually, what I wonder is if you can't turn these dependencies into optional dependencies.

Restructure your code so that hydrus only crashes when things it actually needs are missing. Otherwise, just throw an error message, "you need python2-whatever to use this function".

I don't know if this is normal for python projects (or rather, I suspect python was never meant to scale up and is not a good language for large projects like this), but you've got quite the collection of dependencies going on here and I'd be glad to cut out the ones I don't use.




File: 1455664118885.jpg (107.61 KB, 624x835, 624:835, 8a584c4d55c44d5b8121f27f50….jpg)

 No.2049[Reply]

I had a good week. I am still a little tired, but mostly back on schedule, and happy to be working again. I fixed a lot of bugs, improved some annoying gui things, and reworked some bad job logic to reduce various kinds of program lag. I also did some IPFS stuff, but due to a misunderstanding on my part on how IPFS works, had to cut it slightly short. I can still do some neat hydrus&ipfs stuff in future, but it'll take more work my end. I'll talk about it more in the release post.

The release should be as normal tomorrow.



File: 1454705050904.jpg (39.39 KB, 537x720, 179:240, 30040ca8d6fbf6f9720e0bc81d….jpg)

 No.1994[Reply]

I noticed hydrus dev always posts classical art pictures when responding to threads. I imagine they probably have a big collection of it.

was hydrus network originally some sort of secret art cataloging/ art history analyzing program or do they just really like classic art?

 No.2005

I'm gonna take a random guess and say it's probably easily available and not encumbered by licenses, etc.. As such there probably exists a lot of existing collections and projects around them so it may be a good thing to use for testing.

They probably like it too though ;^)


 No.2013

>>1994

>Mega Coc


 No.2019

File: 1455084869617-0.jpg (478.51 KB, 1280x1135, 256:227, ccf17816325aeb1aa6538303a5….jpg)

File: 1455084869617-1.jpg (855.93 KB, 1158x2040, 193:340, b99460535a38a4bed3d4021346….jpg)

File: 1455084869617-2.jpg (3.06 MB, 3426x2571, 1142:857, 61303469c611985f0ab5ca2b58….jpg)

File: 1455084869618-3.jpg (1.8 MB, 1734x2262, 289:377, cafc24ae45fde89116c48e5be0….jpg)

File: 1455084869618-4.jpg (1.67 MB, 1906x2343, 1906:2343, f0b12880c5924340e479d2a1fa….jpg)

Although hydrus has always been content-agnostic, and my art collection is only about 0.25% of all my stuff, the general experience of fine art is probably the thing I care about most in the world. When I look at this stuff, or I listen to Wagner or Bach or Mozart or any of the other masters, all of my hope and enthusiasm returns.

Beyond /hydrus/, I have always been mostly a lurker, but when I do post, I usually attach art or quotes from stoic leaders like Aurelius. I imagine it only stands out here because I am not completely Anon.

Other than art-dump threads, I got a lot of my art from torrents, by the way. There are a bunch of gallery digitisation projects floating around with a handful of seeds. Most of them have the usual filename problems, so I am very slowly sorting what I have and batch-adding at least artist name and 'fine art' to the PTR. I have about 20,000 files still to import, so I won't run out any time soon!


 No.2041

File: 1455565283171-0.jpg (153.81 KB, 1028x1542, 2:3, Schad_Sonja_1928.jpg)

File: 1455565283172-1.jpeg (763.33 KB, 1920x1241, 1920:1241, Golub - Agent Orange, 199….jpeg)

File: 1455565283187-2.jpg (255.13 KB, 777x1200, 259:400, Marcel Duchamp - The Bride….jpg)

>>2019

>There are a bunch of gallery digitisation projects floating around with a handful of seeds

I didn't know this was a thing. What's the terminology to look up? Are they on the standard public trackers?


 No.2043

File: 1455575741054.jpg (351.12 KB, 1434x2076, 239:346, 34ece1e8925f6e98ef1a85765b….jpg)

>>2041

Yeah, the word to use is 'paintings', as most variations of 'art' will give you 'erotic art' and music-'artist' stuff. There's a load here:

https://kat.cr/usearch/paintings/

But quality varies wildly, and you can easily end up with two thousand more works of Dutch Still Life than you had originally planned, just because the seeds are sparse. Adding 'Monet' or 'European' also helps, depending on what you like.




 No.1967[Reply]

I updated to 191 and now it doesn't even open. I got this from the crash file though. How did I break it?

Traceback (most recent call last):

File "<string>", line 23, in <module>

File "c:\users\tom\appdata\local\temp\pip-build-l9fzm6\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module

File "C:\code\Hydrus\include\ClientController.py", line 3, in <module>

File "c:\users\tom\appdata\local\temp\pip-build-l9fzm6\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module

File "C:\code\Hydrus\include\ClientDaemons.py", line 14, in <module>

File "c:\users\tom\appdata\local\temp\pip-build-l9fzm6\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module

File "C:\code\Hydrus\include\HydrusServer.py", line 2, in <module>

File "c:\users\tom\appdata\local\temp\pip-build-l9fzm6\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module

File "C:\code\Hydrus\include\HydrusServerResources.py", line 13, in <module>

File "c:\users\tom\appdata\local\temp\pip-build-l9fzm6\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module

File "c:\python27\lib\site-packages\twisted\web\server.py", line 36, in <module>

File "c:\users\tom\appdata\local\temp\pip-build-l9fzm6\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module

File "c:\python27\lib\site-packages\twisted\web\util.py", line 304, in <module>

File "c:\python27\lib\site-packages\twisted\web\util.py", line 387, in FailureElement

File "c:\python27\lib\site-packages\twisted\web\template.py", line 401, in init

File "c:\python27\lib\site-packages\twisted\web\template.py", line 344, in _flatsaxParse

File "c:\python27\lib\xml\sax\init.py", line 93, in make_parser

SAXReaderNotAvailable: No parsers found

 No.1977

File: 1454542185153.jpg (3.56 MB, 2247x3540, 749:1180, BALDOVINETTI, Alessio - Po….jpg)

I am sorry to hear this. This looks like a dll error, similar to this other recent report: >>1950 . Do you have a file called 'lxml.etree.pyd' in your install directory? It might have size 835KB.

The v192 I just put out has some new dlls because of the new development computer I built. Please try updating to that, as your problem might be fixed by accident.

Otherwise, try this debug build I put together:

http://www.mediafire.com/download/dsva1ykwegcr2g7/Hydrus_Network_192_debug_-_Windows_-_Extract_only.zip

Just extract it to your desktop or somewhere and run it from console. To do this, shift-right-click on its folder and select open command window here. Then type 'client' and hit enter. The debug build will spam a lot of additional information to the screen and may tell us more about the problem you have. Take a screenshot and post it here or email it to me.


 No.1982

File: 1454562250210.png (179.58 KB, 1920x1080, 16:9, screenshot.png)

Yes, I have that file with that exact file size. I was about to try updating then realized I was already version 192 and I just wasn't paying attention when I wrote this, oops. And I tried the debug version, it worked and ran Hydrus. Here's the screenshot anyway. Maybe I could just export all of my files and tags to a new Hydrus install?

Thanks for your help so far.


 No.2039

File: 1455487957101.jpg (547.14 KB, 1209x1024, 1209:1024, 379ff9b66276a619b045ce313b….jpg)

>>1982

Sorry for the late reply here. Unless I am misunderstanding you, I am pretty certain you were indeed running v191, as I had only put v192 out a few minutes before I made >>1977 . If the debug version works, then I should think v192 will as well. Here's the release post:

>>1976

Please give that a go, and let me know how it goes. If updating doesn't work, does a simple extract-to-desktop v192 work?




File: 1454562400616.png (26.54 KB, 186x208, 93:104, 1454042071830.png)

 No.1983[Reply]

Hydrus newbie here, I've scanned the help section and haven't found an answer so I'll go ahead and ask here. My apologies if there's a general help thread; I'm somehow not seeing it in catalog view.

I've got a number of images that I've tagged via windows (.jpgs), or that I've written tags or other important details into the filenames (.pngs, .gifs, .webms, some .jpgs). My question is, is there a way to bring those tags into hydrus as I import? The ones that are in the filenames are easy enough, though time consuming, via manually typing them but the .jpgs with tags in their data I'm unable to see when importing.

Secondly, is there a way I could somehow force the filename to become a tag as I import? Not just for the files I already have named or tagged via filename correctly, but I like that I can look back over files I've picked up from the chans and know when I got them. Or does hydrus have some sort of "date created" tag that could read those in, instead of just the date when I imported them?

19 posts and 14 image replies omitted. Click reply to view.

 No.2024

>>2023

>>2018

I must've botched something here; script seems to execute but does nothing. It looks like it says "the syntax of the command is incorrect" but it closes so fast I can't be certain.


 No.2025

File: 1455192044415.jpg (72.1 KB, 601x861, 601:861, b8a59bf7e2e9e01351278746fb….jpg)

>>2024

exiftool actually supports folders as targets as well as recursing into sub-directories with the `-r` flag.

So something like this works fine.


@echo off
exiftool -r -Subject= -LastKeywordXMP= -XPKeywords= -Rating= -RatingPercent= -About= -ExifByteOrder= -Padding= %1
pause

You can save that as a .bat and drag any folder onto the batch file and it will scrub through all files within including sub-directories. exiftool also renames the original files to *.*_original so backing up isn't necessary but still advised.

>>2018

Like >>2024 said your script throws an invalid syntax error, all due to that first parenthesis being on the wrong line…


@echo off
FOR %%I IN (*.png *.jpg *.jpeg) DO (
echo %%I
exiftool -Subject= -LastKeywordXMP= -XPKeywords= -Rating= -RatingPercent= -About= -ExifByteOrder= -Padding= %%I
)
pause

Batch is such a "WONDERFUL" thing. This might be an OS difference Windows 10 or 8 may have made Batchs' syntax more bearable.

Feel free to use either solution!


 No.2028

>>2025

Awesome, thanks!

Question though, was there a way to remove the tags from the metadata and append them to the file name? This does work for scrubbing, but ideally I was hoping to move the tags to filename so I see them when mass importing into Hydrus.


 No.2034

File: 1455404440474.jpg (129.7 KB, 827x1169, 827:1169, a59d6a46de75be5add56888088….jpg)

>>2028

Oh, boy.


#!/usr/bin/env python2
import os
import subprocess
import sys
import json
import random
import sets
import logging
import traceback

TAGS = ['XPKeywords', 'Keywords', 'Subject', 'LastKeywordIPTC', 'LastKeywordXMP']

def main():
print("Script start in \"%s\"." % os.getcwd())
os.chdir(os.path.dirname(os.path.realpath(__file__)))
print("Change working directory to \"%s\"." % os.getcwd())

logging.basicConfig(filename="rename.log", level=logging.DEBUG)
logger = logging.getLogger('rename')
ch = logging.StreamHandler()
ch.setFormatter(logging.Formatter('%(asctime)s:%(levelname)s:%(message)s'))
logger.addHandler(ch)

logger.info("Starting...")

if len(sys.argv) < 2:
raise Exception("Need a valid argument.")

raw = subprocess.check_output(['exiftool', '-j', '-r', sys.argv[1]])
if not raw or len(raw) <= 0:
raise Exception("exiftool didn't return anything?")

data = json.loads(raw)
for img in data:
source = img['SourceFile']

name = "%s;%%s.%s" % (os.path.splitext(os.path.basename(source))[0], img['FileTypeExtension'])

file_tags = sets.Set()
for tag in TAGS:
if tag in img:
if isinstance(img[tag], basestring):
file_tags.update(img[tag].split(';'))
else:
file_tags.update(img[tag])

name = name % ';'.join(file_tags)
logger.info("Renaming \"%s\" to \"%s\"" % (img['FileName'], name))

os.rename(source, img['Directory'] + os.sep + name)

logger.info("Ended.")

if __name__ == "__main__":
try:
main()
Post too long. Click here to view the full text.

 No.2036

>>2034

Thanks friend! Works fantastic.




File: 1455378364927.png (62.55 KB, 680x720, 17:18, subs.png)

 No.2032[Reply]

I see that I can export subscriptions in JSON format, but how do I import them?

 No.2033

File: 1455401408122.jpg (2.07 MB, 3500x2403, 3500:2403, e151c423fc4c3245561b77ffcc….jpg)

Try dragging and dropping the json file onto the window. I think I set that dialog up to catch drop events.

This is code I threw together, so it might not work totally right. I think it overwrites an existing sub with the same name, for instance. Let me know if it gives you any trouble.




File: 1455076217088.jpg (115.86 KB, 1000x764, 250:191, a1b09f452772dfc67e6add99b5….jpg)

 No.2014[Reply]

As expected, I spent the week traveling, so there will be no release tomorrow. Everything went great with my trip, and I am feeling a lot better after my previous illness. I now hope to be back to normal schedule for the foreseeable future, so the next release should be on the 17th February. Other than the normal bug fixes and small improvements, I plan to do a little more IPFS stuff.

 No.2016

File: 1455077682750.jpg (175.55 KB, 1280x720, 16:9, maxresdefault.jpg)

Have fun, and stay safe.




Delete Post [ ]
[]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]
| Catalog
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]