Posts: 85
Joined: Jul 2013
Reputation:
2
So been using this for a little while with PlayOn 3 and it has helped a lot with the issue of stale streams -- thanks! However, at first blush, seems like PlayOn 4 is NOT working with this plugin. Anyone else having an issue or has it working with PlayOn 4? I'll dig ina little when I have a few moments to see if the logs show anything ...
Posts: 77
Joined: Apr 2014
Reputation:
0
Having the same problem with PlayOn 4
Posts: 8
Joined: Jan 2013
Reputation:
1
2015-10-21, 21:51
(This post was last modified: 2015-10-21, 22:04 by nuttytree.)
This was working for me when I first upgraded to PlayOn 4. As far as I can tell one of the more recent PlayOn incremental updates broke this. For some reason Kodi just can't seem to process the file that comes from the PlayOn http server. However for whatever reason it is still able to process the stream from the PlayOn upnp server. I was able to get this working again (and keep the AWESOME name lookup function fixing the expiring ID's issue with MyLibrary and the improved speed of using the addon vs browsing the upnp source) by hacking the addon.py file. I replaced the line:
url = playonInternalUrl + '/' + src
with:
url = 'upnp://e5f1764c-142a-434b-b57d-b4237dfa7373/' + src.split('.')[0].split('/')[0] + '/'
The string of random characters is the ID of my PlayOn upnp server that I got from my sources.xml file. This is a very ugly fix both because I hard coded the server ID and because I am basically breaking down the source url that the plugin put together to get just the ID of the video (this is the ID that changes all the time). But it does fix things by forcing it to play the upnp stream instead of the http stream. Hopefully someone who knows way more about video streaming, codecs, containers, etc then me can figure out how to fix playing the http stream. If not potentially the addon can be updated to either get the ID of the upnp server from the hostname/ip configured in the settings screen or to have a second setting where you specify the PlayOn upnp source.
Posts: 77
Joined: Apr 2014
Reputation:
0
Downloaded the pseudo library add-on. Looks really good.
Posts: 85
Joined: Jul 2013
Reputation:
2
Seems now to be working with PlayOn 4 -- I noticed a file was updated in the playonbrowser directory ...
Posts: 85
Joined: Jul 2013
Reputation:
2
Seems like the behavior I was seeing with play on 4. I could see the directories etch but when I played an item it crashed back out. Nuttytree's hack (a few posts up) fixed it for mw ...
Posts: 5
Joined: Oct 2015
Reputation:
0
Where did you find the PlayOn upnp server ID? I don't have a "sources.xml" file.
Posts: 50
Joined: Apr 2015
Reputation:
0
Lunatixz,
Can your fix include a dynamic way of getting the upnp address as per nuttytree's post? This way, when links are added as favorites, they don't expire after a period of time.
thanks!