mirror of
https://github.com/YunoHost-Apps/jellyfin_ynh.git
synced 2024-09-03 19:26:29 +02:00
update_version.py: fix url to ffmpeg
This commit is contained in:
parent
747351ab71
commit
dca332e19f
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ class JellyfinDistro:
|
|||
return f"{JELLYFIN_REPO}/files/server/debian/stable/v{version}/amd64/jellyfin-web_{version}+deb{self.debian_number}_all.deb"
|
||||
|
||||
def ffmpeg_url(self, version: str, arch: str) -> str:
|
||||
return f"{JELLYFIN_REPO}/files/ffmpeg/debian/latest-6.x/{arch}/jellyfin-ffmpeg6_{version}-{self.debian_name}_{arch}.deb"
|
||||
major = version.split(".")[0]
|
||||
return f"{JELLYFIN_REPO}/files/ffmpeg/debian/{major}.x/{version}/{arch}/jellyfin-ffmpeg6_{version}-{self.debian_name}_{arch}.deb"
|
||||
|
||||
def ldap_url(self, version: str) -> str:
|
||||
return f"{JELLYFIN_REPO}/files/plugin/ldap-authentication/ldap-authentication_{version}.zip"
|
||||
|
|
Loading…
Add table
Reference in a new issue