jellyfin / jellyfin-tizen

Jellyfin Samsung TV Client
https://jellyfin.org
977 stars 76 forks source link

Instructions not working for windows 10/11 #308

Open CreaGab opened 2 days ago

CreaGab commented 2 days ago

Hi, I had trouble following the instructions from the main page and from the wiki.

The instruction for Windows simply doesn't work.

I had to install WSL and run the commands in ubuntu and then continue the Tizen command on native PowerShell.

I did following:

  1. Install Tizen Studio + TV and Cert Add-On on Windows Host machine

  2. Create certificate for your TV and connect your TV to your PC.

  3. Install and RUN WSL and install + update NodeJS, git and npm

  4. Create working directory (example mkdir /mnt/c/Jellyfin/)

  5. Run git clone -b release-10.10.z https://github.com/jellyfin/jellyfin-web.git AND git clone https://github.com/jellyfin/jellyfin-tizen.git

  6. You should now have 2 directories on your C drive.

  7. Now run

    cd jellyfin-web
    npm ci --no-audit
    USE_SYSTEM_FONTS=1 npm run build:production
  8. Then run this

    cd -
    cd jellyfin-tizen
    JELLYFIN_WEB_DIR=../jellyfin-web/dist npm ci --no-audit
  9. Now you should have a www folder in the directory jellyfin-tizen

  10. Now you have to add 2 directories from the Tizen-Studio to your Windows PATH for the next command to work. (INSTRUCTIONS) C:\tizen-studio\tools\ide\bin C:\tizen-studio\tools

  11. With these two directories in PATH, you can now execute tizen commands everywhere without .\tizen prefix.

  12. Before entering any new command for tizen please restart your Powershell.

  13. Now go to your working directory example (cd C:\Jellyfin\jellyfin-tizen)

  14. Enter this command to build package

    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
  15. Run the Device Manager and connect your TV using the previous instructions. Image

  16. Authorize sideloading apps in the Device Manager by right clicking your model and then selecting "permit to install applications" Image

  17. Now you can run this command to transfer the application to your TV tizen install -n Jellyfin.wgt

Now you can start Jellyfin from the app-store!

dmitrylyzo commented 2 days ago

What exactly didn't work? I guess you ran the commands for the command prompt, not PowerShell.

from Wiki Commands in this guide are for Windows Command Prompt or Batch files. Most of them will work in Windows PowerShell. Special cases will be in collapsible command blocks.