Media management#625
Conversation
|
OK, I'm much more happy with how this looks now. I've used ffmpeg instead of imagemagick like the issue suggested, since I'm more familiar with it, but it seems to work equally well. I've tested the changes with a mix of PNGs, JPEGs, and gifs, and they all seem to convert properly, though it would be good to check on more things. If there are any usability changes for the commands you think would be good, I'm happy to implement them. |
laggron42
left a comment
There was a problem hiding this comment.
So far I checked the conversion media tool, works good! Lot of nitpicks regarding style but most of that is just applying suggestions in raw.
I would also appreciate having a flag for changing the output format like avif
|
Pre-commit is failing because of a line I don't think I changed anything there, so I'm not sure why checks are failing. I've added the target format argument and it seems to work. |
|
It's also failing on master and I'm not sure why. You don't have to worry about it, I'll look into it |
154fd8d to
b3ef25d
Compare
|
I was using this on my own dex and I fixed a couple little things that annoyed me |
d7882f9 to
192aaf2
Compare
192aaf2 to
a8a8e0e
Compare
|
Realizing now that conversion probably won't work on pure windows (WSL / docker should be fine) because the shell won't be the same. I don't have a windows device to test on so not sure if that's actually true or just a incorrect assumption. |
a8a8e0e to
03eaf94
Compare
03eaf94 to
bdf8c6d
Compare
bdf8c6d to
27b3d82
Compare
27b3d82 to
8100c02
Compare
8100c02 to
42b1f36
Compare
42b1f36 to
018fdf8
Compare
|
Ok, made the changes suggested on discord.
|
15e911d to
0d67bc8
Compare
3f011b3 to
3d3df76
Compare
3d3df76 to
e3e4d8a
Compare
8fd9f47 to
e3a5e63
Compare
|
Changed base branch to v3, is probably broken rn, will test later |
e3a5e63 to
0ecc655
Compare
|
Updated and tested for v3, all seems to be working. Also added a docs page. |
17d2415 to
7f93aab
Compare
laggron42
left a comment
There was a problem hiding this comment.
Wooo we're almost there (sorry for the insane delay)
Co-authored-by: El Laggron <laggron42@gmail.com>
Co-authored-by: El Laggron <laggron42@gmail.com>
490c8ff to
034bcaf
Compare
Description of the changes
Basics of the media management asked for—this PR is just the unused files, not conversion yet.
It's a draft because I hate the way
boolean_inputworks—I'm pretty sure it blocks, default doesn't work, etc etc. Literally anything else would be better but I'm not sure what that anything else is (in the past I've used asyncclick but I didn't want to add another dependency). Also, it's kind of slow, even for small DBs, and I'm not quite sure why (it could be overhead from docker exec).Were the changes in this PR tested?
Yes