Disable custom player for LG

This commit is contained in:
kolsys
2021-09-19 22:45:08 +03:00
parent 8b245e941c
commit f254b52020

View File

@@ -197,19 +197,20 @@ func msxPlaylist(c *gin.Context) {
"type": mime, "type": mime,
} }
} else if (platform == "lg") { } else if (platform == "lg") {
item.Action = "system:lg:launch:com.webos.app.videoplayer" // TODO - custom player needed
item.Data = gin.H{ // item.Action = "system:lg:launch:com.webos.app.mediadiscovery"
"properties": gin.H{ // item.Data = gin.H{
"videoList": gin.H{ // "properties": gin.H{
"result": [1]gin.H{ // "videoList": gin.H{
gin.H{ // "result": [1]gin.H{
"url": uri, // gin.H{
"thumbnail": tor.Poster, // "url": uri,
}, // "thumbnail": tor.Poster,
}, // },
}, // },
}, // },
} // },
// }
} else if (platform == "ios" || platform == "mac") { } else if (platform == "ios" || platform == "mac") {
// TODO - for iOS and Mac the application must be defined in scheme but we don't know what user has installed // TODO - for iOS and Mac the application must be defined in scheme but we don't know what user has installed
// item.Action = "system:tvx:launch:vlc://"+uri // item.Action = "system:tvx:launch:vlc://"+uri