feat: improve cloud media playback and Emby compatibility

Based on nowen-video and MoviePilot implementations:
- Mark STRM media as IsRemote=true in Emby MediaSource
- Improve cloud media identification using STRMURL field
- Clean up unused cloud play service scaffolding
- Ensure third-party players (Infuse/Emby) recognize cloud media correctly
This commit is contained in:
ShukeBta
2026-06-11 12:17:14 +08:00
parent 39144d70ba
commit e99d70b017
4 changed files with 13 additions and 3 deletions
+3 -2
View File
@@ -73,8 +73,7 @@ type Container struct {
Device *DeviceService
stopCtx context.Context
stopCancel context.CancelFunc
}
stopCancel context.CancelFunc}
// New 构建服务容器。
func New(cfg *config.Config, log *zap.Logger, repos *repository.Container) *Container {
@@ -339,3 +338,5 @@ func (c *Container) Close() {
// unused guard
var _ = time.Now