Coder Social home page Coder Social logo

jellyfin-tizen's Introduction

Jellyfin for Tizen

Part of the Jellyfin Project


Logo Banner

Build Process

Also look Wiki.

Prerequisites

Getting Started

  1. Install prerequisites.

  2. Install Certificate Manager using Tizen Studio Package Manager.

  3. Setup Tizen certificate in Certificate Manager.

  4. Clone or download Jellyfin Web repository (https://github.com/jellyfin/jellyfin-web).

    It is recommended that the web version match the server version.

    git clone -b release-10.8.z https://github.com/jellyfin/jellyfin-web.git

    Replace release-10.8.z with the name of the branch you want to build.

    You can also use git checkout to switch branches.

  5. Clone or download Jellyfin Tizen (this) repository.

    git clone https://github.com/jellyfin/jellyfin-tizen.git

Build Jellyfin Web

cd jellyfin-web
SKIP_PREPARE=1 npm ci --no-audit
USE_SYSTEM_FONTS=1 npm run build:production

You should get jellyfin-web/dist/ directory.

SKIP_PREPARE=1 can be omitted for 10.9+.

USE_SYSTEM_FONTS=1 is required to discard unused fonts and to reduce the size of the app. (Since Jellyfin Web 10.9)

Use npm run build:development if you want to debug the app.

If any changes are made to jellyfin-web/, the jellyfin-web/dist/ directory will need to be rebuilt using the command above.

Prepare Interface

cd jellyfin-tizen
JELLYFIN_WEB_DIR=../jellyfin-web/dist npm ci --no-audit

You should get jellyfin-tizen/www/ directory.

The JELLYFIN_WEB_DIR environment variable can be used to override the location of jellyfin-web.

Add DISCARD_UNUSED_FONTS=1 environment variable to discard unused fonts and to reduce the size of the app. (Until Jellyfin Web 10.9)
Don't use it with Jellyfin Web 10.9+. Instead, use USE_SYSTEM_FONTS=1 environment variable when building Jellyfin Web.

If any changes are made to jellyfin-web/dist/, the jellyfin-tizen/www/ directory will need to be rebuilt using the command above.

Build WGT

Make sure you select the appropriate Certificate Profile in Tizen Certificate Manager. This determines which devices you can install the widget on.

tizen build-web -e ".*" -e gulpfile.js -e README.md -e "node_modules/*" -e "package*.json" -e "yarn.lock"
tizen package -t wgt -o . -- .buildResult

You should get Jellyfin.wgt.

Deployment

Deploy to Emulator

  1. Run emulator.
  2. Install package.
    tizen install -n Jellyfin.wgt -t T-samsung-5.5-x86

    Specify target with -t option. Use sdb devices to list them.

Deploy to TV

  1. Run TV.
  2. Activate Developer Mode on TV (https://developer.samsung.com/tv/develop/getting-started/using-sdk/tv-device).
  3. Connect to TV with Device Manager from Tizen Studio. Or with sdb.
    sdb connect YOUR_TV_IP
  4. If you are using a Samsung certificate, Permit to install applications on your TV using Device Manager from Tizen Studio. Or with sdb.

    TODO: Find a command

  5. Install package.
    tizen install -n Jellyfin.wgt -t UE65NU7400

    Specify target with -t option. Use sdb devices to list them.

jellyfin-tizen's People

Contributors

dmitrylyzo avatar thornbill avatar oddstr13 avatar alcatraz077 avatar the-lazy-fox avatar dependabot[bot] avatar dkanada avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.