Skip to content

Instantly share code, notes, and snippets.

@CarstenG2
CarstenG2 / CHANGELOG.txt
Created March 4, 2026 21:24
xShip PATCHED changelog (2026-03-04)
xShip PATCHED — Issues #40 through #68
Base: plugin.video.xship v2026.01.18 (michaz1988)
== 2026-03-04 ==
Source search fix: isFolder=True for clean context menu now works
correctly with source list displayed as directory after scan.
FSK age rating: movie listings show FSK rating (0/6/12/16/18)
from TMDB release_dates API. Shown in plot and as overlay.
@CarstenG2
CarstenG2 / gui.py
Last active March 16, 2026 08:09
xStream trailer: per-language priority search (Version: 2026-03-08) — code + design docs
# -*- coding: utf-8 -*-
# Python 3
import sys
import xbmc
import xbmcgui
import xbmcplugin
from resources.lib import utils
from resources.lib.config import cConfig
@CarstenG2
CarstenG2 / CACHE-HIT.md
Created March 15, 2026 13:00
xShip Quellen-Precaching — Design-Dokumentation

Cache-Hit & Manueller Klick (sources.py)

Cache-Hit Path

Wenn der User einen Film anklickt:

sources.py getSources():
    +-- sourcecacheDB.get_sources(imdb) → cached sources
 +-- Cache Hit: sofortige Anzeige (~15ms)
@CarstenG2
CarstenG2 / DB-SCHEMA.md
Created March 16, 2026 17:26
xShip Precache Design-Docs (DB-Schema, Dispatcher, Settings)

DB Schema (sourcecache.db)

Tabellen

source — Gecachte Streaming-Quellen

CREATE TABLE IF NOT EXISTS source (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    imdb_id TEXT NOT NULL,