2017-08-23, 14:44
(2017-08-23, 14:13)porko2003 Wrote: i have it installed but cant get channels to work nothing appears.
Tell me exactly which line of the Quick Start you got to.
(2017-08-23, 14:13)porko2003 Wrote: i have it installed but cant get channels to work nothing appears.
(2017-02-21, 23:01)proncio Wrote: Mmm... it seems it doesn't
I'm struggling to find a plugin which
1. reads .ts streams from a m3u web link and plays it with f4m
2. autoupdates at every reload/time frame, or doesn't cache the m4u content
I've found plugins that do the first part, but not the second - you have to manually press an update button.
Anyway, with your plugin I'm really close to obtain my dream tv, so thanks in any case ^^
import xbmc, sys
xbmc.log(repr(sys.argv), xbmc.LOGERROR)
(2017-11-04, 21:14)locoguano Wrote: I am getting an error when playing streams through PVR in Kodi 18. Upon selecting the channel there is a "playback failed" error, then the video starts.
https://pastebin.com/1kxs1cJL
(2017-11-06, 10:08)primaeval Wrote:Is web server supposed to be enabled?(2017-11-04, 21:14)locoguano Wrote: I am getting an error when playing streams through PVR in Kodi 18. Upon selecting the channel there is a "playback failed" error, then the video starts.
https://pastebin.com/1kxs1cJL
I can't see anything obviously wrong.
Have you enabled the web server protocol in Kodi Settings?
Does it work with any addon streams?
(2017-11-09, 01:24)locoguano Wrote:Yes. The addon uses the RPC protocol through the webserver.(2017-11-06, 10:08)primaeval Wrote:Is web server supposed to be enabled?(2017-11-04, 21:14)locoguano Wrote: I am getting an error when playing streams through PVR in Kodi 18. Upon selecting the channel there is a "playback failed" error, then the video starts.
https://pastebin.com/1kxs1cJL
I can't see anything obviously wrong.
Have you enabled the web server protocol in Kodi Settings?
Does it work with any addon streams?
I am using both PS Vue and USTVNow. Same result.
(2017-11-09, 18:02)locoguano Wrote: Forgive my ignorance, but is this to what you are referring?
(2017-11-09, 18:14)locoguano Wrote: Everything is fine in Krypton.
In Leia I am getting the same result in both Android and Windows 10, even with the web server enabled.
Here is the pastebin from my Windows PC. Kodi Log I only have one channel loaded up for testing purposes.
(2017-11-09, 19:47)primaeval Wrote:(2017-11-09, 18:14)locoguano Wrote: Everything is fine in Krypton.
In Leia I am getting the same result in both Android and Windows 10, even with the web server enabled.
Here is the pastebin from my Windows PC. Kodi Log I only have one channel loaded up for testing purposes.
They've gone and changed the way urls need to specify whether they are video or audio.
The library I use, xbmcswitf2, doesn't let you do that.
I'll see if there is a workaround. This is going to break a lot of people's addons.
python:
class myHandler(BaseHTTPRequestHandler):
def do_GET(self):
##self.send_response(200)
##self.send_header('Content-type','video/mpeg')
##self.end_headers()
self.send_response(301)
self.send_header('Location','http://techslides.com/demos/sample-videos/small.webm')
self.end_headers()
Last = int(ADDON.getSetting("LastPlay"))
Now = int(time.time())
if Now-Last>4:
ADDON.setSetting("LastPlay","%d" % Now)
else:
return
url = self.path[2:]
listitem = ListItem(path=url)
listitem.setInfo(type="Video", infoLabels={"mediatype": "movie", "title": "LiveTV"})
xbmc.Player().play(url, listitem)
return
(2017-11-15, 22:53)dh4rry Wrote: @primaeval: a quick fix for the problem in kodi leai would be to redirect to a dummy Stream instead of returning a 200 responsecode. I've testet following fix in service.py:Definitely works on this end... Need a very short black video I guess. I replaced the video address with a jpg address and it seems to work.
python:
class myHandler(BaseHTTPRequestHandler):
def do_GET(self):
##self.send_response(200)
##self.send_header('Content-type','video/mpeg')
##self.end_headers()
self.send_response(301)
self.send_header('Location','http://techslides.com/demos/sample-videos/small.webm')
self.end_headers()
Last = int(ADDON.getSetting("LastPlay"))
Now = int(time.time())
if Now-Last>4:
ADDON.setSetting("LastPlay","%d" % Now)
else:
return
url = self.path[2:]
listitem = ListItem(path=url)
listitem.setInfo(type="Video", infoLabels={"mediatype": "movie", "title": "LiveTV"})
xbmc.Player().play(url, listitem)
return
A better solution would be simulate a black video stream directly in python.