dara, that is a good idea. That should be easy to do, let me look in to that.
dara, that is a good idea. That should be easy to do, let me look in to that.
Ok I was able to patch the Stalker addon.py to allow you to only specify the portal number you wish to use. This will also avoid sending the SR# issue as well. An example of the new iVue URL is below.
BBC ONE=plugin://plugin.video.stalker/?tmp=1&genre_name=%5B%22All%22%5D&title=BBC+ONE&cm d=ffrt2+http%3A%2F%2Flocalhost%2Fch%2F2443&portal= 1&mode=play&logo_url=http%3A%2F%2Fportal.iptvpriva teserver.tv%2Fstalker_portal%2Fmisc%2Flogos%2F320% 2F801.png
I am updating my tool I use for managing the channels in Kodi to have it also work for iVue. It will aid in making these changes and setting up all the links in iVue for you.
+++++++
Updated, Client will no longer use the complete portal information in the URLs but used the portal number as a reference to retrieve the portal information. This will allow you to create shortcuts and use the links without having to worry about them if you change the MAC. This update maintains 100% compatibility with all Stalker Middle Ware servers. Also will fix the Serial Number bug.
Last edited by Alucard; 08-29-2015 at 03:29 PM.
Thanks. I'll test it out!
Oh I forgot to mention that it will support both formats. If you want to play with the tool I can PM it to you when I am done. I keep finding stuff to add. Next is getting the channel logos for people using IP Simple client.
I think this code will force the use of Portal 1's MAC
I tested this against a newly loaded addons.ini, without modifying the MAC or serial number, and it did call the channel through IPTV Stalker using the MAC and serial number that isn't set in Portal 1. ICode:if portal is None: portal_1 = config.portalConfig('1'); portal_2 = config.portalConfig('2'); portal_3 = config.portalConfig('3'); else: if "{" in portal[0]: #portal = json.loads(portal[0]); portal = config.portalConfig('1'); else: xbmcgui.Dialog().notification(addonname, "not json", xbmcgui.NOTIFICATION_ERROR );
I tested my modified IPTV Stalker on Renegades TV Guide, and it works!
I'm thinking as long as iVue is correctly sending the "cmd" and "tmp" from the addons.ini, there is no need to modify it, and just make the change to replace
portal = json.loads(portal[0]);
with
portal = config.portalConfig('1');
because the json call is not necessary. What do you think Alucard?
Last edited by dara; 08-28-2015 at 10:55 PM.
I did accordingly but still get authorization failed in iVue. IPTV Stalker works though...help?
Dara, Yes you could but that is assuming that everyone is using portal 1 for NFPS. If you specify the portal then other portals can be configured any way. Once my utility app is done it will take less than a minute to update iVue. It will look to see if you have the modified script to determine if it will load the full links or just the portal number change in to iVue.
I think it will be ok. For now, MACs work on all servers. The modified IPTV Stalker will have all three servers listed as default, with the correct urls already entered, as well as the serial number entry removed from the GUI. This way, no one has to make any substantial changes to the addons.ini, and the IPTV Stalker will be the sole location for MAC info.
Are you guys testing this on PC or Android box ?
I am no stranger to coding so I could learn a little on how this stuff works by doing some debugging or coding as well.