Comments (8)
To update. It appears if I add new files to "watch_dir" they get picked-up, moved and processed.
So, the large number of files previously moved seem to have been orphaned - so moved but not processed.
How can I het namer to process the files it previously moved? Or, will this happen after a while by itself?
Thanks
from namer.
Review your config file. Two major factors that dictate which files get processed:
min_file_size = 100
target_extensions = mp4,mkv,avi,mov,flv
Do the files have a file extension listed in the config? Do the files equal or exceed the file size defined in the config?
from namer.
Thank you.
The files are all of these types (mostly mp4), and are all > 300md. Settings below.
So this is odd.
My bigger concern is the new files I have added are getting corrupted. They no longer play after processing. I wonder if the metadata / images being added are corrupting the files? I have tried one with the metadata / images turned off and was ok. Will try some others. This is a bigger issue if others get corrupted.
min_file_size = 300
target_extensions = mp4,mkv,avi,mov,flv
from namer.
Does the issue only occur with a specific number of files? Is the issue repeatable?
Which version of namer do you have installed? I noticed that 1.13.3 released recently. If you're on this version, you might want to try and downgrade to 1.13.2 to test.
from namer.
Hello. I have downgraded to 1.13.2 and run some tests.
The issue with the files getting corrupted is still there. These are my tests:
I copy the original file to the dest_dir , the file plays fine.
Copy the same file to watch_dir with enabled_poster: True
and enabled_tagging: True
. The file is processed and moves to dest_dir but the file doesn't play.
Copy the same file to watch_dir with enabled_poster: False
and enabled_tagging: False
. The file is processed and moves to dest_dir but the file doesn't play.
The only error I get is:
❌ ERROR | error generating phash: generating sprite screenshot: error running ffmpeg command <-v error -y -ss 128.512 -i /data/work_dir/XXXXXXXXXXXX -frames:v 1 -vf scale=160:-2 -c:v bmp -f rawvideo ->: exit status 69
I assume this is the issue? How to test this?
Also - any suggestions on how to access the web-server from outside a Docker container? This would help with testing.
from namer.
What worked for me is as follows. I'm sure others have different/better ways of navigating to the web server.
Check to see if the port you specified in your docker-compose.yml
file match that of your namer.cfg
port entry.
Default namer.cfg settings:
# port to run on
port = 6980
# target host
host = 0.0.0.0
Snippet of the resulting .yml file:
.
.
.
volumes:
- ./config:/config
- ./media:/data
ports:
- "6980:6980"
restart: always
I changed host IP to localhost in the config.
from namer.
Thank you. It was just the Ports: 6980:6980 needed adding to the compose. It wasn't in the template and I'm new to docker so didn't pick this up.
So, I am on v 1.13.2 and can see the web-server / gui. Thank you.
I now need to sort out the two problems:
1 - processed files do not play (see issue #197 )
2 - how to pick up and process the orphaned files in work_dir (but only want to do this when the above issue is fixed)
from namer.
If you killed the app part way through processing this can happen. Simply moving all the files back is sufficient, please seek support in the discord channel
from namer.
Related Issues (20)
- 'types.SimpleNamespace' object has no attribute 'site' HOT 2
- Throws FileNotFoundError after calculating phash begins HOT 3
- Suggestion specific site
- program adding more \ on a network attached drive
- Renameing Keeps failing
- Docker container amd64 only HOT 2
- Python 3.12 compability HOT 1
- Web UI CSS for Failed tab fixed width too large for small screens. HOT 2
- option to generate scene nfo as episode metadata instead of movies
- Server a
- watchdog cant find directories HOT 5
- I DON'T WANT TO GENERATE A JSON .GZ FILE AFTER RENAMING, HOW DO I SET IT? HOT 1
- PlexPorn
- Feature Request - Batch Mode Matching
- Namer can be run under macOS? HOT 1
- Where should the .namer.cfg file be stored on macOS? HOT 1
- I keep getting this error: requests.exceptions.ConnectionError HOT 2
- metadataapi.net dead HOT 2
- Feature Request - Inlcude Codec Type as naming option
- Rename files not in theporndb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from namer.