mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Disable custom player for LG
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user