MyGit

dragonflylee/switchfin

Fork: 6 Star: 290 (更新于 2024-11-21 02:19:41)

license: Apache-2.0

Language: C++ .

Third-party native Jellyfin client for Nintendo Switch

最后发布版本: vita-packages ( 2024-11-14 19:53:29)

GitHub网址

Switchfin

icon

Switchfin is third-party PC player for Jellyfin that provides a native user interface to browse and play movies and series.

build download nightly

This project is in its early stages so expect bugs.

Screenshots

Home Library
Home Library
Search Episode
Search Episode
Music
Music

Features

  • Completely native interface
  • Supported media items: movies, series, seasons, episodes
    • Direct play and transcoding
  • Remote browser for Webdav/Apache/Nginx server
  • Base on MPV Player
    • Container formats: mkv, mov, mp4, avi
    • Video codecs: H.264, H.265, VP8, VP9, AV1
    • Audio codecs: Opus, FLAC, MP3, AAC, AC-3, E-AC-3, TrueHD, DTS, DTS-HD
    • Subtitle codecs: SRT, VTT, SSA/ASS, DVDSUB
    • Optionally force software decoding when hardware decoding has issues.

Input mapping during playback

  • A Play/Pause
  • B Stop during
  • Y Toggle OSD
  • X Show Menu
  • R/L Seek +/-
  • L Stick Button Toggle Speed Select
  • R Stick Button Toggle Video Quality Select
  • + Show video profile

FAQ

  1. Q: Subtitles didn't display? A: Put any ttf file at /switch/Switchfin/subfont.ttf
  2. Q: How to play media files on webdav server? A: Edit config file config.json
{
  "remotes": [
    {
      "name": "local",
      "url": "file:///switch"
    },
    {
      "name": "xiaoya",
      "passwd": "guest_Api789",
      "url": "webdav://192.168.1.5:5678/dav",
      "user": "guest"
    },
    {
      "name": "rclone",
      "url": "http://192.168.1.5:8000"
    }
  ]
}
  • example for using rClone setup HTTP server
rclone serve http --addr :8000 --read-only /media/downloads

TODO list

  • Movie view
  • Series detail
  • Search page
  • Websocket connection (Syncplay)
  • danmu plugin integration

Develop

git clone https://github.com/dragonflylee/switchfin.git --recurse-submodules --shallow-submodules

Building for Switch

To build for Switch, a standard development environment must first be set up. In order to do so, refer to the Getting Started guide.

sudo dkp-pacman -S switch-dev switch-glfw switch-libwebp switch-curl switch-libmpv
cmake -B build_switch -DPLATFORM_SWITCH=ON -DBUILTIN_NSP=ON
make -C build_switch Switchfin.nro -j$(nproc)
# for debug
nxlink -a <YOUR IP> -p Switchfin/Switchfin.nro -s Switchfin.nro --args -d -v

Building for MinGW64

pacman -S ${MINGW_PACKAGE_PREFIX}-cc ${MINGW_PACKAGE_PREFIX}-ninja ${MINGW_PACKAGE_PREFIX}-cmake
cmake -B build_mingw -G Ninja -DPLATFORM_DESKTOP=ON
cmake --build build_mingw

Thanks to

  • @xfangfang for wiliwili
  • @devkitpro and switchbrew for libnx
  • @natinusala and XITRIX for borealis
  • @proconsule for nxmp
  • @averne for great work of FFmpeg hwaccel backend

最近版本更新:(数据更新于 2024-11-21 02:19:25)

2024-11-14 19:53:29 vita-packages

2024-10-27 21:50:42 0.5.3

2024-10-24 07:27:21 switch-portlibs

2024-09-01 21:26:43 0.5.2

2024-07-30 14:10:18 0.5.1

2024-05-22 22:34:31 0.5.0

2024-04-12 11:00:52 0.4.5

2024-01-28 22:17:49 0.4.4

2024-01-19 11:09:42 0.4.3

2024-01-09 23:53:59 0.4.2

主题(topics):

jellyfin, jellyfin-client, mpv, nintendo-switch, nintendo-switch-homebrew

dragonflylee/switchfin同语言 C++最近更新仓库

2024-11-21 04:48:41 PCSX2/pcsx2

2024-11-20 09:02:24 dail8859/NotepadNext

2024-11-20 04:28:15 microsoft/terminal

2024-11-18 22:35:05 ClickHouse/ClickHouse

2024-11-18 14:36:13 cxasm/notepad--

2024-11-18 00:19:27 MaaAssistantArknights/MaaAssistantArknights