• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error

    qwerty12
    Offline

    Junior Member

    Posts: 30
    Threads: 0
    Joined: 2023 Jun
    Reputation: 3
    #11
    2025-01-01, 11:55 AM
    (2024-12-26, 08:59 PM)raulo1985 Wrote: For example, after modifying the default display language in those files (server side) and rebuild jellyfin-web, if a new client tries to connect to the server, it will have that specific language already set (because it's the new default setting), right? That's the way I understand it, but I could be wrong. But if I'm correct about that, that would be a solution for me, since rebuilding jellyfin-web is easy and, most importantly, I wouldn't have to rely on the clients (and my relatives) to have their new clients already set up as soon as they are installed.

    I think so? I think the language is read by jellyfin-web here: https://github.com/jellyfin/jellyfin-web...gs.js#L342

    For overriding the language with Português (Brasil), for example:
    PHP Code:
    language(val) {
            return 
    'pt-BR';
        } 

    pt-BR taken from https://github.com/jellyfin/jellyfin-web...plate.html

    Any stored setting will be ignored, pt-BR will always be returned. You might look into seeing if you can retain the set call I took out from the original - you might be able to write your preferred language to the user's localStorage so that even if you do forget to modify jellyfin-web in the future, your preferred language will still be set.

    Of course, that won't apply to JMP's server selection screen. My assumption was that the locale to use for that was determined by Qt from Windows' settings? I also assumed that jellyfin-web would choose the right language automatically from the Accept-Language header, which QtWebEngine should send?

    For other settings, (Rip)Grep is Your Friend.

    (2024-12-31, 08:35 PM)raulo1985 Wrote: 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.

    Ah, thanks for finding out why the workflow edits the wxs file to change that hardcoded path.

    Quote: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?

    logo.svg. Like me, you probably can't see the letters because they're white and your browser has a white background. To change the letters' colour, open the svg in a text editor and change fill="#fff". Try Inkscape for more advanced edits?

    Happy new year!
    Pages (2): « Previous 1 2

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode