Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1

    Fire From Within

    dara's Avatar
    Join Date
    Nov 2014
    Location
    yes i do
    Posts
    10,935
    Rep Power
    393

    Post IPTV Stalker and iVue integration modifications

    For those who use iVue to connect to the servers through IPTV Stalker... This minor code change will prevent IPTV Stalker from sending an invalid serial number, which would cause on-going authentication issues with the server. If you already have these issues, you need to change your linked MAC, as it is already corrupted, and make sure that "Send Serial Number" is off.


    Using a simple text editor, or Notepad++, make this change in the load_channels.py module in plugin.video.stalker in your addons folder

    Just put a # sign in front of the setSerialNumber(Serial)


    Code:
    def retriveUrl(portal_mac, url, serial, channel, tmp):
    	
    	setMac(portal_mac);
    #	setSerialNumber(serial);
    		
    	if 'matrix' in channel:
    		return retrieve_matrixUrl(url, channel);
    		
    	else:
    		return retrive_defaultUrl(url, channel, tmp);
    Last edited by dara; 08-21-2015 at 10:25 PM.

  2. #2
    not a member
    Join Date
    Aug 2015
    Location
    yes i do
    Posts
    491
    Rep Power
    26
    Dara, I think you are on the right track here but I don't think that is enough. This is a procedure and is called from other procedures then just this one leave a potential of still trigger setSerialNumber procedure. I think this would be a better solution as outlined below. What do you think?

    def setSerialNumber(serial):
    global sn, device_id, device_id2, signature;

    return; <-- Add return here.

    if serial == None:
    return;

    elif serial['custom'] == False:
    sn = hashlib.md5(mac).hexdigest().upper()[13:];
    device_id = hashlib.sha256(sn).hexdigest().upper();
    device_id2 = hashlib.sha256(mac).hexdigest().upper();
    signature = hashlib.sha256(sn + mac).hexdigest().upper();

    elif serial['custom'] == True:
    sn = serial['sn'];
    device_id = serial['device_id'];
    device_id2 = serial['device_id2'];
    signature = serial['signature'];

  3. #3

    Fire From Within

    dara's Avatar
    Join Date
    Nov 2014
    Location
    yes i do
    Posts
    10,935
    Rep Power
    393
    I saw that, but going line by line to eliminate that call would be too difficult for the novice user. The tutorials now all say not to set the "Send Serial Number", which essentially stops all other calls to the "false" and "true", because serial is "None". In the case of iVue, the serial is "True", so it will trigger the sending of all that info, unless stopped.

  4. #4
    not a member
    Join Date
    Aug 2015
    Location
    yes i do
    Posts
    491
    Rep Power
    26
    yes I see what your saying, all these issues will soon be easy to fix

  5. #5
    TV Addicted
    Join Date
    Aug 2015
    Location
    yes i do.
    Posts
    244
    Rep Power
    17
    You guys working with a Python script ?

  6. #6

    Fire From Within

    dara's Avatar
    Join Date
    Nov 2014
    Location
    yes i do
    Posts
    10,935
    Rep Power
    393
    Quote Originally Posted by generica View Post
    You guys working with a Python script ?
    The python script is within the IPTV Staker add-on. Because the add-on was released here first, I hope the author will return to make updates for it. However, I may fork it out to make it a 'semi-official' custom version that won't require anything but a valid mac to run.

  7. #7
    Member
    Join Date
    May 2015
    Location
    yes i do
    Posts
    65
    Rep Power
    15
    serial%22%3A+%7B%22custom%22%3A+false%7D%2C+%22 youll see in ivue the serial is actually off in the addons.ini so ivue wont send serial command anyway?

  8. #8

    Fire From Within

    dara's Avatar
    Join Date
    Nov 2014
    Location
    yes i do
    Posts
    10,935
    Rep Power
    393
    Quote Originally Posted by ivueguide View Post
    serial%22%3A+%7B%22custom%22%3A+false%7D%2C+%22 youll see in ivue the serial is actually off in the addons.ini so ivue wont send serial command anyway?
    I think the line sends its over as "False", but it actually needs to be a null. I put in a debug line in the IPTV Stalker to see what it sees when the play channel routine is called, and its not the same as when a channel is called internally from IPTV Stalker.

  9. #9
    not a member
    Join Date
    Aug 2015
    Location
    yes i do
    Posts
    491
    Rep Power
    26
    Looking at the iVue Stalker channel list it looks to me that it is sending a null and it it should be an empty string

    portal={"name": "NFPS", "parental": "false", "url": "http://portal.iptvprivateserver.tv", "mac": "00:1a:00:00:00:00", "serial": null, "password": ""}
    should be
    portal={"name": "NFPS", "parental": "false", "url": "http://portal.iptvprivateserver.tv", "mac": "00:1a:00:00:00:00", "serial": "", "password": ""}

    I am working on a fix for this.

  10. #10

    Fire From Within

    dara's Avatar
    Join Date
    Nov 2014
    Location
    yes i do
    Posts
    10,935
    Rep Power
    393
    I'm going to see if I can force IPTV Stalker to use the custom MAC entered in IPTV Stalker, no matter what MAC is being sent over from iVue. Alucard, or anyone that read or hack code, you are welcome to help.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 234
    Last Post: 01-17-2016, 04:29 PM
  2. ivue with iptv stalker
    By netboy1991 in forum IPTV Private Server (NFPS)
    Replies: 2
    Last Post: 11-16-2015, 01:01 PM
  3. Replies: 217
    Last Post: 10-07-2015, 11:32 AM
  4. How to link Ivue channels to iptv stalker
    By Cu Nguyen in forum Kodi Discussion
    Replies: 4
    Last Post: 09-22-2015, 08:33 PM
  5. iVue Guide/ IPTV Stalker Issue
    By sgee34 in forum IPTV Private Server (NFPS)
    Replies: 1
    Last Post: 09-08-2015, 11:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •