Jump to content

Recommended Posts

Posted

Hi Anthony!

I'm sorry to hear that the update didn't go as expected, but I'm really glad you had a backup and that playback is working so well for you!

HCC stores its settings in persistent storage mounted at /config, so even if the container has been removed, your configuration may still be intact. If you recreate the container using the same configuration folder or Docker volume, you shouldn't need to configure everything again.

If you decide to test a newer version alongside 1.4.6, make sure each instance has its own configuration storage and stop the other instance before testing playback.

Regarding your suggestion, I completely agree. I'd like to make both updating HCC and backing up and restoring its settings much easier, directly from the web interface, without requiring users to be familiar with Docker commands or webhooks.

I'm planning to prioritise these improvements for 1.5.2, alongside some playback and user experience improvements.

Thank you again for your feedback. It's really helpful to understand how HCC works for users on different platforms! 🙂

Posted

Making a duplicate is ridiculously easy and fast on Qnap and I am glad I did it.

In order to play with things and to make sure that containers really differ 100% how would I go about this?

Here is the YAML file and it seems not that clear to me how I would change it to accommodate a second instance with different configuration, can you tell me which lines to change?

name: home-cinema-control

services:
  home-cinema-control:
    image: tousled/home-cinema-control:latest
    container_name: home-cinema-control-150
    network_mode: host
    cap_add:
      - NET_RAW
    restart: unless-stopped
    environment:
      TZ: Europe/Madrid
      PYTHONUNBUFFERED: "1"
      HCC_CONFIG_FILE: /config/config.json
      HCC_SECRETS_FILE_PATH: /config/secrets.json
    volumes:
      - home-cinema-control-config-150:/config

volumes:
  home-cinema-control-config:
    name: home-cinema-control-config-150

For example volumes is there twice, does it have to be changed both times or is it enough to change the second line?

Ideally I would like to have something like 

home-cinema-control-config-150 as the volume to go with a container name of home-cinema-control-150

By the way: I did a test download with the yaml file you have for download where I only changed the container name  and the second home cinema control config line and it again was only 1.4.6 despite starting with a completely new installation, that is not really what I expected when starting a new install.

image.thumb.png.b03cee99796c392e39cfa1048544414f.png

It is still in Spanish, I did not bother to switch 🙂

Posted

Hi Anthony!

I see what you're trying to do now 🙂

There's just a small issue with the volume names in your YAML. The volume reference under the service needs to match the key declared in the bottom volumes section.

I've also changed the Compose project name so QNAP can keep both installations separate.

Here's what I'd use for your second installation:

name: home-cinema-control-151

services:
  home-cinema-control:
    image: tousled/home-cinema-control:1.5.1
    container_name: home-cinema-control-151
    network_mode: host
    cap_add:
      - NET_RAW
    restart: unless-stopped
    environment:
      TZ: Europe/Madrid
      PYTHONUNBUFFERED: "1"
      HCC_CONFIG_FILE: /config/config.json
      HCC_SECRETS_FILE_PATH: /config/secrets.json
    volumes:
      - home-cinema-control-config-151:/config

volumes:
  home-cinema-control-config-151:
    name: home-cinema-control-config-151

This will create a separate container and configuration volume, leaving your original 1.4.6 installation untouched.

One important thing: because both installations use host networking and port 8090, you'll need to stop one before starting the other.

As for why your new installation was still showing 1.4.6, my guess is that Container Station was reusing the latest image it had already downloaded.

Version 1.5.1 is already available, so I've specified 1.5.1 directly in the YAML to avoid any confusion. QNAP should download that exact version.

For normal updates, you shouldn't need to create another installation at all. Container Station lets you pull an updated image and recreate the existing application while keeping its configuration volume.

Let me know how it goes!

  • Thanks 1
Posted

Thanks, this went perfectly!

Do you have an idea how I could run two of these containers in parallel?

I really would like to use HCC with two players in two separate rooms and while I can change the IP it does not allow for parallel use of these two players.

 

Posted

I did a bit more testing and being able to reliably use resume and chapters makes a big difference. I have no idea how you manage resume but it works very reliably from what I can see.

Just an idea but whatever you are doing there to keep those positions stored might also be put to good use as a bookmark option where the beginning and possibly also the end of favorite scenes can be stored.

But anyway, this is working very well now and navigating a movie on an android tablet also is also working very well, with the software player window reacting well to both moving along the timeline and moving by chapters.

Posted

Hi Anthony!

I'm sorry but I haven’t been able to reply to you sooner.

Really glad to hear that everything is working so well, especially resume and chapter navigation. I've spent quite a bit of time getting those features right, so it's great to hear they're working reliably for you too.

Regarding your two players, multi-room support is actually something I've been considering for a future version of HCC. At the moment, HCC is designed around a single room, and running multiple instances simultaneously hasn't been tested. There could be conflicts with Emby sessions and playback handling, so I'd rather not recommend a setup that might cause problems.

Out of curiosity, are you using two OPPO/Chinoppo players in separate rooms, both connected to the same Emby server? Would you normally have both rooms playing different movies at the same time?

I also really like your idea about bookmarks, especially being able to save both the start and end of a favourite scene. It could be particularly useful for home cinema demo scenes. I'll make a note of that!

Thanks again for all the testing and feedback. It's really useful!

anthony_m
Posted (edited)

Happy to give feedback - this is a great application and the one that really changed how I use emby!

Yes, there are two players around, either in two rooms or in one room and with different regions / capabilities and it would be nice to address them differently.

For me it would be enough to be able to just assign names to players so for example 203 study and 205 cinema but I can see where assigning to rooms might be useful. In any case it would really be good to be able to assign more than one player in a single room just in case.

Yes the bookmark idea came to me as the resume function works so well and much better than with emby itself and indeed for demo or some funny scenes from select movies this would be cool and I am glad that you can see the potential 😀

Edited by anthony_m

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
×
×
  • Create New...