Giter Club home page Giter Club logo

Comments (8)

DSew20 avatar DSew20 commented on August 21, 2024

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.

RealPeteSys avatar RealPeteSys commented on August 21, 2024

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.

DSew20 avatar DSew20 commented on August 21, 2024

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.

RealPeteSys avatar RealPeteSys commented on August 21, 2024

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.

DSew20 avatar DSew20 commented on August 21, 2024

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.

RealPeteSys avatar RealPeteSys commented on August 21, 2024

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.

DSew20 avatar DSew20 commented on August 21, 2024

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.

4c0d3r avatar 4c0d3r commented on August 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.