mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
- 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
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using Shared;
|
|
using Shared.Engine;
|
|
using Shared.Models.Online.Settings;
|
|
using Shared.Models.Module;
|
|
|
|
namespace Bamboo
|
|
{
|
|
public class ModInit
|
|
{
|
|
public static OnlinesSettings Bamboo;
|
|
|
|
/// <summary>
|
|
/// модуль загружен
|
|
/// </summary>
|
|
public static void loaded(InitspaceModel initspace)
|
|
{
|
|
Bamboo = new OnlinesSettings("Bamboo", "https://bambooua.com", streamproxy: false, useproxy: false)
|
|
{
|
|
displayname = "BambooUA",
|
|
displayindex = 0,
|
|
proxy = new Shared.Models.Base.ProxySettings()
|
|
{
|
|
useAuth = true,
|
|
username = "",
|
|
password = "",
|
|
list = new string[] { "socks5://ip:port" }
|
|
}
|
|
};
|
|
Bamboo = ModuleInvoke.Conf("Bamboo", Bamboo).ToObject<OnlinesSettings>();
|
|
|
|
// Виводити "уточнити пошук"
|
|
AppInit.conf.online.with_search.Add("bamboo");
|
|
}
|
|
}
|
|
}
|