Jump to content
Josh.5

[Support] Josh5 - Unmanic - Library Optimiser

142 posts in this topic Last Reply

Recommended Posts

8 minutes ago, itimpi said:

I am seeing messages displayed of the form:


304 GET /?ajax=workersInfo (192.168.0.12) 7.13ms

What is strange is I do not see where that IP address has come from.  It is NOT the address of the system running Unmanic.   It is almost as if that address is hard-coded somewhere?

thats not the address i see. I think its different from install to install

Share this post


Link to post

I agree it can change as I have a different value displayed when I run Unmanic under docker.   However I have made a few installs under Linux on SBC systems and they all seem to show that address.   I guess I was wondering what is the meaning of it if it is not a system that is actually on my local LAN.

Share this post


Link to post
3 minutes ago, itimpi said:

I agree it can change as I have a different value displayed when I run Unmanic under docker.   However I have made a few installs under Linux on SBC systems and they all seem to show that address.   I guess I was wondering what is the meaning of it if it is not a system that is actually on my local LAN.

I'm getting this which is incidentally one IP under the server address:

 

[I 190211 18:44:30 web:2162] 200 GET /?ajax=pendingTasks&format=html (192.168.1.130) 539.42ms

 

@Josh.5 I am also getting this:

 

 

[W 190211 18:53:30 pyinotify:929] Event queue overflowed.
[2019-02-11 18:53:50,778 pyinotify WARNING] Event queue overflowed.

 

Share this post


Link to post
2 hours ago, trekkiedj said:

I'm getting this which is incidentally one IP under the server address:

 

[I 190211 18:44:30 web:2162] 200 GET /?ajax=pendingTasks&format=html (192.168.1.130) 539.42ms

 

@Josh.5 I am also getting this:

 

 

[W 190211 18:53:30 pyinotify:929] Event queue overflowed.
[2019-02-11 18:53:50,778 pyinotify WARNING] Event queue overflowed.

 

That may be something.... I'll log it and look into it when I get time.

Share this post


Link to post
3 hours ago, itimpi said:

I am seeing messages displayed of the form:


304 GET /?ajax=workersInfo (192.168.0.12) 7.13ms

What is strange is I do not see where that IP address has come from.  It is NOT the address of the system running Unmanic.   It is almost as if that address is hard-coded somewhere?

This is not hard coded. This is a request from an open browser. Check on your network what device is 192.168.0.12, it will have an open browser tab looking at the webUI dashboard.

This will be polling every 5 seconds for an update for the workers.

These logs are already on my todo list to move to their own file like I did with the main service logs and implement a log rotation of 7 days

Share this post


Link to post
14 minutes ago, Josh.5 said:

This is not hard coded. This is a request from an open browser. Check on your network what device is 192.168.0.12, it will have an open browser tab looking at the webUI dashboard.

This will be polling every 5 seconds for an update for the workers.

These logs are already on my todo list to move to their own file like I did with the main service logs and implement a log rotation of 7 days

Ok that makes sense.   Now that I know what the messages relate to I was able to track down what device had the running browser session.

Share this post


Link to post
34 minutes ago, Josh.5 said:

This is not hard coded. This is a request from an open browser. Check on your network what device is 192.168.0.12, it will have an open browser tab looking at the webUI dashboard.

This will be polling every 5 seconds for an update for the workers.

These logs are already on my todo list to move to their own file like I did with the main service logs and implement a log rotation of 7 days

Ahh yes, the ip in my log is my laptop. so that makes sense.

Share this post


Link to post
18 hours ago, ice pube said:

Would love to get GPU transcoding in this docker with the new nvidia LSIO plugin. 

I second this. It would make the encoding much quicker

Share this post


Link to post

@Josh.5 I have found a small bug. Where the file-type (therefore extension) differs pre and post conversion, the file gets re-added back into the queue on next scan. See below where the same three files previously encoded have been re-added because the original was MP4 or TS or AVI

 

Edit: It seems to add new files without checking whether conversion is necessary. I recently upgraded a movie to 4k HEVC and it has added that to the queue.

Untitled.png

Edited by trekkiedj

Share this post


Link to post

Hello,

Would it be possible to add an option for an output folder rather than the re-encoded video staying in the same folder?

This would be helpful for automation of renaming files once converted.

Thank you!

Sent from my SM-N960U1 using Tapatalk

Share this post


Link to post
20 hours ago, airbillion said:

Hello,

Would it be possible to add an option for an output folder rather than the re-encoded video staying in the same folder?

This would be helpful for automation of renaming files once converted.

Thank you!

Sent from my SM-N960U1 using Tapatalk
 

I would find this useful as well.   Ideally there should then be a checkbox as to whether the original should be deleted or retained (although I personally would happy with the original being deleted).

Share this post


Link to post

For me the other almost imperitive addition would be to be able to automatically add a string to the converted filename (something like "re-encode") which will then force Radarr/Sonarr to reanalyse the file and note the new codec.

 

Without the renaming option, Radarr and Sonarr wont re check the file and will still think it is h264 or mpeg4 and when a h265 file is available, re-download it which is a waste of time.

Share this post


Link to post

I think you can put that stuff on git requests if you really wanted them.

Edited by BomB191

Share this post


Link to post

Question: After this container converts a file, does it delete the original?  Or will I have two copies in my library after the conversion is done?  Thanks!

Share this post


Link to post
Question: After this container converts a file, does it delete the original?  Or will I have two copies in my library after the conversion is done?  Thanks!

It deletes the original


Sent from my iPhone using Tapatalk
  • Upvote 1

Share this post


Link to post

NVENC would make this great. it is using ffmpeg, so if I pass through the gpu credentials to the docker, would unmanic be able to take advantage?

 

Currently I just have a 2core g3258 cpu, so converting to h265 using cpu only would not be efficient at all.

 

I am getting a GTX1050 in today, so I should be able to use it for Plex transcoding, it would just be nice to be able to take advantage of it through unmanic as well.

 

Edited by mestep

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now