Ver Fonte

Attempting to get Pluto Tv channels.

Apollo há 3 anos atrás
pai
commit
acb545e8c3
1 ficheiros alterados com 5 adições e 5 exclusões
  1. 5 5
      webserver.go

+ 5 - 5
webserver.go

@@ -79,15 +79,15 @@ func (w *WebServer) tvcmd(c echo.Context) error {
 	case "pluto":
 		Post(fmt.Sprintf("http://%s:8060/launch/%d", w.tv_ip, 74519))
 	case "pluto-cops":
-		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=367", w.tv_ip, 74519))
+		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=367&mediaType=live", w.tv_ip, 74519))
 	case "pluto-thefirst":
-		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=244", w.tv_ip, 74519))
+		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=244&mediaType=live", w.tv_ip, 74519))
 	case "pluto-mst3k":
-		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=488", w.tv_ip, 74519))
+		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=488&mediaType=live", w.tv_ip, 74519))
 	case "pluto-rifftrax":
-		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=489", w.tv_ip, 74519))
+		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=489&mediaType=live", w.tv_ip, 74519))
 	case "pluto-startrek":
-		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=150", w.tv_ip, 74519))
+		Post(fmt.Sprintf("http://%s:8060/launch/%d?contentId=150&mediaType=live", w.tv_ip, 74519))
 	default:
 		c.Echo().Logger.Printf("Got '%v'\r\n", cmd)
 	}