.gitignore | ||
config.xml | ||
gulpfile.js | ||
icon.png | ||
index.html | ||
package.json | ||
README.md | ||
tizen.js |
Jellyfin for Tizen
Part of the Jellyfin Project
Build Process
Also look Wiki.
Prerequisites
- Tizen Studio with IDE or Tizen Studio with CLI (https://developer.tizen.org/development/tizen-studio/download)
- Git
- Node.js
- Yarn
- Samsung account
Getting Started
- Install prerequisites.
- Install Certificate Manager and Samsung Certificate Extension with Tizen Studio Package Manager.
- Register on Samsung.
- Setup Samsung certificate need Samsung account in Certificate Manager.
You can also setup Tizen certificate to simplify deployment to emulator.
- Clone or download Jellyfin Web repository (https://github.com/jellyfin/jellyfin-web).
git clone https://github.com/jellyfin/jellyfin-web.git
- Clone or download Jellyfin Tizen (this) repository.
git clone https://github.com/jellyfin/jellyfin-tizen.git
Build Jellyfin Web
cd jellyfin-web
npm ci --no-audit
For 10.7 and lower
cd jellyfin-web
yarn install --frozen-lockfile
You should get
jellyfin-web/dist/
directory.
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 yarn install
You should get
jellyfin-tizen/www/
directory.
The
JELLYFIN_WEB_DIR
environment variable can be used to override the location ofjellyfin-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
- Run emulator.
- Install package.
tizen install -n Jellyfin.wgt -t T-samsung-5.5-x86
Specify target with
-t
option. Usesdb devices
to list them.
Deploy to TV
- Run TV.
- Activate Developer Mode on TV (https://developer.samsung.com/tv/develop/getting-started/using-sdk/tv-device).
- Connect to TV with Device Manager from Tizen Studio. Or with sdb.
sdb connect YOUR_TV_IP
Permit to install applications
on your TV with Device Manager from Tizen Studio. Or with sdb.TODO: Find a command
- Install package.
tizen install -n Jellyfin.wgt -t UE65NU7400
Specify target with
-t
option. Usesdb devices
to list them.