The loop variable `season` was renamed to `seasonInfo` to maintain consistency
with the naming convention used in the rest of the codebase and improve
code readability.
The loop variables in season processing methods were renamed from 'season' to 'seasonItem' and 'seasonInfo' to improve code readability and avoid naming conflicts. This change maintains the same functionality while making the code more maintainable.
- Add GetSeasonNumber method to extract season numbers from titles
- Implement LoadMissingSeasonEpisodes to fetch episodes for seasons without them
- Refactor season handling to use AddSeason method for consistency
- Improve episode template generation with proper season numbering
- Add Controller.cs for handling StarLight API endpoints
- Add ModInit.cs for module initialization and configuration
- Add StarLightModels.cs for data models (SearchResult, ProjectInfo, etc.)
- Add OnlineApi.cs for integrating with the online API system
- Add StarLight.csproj for project configuration
- Add StarLightInvoke.cs for core functionality including search, project retrieval, and stream resolution
- Add manifest.json for module metadata and initialization
The implementation includes:
- Search functionality with caching
- Project information retrieval with season and episode handling
- Stream resolution with multiple fallback options
- Proxy support and error handling
- Integration with the existing online module system