More > JRiver Media Center 25 for Linux

JRiver MC25 Docker Image with WebUI as VNC

<< < (4/14) > >>

mwillems:

--- Quote from: max096 on June 17, 2019, 05:23:08 pm ---I wasn't really planning on using curl, because it might be needing logins (and seems unnecessarily to do an http request) and there appear to be MC core commands available for triggering autoimport from the CLI.

--- End quote ---

I don't think the CLI core commands are actually implemented on Linux, you have to go through MCWS (or at least the core commands weren't implemented the last time I was doing Linux automation scripting last year).

FWIW, inotify with JRiver works perfectly outside of docker, hopefully it can be made to work inside docker.  You may need to increase the number of inotify watches in limits.conf (or the docker equivalent), though; the default max watch count is pretty low, and needs to be increased for large libraries.

max096:
I didnt have time yesterday to do that.
But today I should have.

Installing inotify-tools changed the container size by 0mb, so Id say it did absolutely nothing, unless its just that small.

Im not sure I have those tools installed on my host system. Maybe I need them there, since docker uses the hosts kernel. Docker may forward some events from the host to the container in that way. Im absolutely not sure about that. But something else im gonna try if that does not work now.

My library is somewhere in between 2000 and 3000 files. Is that a large library? ^^

---

It's actually that small that it does not change the image size (it wasn't installed on the image before). But it does not fix it either to install it.

https://imgur.com/a/FuC5BQk

Installing it on the host does not do anything (that would have been odd anyways). And selinux is also not the problem as ive turned it off now.

max096:
Do I need to enable something in JRiver for the auto import to work?

I just did a clean debian9 install, with all the defaults. Installed JRiver on it, made sure inotify is installed too (your repo does not install it as a dependency) and it does not work either.

https://imgur.com/a/1AuE1H9

It does work on Windows though.
And on MacOS too (just was curious lul)

BryanC:

--- Quote from: max096 on June 19, 2019, 02:44:23 pm ---Do I need to enable something in JRiver for the auto import to work?

I just did a clean debian9 install, with all the defaults. Installed JRiver on it, made sure inotify is installed too (your repo does not install it as a dependency) and it does not work either.

https://imgur.com/a/1AuE1H9

It does work on Windows though.
And on MacOS too (just was curious lul)

--- End quote ---

In the meantime, I've always found it helpful to add a "Run Auto-Import Now" button to the MC toolbar.

You could also program your own inotify-based watcher with systemd and execute the auto-import command via MCWS.

max096:

--- Quote from: BryanC on June 19, 2019, 05:37:07 pm ---In the meantime, I've always found it helpful to add a "Run Auto-Import Now" button to the MC toolbar.

You could also program your own inotify-based watcher with systemd and execute the auto-import command via MCWS.

--- End quote ---

Ye, I know. But you guys said it works perfectly fine on Linux. So its logical to try and get it to work without starting to do make your own.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version