ThePornDatabase / namer

Renames adult video files so that the plex/jellyfin plugins and stash script will match without user input. Runs server or command mode.
https://theporndb.net
184 stars 29 forks source link

Add icons and refactor #18

Closed DirtyRacer1337 closed 2 years ago

codecov-commenter commented 2 years ago

Codecov Report

Merging #18 (3c1368d) into main (b20730b) will decrease coverage by 0.92%. The diff coverage is 26.53%.

@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   85.91%   84.98%   -0.93%     
==========================================
  Files          22       22              
  Lines        2449     2485      +36     
  Branches      318      323       +5     
==========================================
+ Hits         2104     2112       +8     
- Misses        237      265      +28     
  Partials      108      108              
Impacted Files Coverage Δ
namer/web/routes.py 10.41% <7.14%> (-1.78%) :arrow_down:
namer/web/helpers.py 24.63% <25.80%> (-4.91%) :arrow_down:
namer/types.py 92.78% <100.00%> (+0.07%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b20730b...3c1368d. Read the comment docs.

4c0d3r commented 2 years ago

Merged after a small fix to the failed page (moved the "Files" url from "/" -> "./" to allow the link to work when the web-root is set).

I owe you some refactoring of internal renaming logic. I think I'll start treating the "working" dir as the queue where Items will be sent to be worked on in order of the folder's timestamp. I'll look to see if I can build some form of observability in to the processing of files to allow for page updates. I suppose that would require web sockets or something similar.