Jellyfin Forum
Possible to change default settings of the official Tizen app before deployment? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Possible to change default settings of the official Tizen app before deployment? (/t-possible-to-change-default-settings-of-the-official-tizen-app-before-deployment)



Possible to change default settings of the official Tizen app before deployment? - raulo1985 - 2024-12-12

Hi:

I managed to build the wgt package and deploy it to a relative's Samsung Smart TV, and it works pretty well (although scrolling through the menus is extremely slow if I don't disable the background images. I'm aware that that issue might be solved changing the parameter in the scrollmanager file of jellyfin-web. I haven't done that yet, I'll report if that gets fixed on another thread). The thing is that I want to install the app on another relative's Samsung Smart TV, but he lives far from where I live and doesn't know anything about technology.

I can remote desktop to his laptop and use it to deploy the wgt file (I can guide him to enter the developer mode, I guess that's easy enough for him), but telling him how to configure the app itself is going to be a little difficult. My question is, how can I change the defaults of the app settings before building the wgt file? What file of the source code should I look into for that? Ideally, I just want him to enter the developer mode on the tv, and do the rest by myself (so the wgt that's going to be deployed should have the defaults modified, if possible). Can it be done, and how?

Thanks in advance!

PS: same question but with JMP and the official WebOS client. Is there a way to build the packages with their defaults modified? Same use case: a couple of relatives that don't know anything about technology and I want to install the app (JMP on a Windows 10 laptop and the WebOS client on a LG Smart TV) by myself without them having to do almost anything. Is it possible to build the packages with their defaults modified?


RE: Possible to change default settings of the official Tizen app before deployment? - raulo1985 - 2024-12-17

Sorry to bump this thread. Just want to know if it's possible to achieve this, I've been looking into the source code and can't find anything that looks like the default settings of the app that could be modified before building. I have no issues building and deploying the WGT file, so it would be ideal for my use case if its defaults are already set when deploying, so my relative doesn't have to set them by himself (if that's possible of course).

Thanks


RE: Possible to change default settings of the official Tizen app before deployment? - niels - 2024-12-18

Depending on the things you want to change you'll have to either:
- update the user configs in the database
- update the user configs in their xml configs
- update the defaults in the web code


RE: Possible to change default settings of the official Tizen app before deployment? - raulo1985 - 2024-12-18

(2024-12-18, 06:36 AM)niels Wrote: Depending on the things you want to change you'll have to either:
- update the user configs in the database
- update the user configs in their xml configs
- update the defaults in the web code

Thanks for your reply. The settings for which I'm trying to modify their defaults before building/deployment, if possible, are mainly the ones that you control when you go to your profile picture (upper right corner), like playback settings, subtitles settings, menu settings, etc. I haven't been able to find files where you can modify those settings before building the wgt file. I basically want to build a wgt file that already has those settings modified, so I can deploy the file remotely (using my relative's laptop) without him having to do anything else (I'm pretty sure that he won't be able to do it properly even with guidance).

Do you know which file(s) should I look into to modify those defaults? When you say update the user configs (database and xml config), do you mean at server side? I don't think those settings depend on the server, I always thought that those are settings that you can only modify at client side (that's why I thought I have to modify something when building the wgt file, and not messing with server files. But I could be wrong about that).

Thanks again!


RE: Possible to change default settings of the official Tizen app before deployment? - raulo1985 - 2024-12-19

(2024-12-18, 06:36 AM)niels Wrote: Depending on the things you want to change you'll have to either:
- update the user configs in the database
- update the user configs in their xml configs
- update the defaults in the web code

Hi again:

Looking into the source code of jellyfin-web, I found a couple of files that look like they control those settings and their defaults (appSettings.js and userSettings.js located at src/scripts/settings). I would have thought that those settings defaults are controled at client side, but if those are in fact the correct files to modify before building, does that mean that the defaults change for all the new clients that connect to the server?

I'm not even sure if those files are the ones I'm looking for and how should I modify them, but at least all the settings available when going to the profile picture on any client seem to be there. Are those the files I should modify so all new clients that connect to the server have those settings already modified? If so, I'm not sure how to modify them, but I can give it a try.

Thanks again!

PS: settings like the server IP address (or ddns), or the order of the libraries, can only be set directly at the client, right? Or is there some way to also have them set for all new clients? Like I said, my intention is, hopefully, to be able to remotely deploy a client (in this case, the Tizen client) with my relative having to do almost anything (ideally, just enter developer mode for deployment). It would be ideal for me that, after deployment, the app has already its settings modified and automatically logs in to my server, but I don't know if that's possible.