More > JRiver Media Center 25 for Linux

JRiver MC25 Docker Image with WebUI as VNC

<< < (7/14) > >>

shortie:
I’m not sure why but when I hit the About box, the dialog now pops BEHIND the main window. i can’t find a way to move the main window so i must shut down the container and restart it. Not sure if that’s a change in behavior or not.

Also, I’m curious...is the only way to update to a newer version of MC to ‘docker rmi’ and recreate the image? What do you do about the license in that case?

bob:

--- Quote from: shortie on June 27, 2019, 11:34:24 am ---I’m not sure why but when I hit the About box, the dialog now pops BEHIND the main window. i can’t find a way to move the main window so i must shut down the container and restart it. Not sure if that’s a change in behavior or not.

Also, I’m curious...is the only way to update to a newer version of MC to ‘docker rmi’ and recreate the image? What do you do about the license in that case?

--- End quote ---
The window manager is doing that, I can't tell you why.
Since the about box has focus and since we added the ability to close those boxes by hitting OK you might just try hitting enter and see if your main window regains control.

max096:

--- Quote from: shortie on June 27, 2019, 11:34:24 am ---I’m not sure why but when I hit the About box, the dialog now pops BEHIND the main window. i can’t find a way to move the main window so i must shut down the container and restart it. Not sure if that’s a change in behavior or not.

Also, I’m curious...is the only way to update to a newer version of MC to ‘docker rmi’ and recreate the image? What do you do about the license in that case?

--- End quote ---

I believe the issue you are having is already resolved. Try to pull the latest image and then restart it. Stable or latest does not matter. I had this happen too and changed the openbox config to resolve that.

License and other thing should all the persisted in your home directory /config. Hence as long as you mounted that everything (including license) should persist if you destroy and recreate the container. If you didnt mount it everything will be gone. But you (can) use docker cp to copy a foder from your container to your host.

So either docker-compose pull, or docker pull shiomax/jrivermc25:latest or pull stable. Depends on wether you use compose or not. If youre not using compose you have to specify witch image to pull exactly. With compose its whatever is in your compose and default would be latest.

shortie:

--- Quote from: max096 on June 27, 2019, 12:42:08 pm ---I believe the issue you are having is already resolved. Try to pull the latest image and then restart it. Stable or latest does not matter. I had this happen too and changed the openbox config to resolve that.
--- End quote ---
just did a docker-compose pull, docker-compose down then docker-compose up -d and it's still happening. I should have it but is there anything I can check in the container to see if I've got your latest? Here's the date stamp of rc.xml in the container

# ls -l /etc/xdg/openbox/rc.xml
-rw-rw-r-- 1 root root 12071 Jun 14 19:03 /etc/xdg/openbox/rc.xml

max096:
cat /etc/xdg/openbox/rc.xml

The config should have this inside at the very end


--- Code: ---<applications>
  <application type="normal" title="JRiver Media Center 25">
    <decor>no</decor>
    <maximized>true</maximized>
    <layer>below</layer>
  </application>
</applications>

--- End code ---

The part I changed was the layer below, witch it should only do for the JRiver Media Center 25 window.

When you type in docker inspect <image id or name> (can find that when you run docker ps -a) you'll also see a hash for that version, being

--- Code: ---"Image": "sha256:331b71b3a21eb91bc81775befc7e42167eb8fcabf54e9755afcb199093aaf0e9"

--- End code ---
for the current :latest image. But that's not fun to compare.

---

Since you already get that on start the image possition might be saved somewhere in the config directory. Can you try to start the container without mounting the config directory and see if that resolves that. You can mount it again later, I just wanna know if there is something inside that might be causing that. Because when you first create the image the Window also is not maximized, but once you maximize it it opens that way again on re-creation. So there has to be something saving image positions inside the config. Might be JRiver itself (is my guess, because I already rm -rf't basically everything except for the .jriver folder and documents).

---


--- Code: ---<decor>no</decor>
<maximized>true</maximized>

--- End code ---

Those two lines don't actually work by the way (if you're wondering). That's down to JRiver not using standard window decoration and as such openbox can't control it in these ways. but the behind thing worked and those two lines work for every JRiver window, except for the main Window (if you put a * instead of JRiver Media Center 25 for the title selector). The title selector is definitely the right one for that window, just some things won't work. I also tried to set it's position to x=0 and y=0 and the width and height property to the screens width and height. That does maximize it, but breaks the Window. You can no longer use it until you minimize/maximize it, so there is no point to that. I'm pretty sure it's only the Main JRiver window that is causing those problems. If we could set it to not use custom window decorations, it would work out fine most likely. However, I already asked for that once in a different context and they told me it would require a complete UI rework. So that's not happening. Hence we have to fiddle with things like this container more than we usually would have to, to force it to "behave" somehow against it's will.

---

The 1 millions't edit

OK, so <maximized>true</maximized> seems to actually work, I just built a image without this and it does not maximize. I'm pretty sure when I first tried all of this it never maximized on the first start even though that was in there.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version