• 1
  • 79
  • 80
  • 81
  • 82
  • 83(current)
Deprecated PS Vue
(2019-12-27, 00:14)snoopyjoe Wrote: @clones  Yes. Here is everything that gets updated every time the addon attempts to logs in and reauthorize...
  • "abck_" :https://auth.api.sonyentertainmentnetwork.com/2.0/ssocookie
  • "npsso" :https://auth.api.sonyentertainmentnetwork.com/2.0/ssocookie
  • "bm_sz" :https://auth.api.sonyentertainmentnetwork.com/2.0/ssocookie
  • "grant code" :https://sentv-user-auth.totsuko.tv/sentv_user_auth/ws/auth2/token?device_type_id=web3-w&device_id=YOUR DEVICE ID&code=YOUR GRANT CODE&....> Under "response"
  • "reqPayload" :https://sentv-user-auth.totsuko.tv/sentv_user_auth/ws/auth2/token?device_type_id=web3-w&device_id=YOUR DEVICE ID&code=YOUR GRANT CODE&....> Under "cookies"
  • "last_auth" :https://sentv-user-auth.totsuko.tv/sentv_user_auth/ws/auth2/token?device_type_id=web3-w&device_id=YOUR DEVICE ID&code=YOUR GRANT CODE&....> Under "Response-->headers-->time_stamp"
  • "profile_id" :https://sentv-user-ext.totsuko.tv/sentv_user_ext/ws/v2/profile/ids
  • "EPGreqPayload" : https://sentv-user-ext.totsuko.tv/sentv_...2/profile/YOUR PROFILE ID> Under "Headers-->reqPayload"

Of course after logging in on the website, update the the cookie file with the new abck_ and bm_sz and expiration date. I'd changed the year on my expiration to 2020 to prevent further login attempts. Next in the settings.xml file update the npsso, your profile_id, reqpayload, EPGreqPayload and last_auth. Again I also changed the year on the last_auth to 2020 to prevent further login attempts. The grant code will go in the sony.py file on line 226 (under authorize_device) depending on which addon version you're still using. The line looks like this..."url += '&code=' + self.get_grant_code()" and must be changed to "url += '&code=YOUR GRANT CODE'. Also in the sony.py file on line 32 (under check_auth), comment out or remove the line "self.check_login()"

Finally, in the psvue.py file on line 672 add lines "sony = SONY()" and  "sony.authorize_device()". It should be the first line under the "get_stream()" function. This will reauthorize your device and update the EPGreqPayload every time you play a video. The EPGreqPayload is only valid for 24hr and needs to be updated accordingly.

All of this will prevent the addon from trying to login since it will already have valid login credentials but allow it to reauthorize when trying to play a stream. I hope this helps any users still wanting to use their PSvue access on Kodi to the very end like myself. 
@snoopyjoe  As I looked for 'my device id' and 'my grant code' I have found under response I am getting 'failed to load response date' under the ssocookie, but as I look under headers there is 'client id' so I'm assuming this is my device id, and 'session id' would this be the Grant Code?  Thanks again for all your thoughts , I feeling like I am pushing my knowledge level envelope.
Reply
The grant code is in that URL. It is also under the response section of the http request.
Reply
(2019-12-27, 19:57)snoopyjoe Wrote: The grant code is in that URL. It is also under the response section of the http request.
I'm not sure what url your referring to (should I not be looking under ssocookie for this)?  also I am getting 'failed to load response data', (I have tried to paste your url link into the filter area, but nothing is found).

& Client id is that device id?  but the session id is not the grant code?

EDIT: I think I may be found it: I did a filter search for device id:  (:entv-user-auth.totsuko.tv/sentv_user_auth/ws/auth2/token?device_type_id=web3-w&device_id=xxxx@xxxxxxxxxxxx&code=xxxxxx ...)  The X's are the device id & code
Reply
(2019-12-27, 20:48)clones Wrote:
(2019-12-27, 19:57)snoopyjoe Wrote: The grant code is in that URL. It is also under the response section of the http request.
I'm not sure what url your referring to (should I not be looking under ssocookie for this)?  also I am getting 'failed to load response data', (I have tried to paste your url link into the filter area, but nothing is found).

& Client id is that device id?  but the session id is not the grant code?

EDIT: I think I may be found it: I did a filter search for device id:  (:entv-user-auth.totsuko.tv/sentv_user_auth/ws/auth2/token?device_type_id=web3-w&device_id=xxxx@xxxxxxxxxxxx&code=xxxxxx ...)  The X's are the device id & code  
I do have a question from:  Finally, in the psvue.py file on line 672 add lines "sony = SONY()" and  "sony.authorize_device()". It should be the first line under the "get_stream()" function.

In my psvue.py file mine looks like:

def get_stream(url, airing_id, channel_id, program_id, series_id, tms_id, title, plot, icon):
    headers = {


I would add the sony = SONY() and sony.authorize device()   before the     headers = {             
Correct??
Reply
That is correct. It goes before "headers". That way as soon at get_stream() is called, it will reauthorize the device first.
Reply
(2019-12-28, 01:27)snoopyjoe Wrote: That is correct. It goes before "headers". That way as soon at get_stream() is called, it will reauthorize the device first.
Thank you again. Things are working right now. 

But based on what you mentioned "The EPGreqPayload is only valid for 24hr and needs to be updated accordingly."  I'll probably have to update this daily on this computer, true?
Reply
(2019-12-28, 03:35)clones Wrote:
(2019-12-28, 01:27)snoopyjoe Wrote: That is correct. It goes before "headers". That way as soon at get_stream() is called, it will reauthorize the device first.
Thank you again. Things are working right now. 

But based on what you mentioned "The EPGreqPayload is only valid for 24hr and needs to be updated accordingly."  I'll probably have to update this daily on this computer, true? 
You shouldn't have to if you added the sony.authorize_device() to the get_stream() function in psvue.py. This will get a new EPGreqPayload every time you click to play a video.
Reply
(2019-12-29, 18:55)snoopyjoe Wrote:
(2019-12-28, 03:35)clones Wrote:
(2019-12-28, 01:27)snoopyjoe Wrote: That is correct. It goes before "headers". That way as soon at get_stream() is called, it will reauthorize the device first.
Thank you again. Things are working right now. 

But based on what you mentioned "The EPGreqPayload is only valid for 24hr and needs to be updated accordingly."  I'll probably have to update this daily on this computer, true?     
You shouldn't have to if you added the sony.authorize_device() to the get_stream() function in psvue.py. This will get a new EPGreqPayload every time you click to play a video.    
Great. Thank you again. You help and guidance has been greatly appreciated. Hope your holidays have been good, and have a happy new year.
Reply
So, as this service draws to a close in a couple weeks, are there any fully functional replacements we can use in Kodi yet? I know there's Sling TV, but haven't heard of an EPG service being released yet, on par with Eracknaphobia's PS Vue EPG Build Service. There's been some talk of YouTube TV and Hulu TV bounced around. Would it be inappropriate to make this a place where we can all post a rundown of our best options here, since we're all losing this awesomeness on January 30th?
Reply
Here's a link to the sling addon we've been working on.

https://forum.kodi.tv/showthread.php?tid...ight=sling
Reply
  • 1
  • 79
  • 80
  • 81
  • 82
  • 83(current)

Logout Mark Read Team Forum Stats Members Help
PS Vue6