MCPcopy Index your code
hub / github.com/endrl/segment-editor

github.com/endrl/segment-editor @0.4.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.4.4 ↗ · + Follow
113 symbols 227 edges 38 files 15 documented · 13% updated 19mo ago0.4.4 · 2024-11-25★ 897 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Jellyfin Segment Editor

Manage Jellyfin Media Segment positions the simple way. This tool is in early stages of development.

  • Create/Edit/Delete all kind of Segments (Intro, Outro, ...)
  • Player to copy timestamps while you watch

Requirements

  • ⚠️ Jellyfin 10.10 unstable
  • Jellyfin Plugin MediaSegments API
  • Jellyfin Server API Key (created by you)

Installation

  • Download for your platform from Releases

Related projects

Work in progress

  • List all versions of a movie
  • [X] Player view
  • Server side search query
  • [X] Copy/Paste segments
  • Add audio support
  • More filter

Pictures

Overview TV Shows Player

Development setup

Install node LTS, clone this repo and run

npm i && npm i -g @quasar/cli

Start the app in development mode (hot-code reloading, error reporting, etc.)

quasar dev

Lint the files

yarn lint
# or
npm run lint

Format the files

yarn format
# or
npm run format

Build the app for production

quasar build

Tauri App building

Install Rust

Tauri dev

npm run tauri dev

Tauri build for production

npm run tauri build

Additional Tooling

  • Changelog Management git-cliff
  • See the next version bump git cliff --bumped-version
  • Set the version in package.json
  • Create Changelog git cliff --bump --output CHANGELOG.md
  • Create and push the tag with version git tag -a 1.4.0 -m "release 1.4" and git push origin tag 1.4.0

Extension points exported contracts — how you extend this code

PiniaCustomProperties (Interface)
(no doc)
src/stores/index.ts
DefineLocaleMessage (Interface)
(no doc)
src/boot/i18n.ts
UserData (Interface)
(no doc)
src/interfaces/index.ts
GlobalComponents (Interface)
(no doc)
src/globals/components.d.ts
QuasarFeatureFlags (Interface)
(no doc)
src/stores/store-flag.d.ts
DefineDateTimeFormat (Interface)
(no doc)
src/boot/i18n.ts
BaseMediaStream (Interface)
(no doc)
src/interfaces/index.ts
ProcessEnv (Interface)
(no doc)
src/globals/env.d.ts

Core symbols most depended-on inside this repo

fetchWithAuthJson
called by 6
src/stores/api.ts
buildUrl
called by 4
src/stores/api.ts
fetchWithAuth
called by 3
src/stores/api.ts
postJson
called by 3
src/stores/api.ts
getMediaContainer
called by 3
src/composables/mediaCapabilities.ts
saveSegment
called by 2
src/stores/segments.ts
ticksToMs
called by 2
src/composables/utils.ts
secondsToTicks
called by 2
src/composables/utils.ts

Shape

Function 96
Interface 12
Enum 3
Class 2

Languages

TypeScript96%
Rust4%

Modules by API surface

src/composables/mediaCapabilities.ts18 symbols
src/composables/utils.ts15 symbols
src/interfaces/index.ts10 symbols
src/stores/segments.ts7 symbols
src/stores/api.ts6 symbols
src/composables/segmentApi.ts5 symbols
src/stores/plugin.ts4 symbols
src/stores/items.ts4 symbols
src/composables/pluginEdlApi.ts4 symbols
src/composables/fetch.ts4 symbols
src/composables/api.ts4 symbols
src/stores/modal.ts3 symbols

For agents

$ claude mcp add segment-editor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact