megastreamer v0.2 - Personal cloud storage browser and media player built for Kodi
I wanted to share a project I've been working on: megastreamer, a native, lightweight video addon for Kodi designed to browse and play media files directly from your personal cloud storage (specifically Mega) in real-time.
Version 0.2 represents the first consolidated stable release, focusing on cross-platform compatibility, secure credential handling, and advanced listing organization.
Technical Design & Features:
- Performance seeking: Built a custom connection engine that reuses active TCP/TLS sockets, enabling quick seek times (skipping forward/backward) and stutter-free playback.
- Security: Addon credentials are saved on-disk using AES-CBC cryptography (
crypto_utils.py), ensuring your profile is never stored in plaintext. - Persistent session management: Uses local caching to minimize API requests and maintain a light traffic footprint.
- Multi-Slot profile system: A new slot management system that lets you configure multiple cloud profiles in the settings and switch between them dynamically.
- OS-Independent importer: A fully platform-agnostic file importer compatible with Android, Linux, Windows, and macOS for loading file structures from local text files.
- Folders-first auto-sorting: Strict A-Z sorting of directories (subfolders first, followed by playable media elements).
- Native Metadata Display: Mapped category and year tags directly into Kodi's native list engine (
listitem.setInfo), making it compatible with premium Kodi skins. - Bilingual: Full English (
en_gb) and German (de_de) localization.
The codebase is fully open-source and licensed under GPLv3.
Link to the GitHub repository and compiled ZIP assets is in the comment section below!
u/Frequent_Animal_9097 — 18 days ago