How mrjcfire2/plex2netflix works
Main Components Identification
The system consists of these key components:
• CLI Interface
• Core Service
• External APIs Integration (Plex and uNoGS)
• Report Generation
Component Relationships
[CLI Input] → [Core Service]
• ↓
[Plex API] ← [API Handler] → [uNoGS API]
• ↓
• [Data Processor]
• ↓
• [Report Generator]
• ↓
• [Console Output]
Important Details
a) Data Flow Annotations:
• Media list retrieval from Plex
• IMDb ID extraction
• Netflix availability checking
• Results aggregation
• Report generation
b) Key Processing Steps:
• IMDb ID-based search path
• Title/year-based fallback search path
• Filtering options (year, section)
Technical Stack Elements
• Node.js runtime (v4.0+)
• Plex Web API
• uNoGS API
• Command-line interface
Implementation Details
lib/
• apis/
• plex2netflix-server.js (API integration)
• cli.js (Command interface)
• index.js (Core service)
• report/
• console.js (Output formatting)