22eb6bf3f6e48b3a57002f9a420ba85924aa9664
Don’t bind to keyevents of media keys when browser support mediaSession Original-merge: 6da3dd7c86a268aa1e109b193a8425af22abe413 Merged-by: thornbill <thornbill@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
Jellyfin Web
Part of the Jellyfin Project
Jellyfin Web is the frontend used for most of the clients available for end users, such as desktop browsers, Android, and iOS. We welcome all contributions and pull requests! If you have a larger feature in mind please open an issue so we can discuss the implementation before you start. Translations can be improved very easily from our Weblate instance. Look through the following graphic to see if your native language could use some work!
Build Process
Dependencies
- Node.js
- npm (included in Node.js)
Getting Started
-
Clone or download this repository.
git clone https://github.com/jellyfin/jellyfin-web.git cd jellyfin-web -
Install build dependencies in the project directory.
npm install -
Run the web client with webpack for local development.
npm start -
Build the client with sourcemaps available.
npm run build:development
Directory Structure
.
└── src
├── apps
│ ├── dashboard # Admin dashboard app layout and routes
│ ├── experimental # New experimental app layout and routes
│ └── stable # Classic (stable) app layout and routes
├── assets # Static assets
├── components # Higher order visual components and React components
├── controllers # Legacy page views and controllers 🧹
├── elements # Basic webcomponents and React wrappers 🧹
├── hooks # Custom React hooks
├── legacy # Polyfills for legacy browsers
├── libraries # Third party libraries 🧹
├── plugins # Client plugins
├── scripts # Random assortment of visual components and utilities 🐉
├── strings # Translation files
├── styles # Common app Sass stylesheets
├── themes # CSS themes
├── types # Common TypeScript interfaces/types
└── utils # Utility functions
- 🧹 — Needs cleanup
- 🐉 — Serious mess (Here be dragons)
Languages
JavaScript
44.6%
TypeScript
27.4%
SCSS
23.4%
HTML
4.5%