lampac-ukraine/Bamboo/Models/BambooModels.cs
baliasnyifeliks 1a4f1b0be1 feat(bamboo): add new online module for BambooUA streaming service
- Add project structure with csproj configuration
- Implement BambooInvoke class for search, series episodes, and movie streams
- Add Controller for handling HTTP requests and responses
- Include ModInit for module initialization and configuration
- Create data models for search results, episodes, and streams
- Add OnlineApi for event handling and integration
- Configure manifest.json for module metadata

This adds complete support for the BambooUA streaming service including:
- Content search functionality
- Series episode parsing with subtitles and dubbing options
- Movie stream extraction
- Proxy management and caching
- API endpoints for integration with the main application
2026-01-13 09:21:41 +02:00

31 lines
684 B
C#

using System.Collections.Generic;
namespace Bamboo.Models
{
public class SearchResult
{
public string Title { get; set; }
public string Url { get; set; }
public string Poster { get; set; }
}
public class EpisodeInfo
{
public string Title { get; set; }
public string Url { get; set; }
public int? Episode { get; set; }
}
public class StreamInfo
{
public string Title { get; set; }
public string Url { get; set; }
}
public class SeriesEpisodes
{
public List<EpisodeInfo> Sub { get; set; } = new();
public List<EpisodeInfo> Dub { get; set; } = new();
}
}