[ 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

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
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/

File: 1439619126312-0.png (22.5 KB, 596x361, 596:361, 15-08-15_15-59-47-client.e….png)

File: 1439619126315-1.png (30.03 KB, 1363x565, 1363:565, 15-08-15_16-10-26-setup_ex….png)

 No.1041

I've been working on getting tags -> exif working with a friend.

Uses a powershell script to regex tags out of a filename.

I've brought the idea up before, and we know it's not for putting files back into the database due to a changed hash, but it's more so for external storage.

Back on point, I seem to have a compromise on our method, as we overlooked the maximum amount of characters allowed for files (I defaulted to this case as it's a general IO error, exhibit a).

A new method I'm concepting, is to match a image hash, example 5a1.jpg to a palintext document, example 5a1.txt.

From there, as we've already regexed' the filename, we can query a text document to scan an use a program to add these tags to a files exif.

Problem is that since a while ago, tags used to be stored differently, allowing them to be obtained using regular methods, but this was scrapped in favour of a better system for databases.

So I'm asking if it's able to implement a method that allows plaintext tags, and if possible in a method that doesn't seem counter intuitive to our current method

Currently, we've been using Exhibit B to export our files

 No.1043

File: 1439741448587.jpg (41.99 KB, 375x523, 375:523, 81002101.jpg)

I'm not quite sure what you're asking but it looks like you hit Windows maximum filename length in the error. The max filename is 255 bytes, 260 with the path.

It would be nice if Hydrus could export a text file with the list of tags to work around that.


 No.1045

>>1043

Ignore this, I just noticed you mentioned exactly that point.

Couldn't we export our own YAML or JSON files instead of archive.db?


 No.1049

File: 1439746969842.jpg (278.07 KB, 1079x1420, 1079:1420, 4d01680afe7db830d2aaefe727….jpg)

This is a good suggestion, thank you. I will add an option to the export dialog to export tags as a newline-separated plaintext list in a .txt file beside the file. It shouldn't be too hard to add it for export folders as well.

I won't have time to work on this this week, but I think I will next.


 No.1094

File: 1441286134994.png (20.39 KB, 558x362, 279:181, 15-09-03_23-13-55[1].png)

>>1049

>but I think I will next week

:c


 No.1098

File: 1441301773410.jpg (154.32 KB, 830x632, 415:316, 84d2fed2b753b1eb5fde642d54….jpg)

>>1094

Sorry, I forgot to schedule this properly! I will make sure to do it this week. Thank you for reminding me.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]