2024-12-31, 08:35 PM
(This post was last modified: 2024-12-31, 08:42 PM by raulo1985. Edited 1 time in total.)
(2024-12-22, 05:42 PM)qwerty12 Wrote:(2024-12-21, 12:51 AM)raulo1985 Wrote: - When you say save vc_redist.x64.exe as bundle/win/Bundle.wxs, do you mean renaming the .exe file and its extension to Bundle.wxs? Sorry for the noob question.
That's my reading of the workflow file, yes - save the exe file asBundle.wxs
in abundle/win
folder, which you probably will need to create first in the folder where you cloned the source. You might need to perform the path substitution to Bundle.wxs that the workflow does - read the workflow for details - but I would try without doing that first.
Quote:- Regarding your last paragraph, I actually want to learn how to modify all the client settings defaults (specially with Tizen client, JMP and WebOS client) so I can remotely install everything by myself and not rely on my relatives tech abilities to do it (it takes too much time, and still somehow they usually end up with a bad configured client). So I’m interested on modifying every setting that you can modify when going to your profile pic at your client (playback, subtitles, even the order of how the libraries are shown if possible, etc). I’ve successfully build and deploy clients for Tizen TVs and WebOS TVs, but haven’t found a way to modify those defaults. Like I mentioned on my other thread, I found that in the appSettings.js and userSettings.js files almost all those settings are mentioned, but I don’t know much about coding so I’ll probably break everything if I modify those files without some assistance/guidance.
Even if you change them, you'll need to do so again the next time you upgrade Jellyfin. And because in the distributed builds of Jellyfin those files are minified, and probably have a different name from one version to the next, that's not really a sustainable approach in the long term IMO. (OTOH, you could say the same thing about custom builds of clients...)
Quote:But one thing that could be also useful for this purpose is what you said, to have the server’s ip/ddns/username/password already set up so the client not only has its defaults already configured after installation/deployment, but also automatically logs in to the server without having to type the username and password. How can that be done? What should I modify in the find-webclient.js file for that purpose?
I do not directly know. I have no affiliation with Jellyfin as a project whatsoever and I am not at all familiar with the clients' intricacies. (I posted here because I'm not new to using the Microsoft toolchain to build my own simple stuff.) I've never used JMP myself. My following suggestions are probably useless partly because of that. ChatGPT will know more than me.
I believe the actual developers hang out in Matrix rooms. At most, I've changed how things work on the server side (thank you, HarmonyLib and the Jellyfin plugin system).
If my cursory look is correct, I think that file gets executed when JMP is showing the screen to input the server address. The idea is something like this (there's examples of some of this in the file): you get theElement
that represents the server addressinput
, fill it in with a value, find the Element that represents the "proceed" button and simulate a click on that. I don't know if that JavaScript file continues to remain loaded when Jellyfin's login screen is displayed; if so, there's mechanisms to detect when new Elements are created, when the URL is changed etc. etc. And if that JavaScript doesn't remain loaded, look into QtWebEngine's API to see if you can determine when the login page is displayed and modify JMP to inject your own JavaScript at that point.
Quote:At least when I look into that file of my already installed and configured JMP, I don’t see anything that mentions or points to my server (and when I execute the program, it automatically logs in).
Surely in%APPDATA%
or%LOCALAPPDATA%
there's some sort of "jellyfin media player" folder that has the settings? I think the web part of Jellyfin relies on the browser's LocalStorage to persist the settings - QtWebEngine probably churns out a database etc. file containing the settings.
Quote:In other words, I don’t know what to modify on a client before building it so, after being installed, it auto logs in to my server so the person at the client side don’t have to do, hopefully, anything after deployment (if that’s possible of course).
That would make two of us
Hi there:
Just a quick update (an another question).
I managed to build a working JMP from source and also created an installer. Previously, when I tried the ninja windows_package command I always got some errors and the installer wasn't created. Now I guess it had to do with a corrupt vc_redist.x64.exe file or something like that. Just to try something, I downloaded that file again and placed it inside the C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Redist\MSVC\v142 folder. Then re run ninja windows_package and the installer was correctly created (and it bundles everything it needs, I can install JMP as if it was an official release). So I'm good on that regard, now I have to try your suggestions to modify its defaults and server address.
Another question (that has to do with building JMP from source). Do you know how to modify the logo/name that appears as soon as you run the program (the one on the attached screenshot, that appears just before the jellyfin-web splash screen)? It's not for rebranding or anything like that, honestly, I just want to modify the colors of the "Jellyfin" letters to keep a consistent look with my css setup. Looking into the source code there's only pngs for the logo, but not for the letters (and I don't want to modify the logo, just the letters color). Do you know what file should I look into for that?
Thanks again!