jellyfin-qnap icon indicating copy to clipboard operation
jellyfin-qnap copied to clipboard

I want to build it myself

Open realtobman opened this issue 1 year ago • 8 comments

Hello, can someone guide me how to build jellyfin in the latest version fow the qnap nas? the hints in the readme are not enough for me. THX

realtobman avatar Dec 19 '23 05:12 realtobman

I learned to build qpkg Jellyfin myself and can help you

ks0002544 avatar Dec 23 '23 11:12 ks0002544

so how about sharing your know-how? I too would be interested to know.

robotreto avatar Dec 30 '23 12:12 robotreto

First of all download and install https://github.com/qnap-dev/QDK Also you must be familiar with basic Linux commands

ks0002544 avatar Dec 30 '23 15:12 ks0002544

Your 2 lines are not helpful at all, are you just trolling ?

robotreto avatar Dec 31 '23 13:12 robotreto

For me, to build locally, i use: https://github.com/pdulvp/jellyfin-qnap?tab=readme-ov-file#-build-

Did you manage to build it ?

pdulvp avatar Jan 09 '24 17:01 pdulvp

sadly I am stuck in dependency hell.

WSL installs Debian 12, which no longer supports python2, but qdk2 requires it, and therefore can not be installed.....

Found no obvious way to install python2 on bullseye...

Tried to install Debian 11 (bullseye) in WSL, but also found no obvious way to do that....

Then tried to build qdk2 from source, which also failed because of dependencies....

This is soooo frustrating.

Am 09.01.2024 um 18:21 schrieb pdulvp:

For me, to build locally, i use: https://github.com/pdulvp/jellyfin-qnap?tab=readme-ov-file#-build-

— Reply to this email directly, view it on GitHub https://github.com/pdulvp/jellyfin-qnap/issues/66#issuecomment-1883474081, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIOFFEN7WH2W4AQPUF4W4DYNV4AHAVCNFSM6AAAAABA2TYLNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTGQ3TIMBYGE. You are receiving this because you commented.Message ID: @.***>

--

Tischhauser GmbH Reto Tischhauser Dipl Ing Via Suot 18 CH-7526 Chapella

Mob +41796114436 @.***

CHE-105.463.023

robotreto avatar Feb 06 '24 13:02 robotreto

Now I tried WSL with Ubuntu 18, with that I can build it. However the resulting qpkg is only about 180Mb. The official is 230Mb, so I do not dare to install it as I suspect something is missing...

BTW : copy.bat tries to copy debug builds, not release. And jellyfin.controller 10.8.0 is flagged as "vulnerable"

robotreto avatar Feb 06 '24 15:02 robotreto

Yes indeed, the copy.bat is not useful. Normally everything is in jellyfin-server.sh for the server part.

The main issue is to have correct dependencies indeed. For embeeded ffmpeg, it requires almost everything as the "ld-linux-x86-64" embedded in qnap is too old to run it, so it requires a more up to date. (jellyfin-ffmpeg.sh)

But it you launch the fetch-stable, everything shall work in your WSL.

pdulvp avatar Feb 24 '24 10:02 pdulvp