WIP Playon native interface for Kodi
#76
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 ...
#77
Having the same problem with PlayOn 4
#78
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.
#79
(2015-10-21, 21:51)nuttytree Wrote: 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 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.

the new PseudoLibrary video plugin i'm working on will take care of this... a very early alpha is available thru my repo.

When PseudoLibrary is finished i'll add standalone strm building to the playonbrowser...
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
#80
Downloaded the pseudo library add-on. Looks really good.
#81
Seems now to be working with PlayOn 4 -- I noticed a file was updated in the playonbrowser directory ...
#82
I'm having a problem I'm hoping someone can help me with: I can connect to Playon and am able to see all of the channels and browse the available videos in each, however, when I try to play a stream, it starts to load and then crashes back out to the previous menu. In viewing the logs, it appears that the browser is unable to play the flv file. I've attached a recent log (in this case, it's using Netflix, but the same thing happens with each channel that I've tried). Thanks for any assistance!

Log: http://xbmclogs.com/ptewbmvfd
#83
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 ...
#84
Where did you find the PlayOn upnp server ID? I don't have a "sources.xml" file.
#85
I found the PlayOn upnp server ID and applied Nuttytree's hack but I am still experiencing the same behavior Sad
#86
I'll push a fix soon...
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
#87
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!
#88
(2015-11-12, 02:10)chilman408 Wrote: 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!

Yes, haven't had the time to push the update... it will be available soon
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
#89
Please move any future discussions to: http://forum.kodi.tv/showthread.php?tid=233136
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?

Logout Mark Read Team Forum Stats Members Help
Playon native interface for Kodi0