Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 13
NBC Peacock Addon Request
(2023-03-21, 04:37)jepsizofye Wrote: @Paco8

i looked into the login process in depth and that cookie bs is specifically anti-bot, i think it was called defense shield

i tried multiple methods to process the javascript in python but there arent any good ones

if there's any android developers available i think a nice solution would be a nice webview app with a cookiejar than can be called from am start and return it's cookies to kodi

sort of the way an oauth setup works, pop up a login window which would be the webview, upon completed sign-in close the app and return to kodi

of course that does only work for android but as peacock only works on android and windows anyway i think it's at least halfway there

Following your suggestion I'm developing an android app which opens the login page, waits for the cookie and saves it a file.
Reply
right on @Paco8

i think such a thing could be useful to kodi in more than this situation so maybe make it as universal and generic as possible

call it with am start and -d <loginurl>

i think the /data/local/tmp/ folder should be universally read/write on most android systems in order to avoid permission concerns on some platforms so maybe save it there

-----

in a more advanced and less simple future version it may be *possible* to implement a json rpc callback that could return the cookies directly but i would say that comes later


this is about the time i regret ignoring java development so many years ago, if only i had known one of the major platforms would depend on it....
Reply
Can anyone test if this version plays in 4K by any chance?

I made some changes and now the manifest contains UHD streams. However I don't have a 4K TV and playback doesn't even start.

https://drive.google.com/file/d/1A-hleGJ...npkVS/view
Reply
(2023-03-27, 00:35)Paco8 Wrote: Can anyone test if this version plays in 4K by any chance?

I made some changes and now the manifest contains UHD streams. However I don't have a 4K TV and playback doesn't even start.

https://drive.google.com/file/d/1A-hleGJ...npkVS/view

works for me


Image
Reply
@Paco8 Thanks, but it's not ideal, HDR & Atmos not working, not showing in your plugin. The Peacock has some 4K Dolby Vision/HDR content, such as the movie "Beast" or "Hallowen Ends".
Reply
Current List of 4k with HDR/DV/Atmos Movies & TV Shows on Peacock: Link
Reply
@Paco8 is this any help?

https://config.clients.peacocktv.com/US/...onfig.json


"supportedColorSpaces": ["DolbyVision","HDR10","SDR"]

im testing it atm but it doesnt seem to deliver DV


supportedColourSpaces works, with the u, so this gets me dolby vision:

"supportedColourSpaces": ["DolbyVision","HDR10","SDR"]
Reply
also if you want to pretend youre a US based android client

-H "user-agent: PeacockAndroid-US/4.3.22-121040322"
-H "x-skyott-platform: ANDROID"
-H "x-skyott-client-version: 4.3.22"
-H "x-skyott-device: MOBILE"

x-sky-signature: SkyOTT client=\"NBCU-ANDROID-v3\"

(untested, just reading a dump file i captured)
Reply
I've just added in version 0.1.8 an option in settings to enable 4K.
Could you test if it plays HDR10 and DolbyVision?
Reply
(2023-03-24, 02:59)papzy Wrote:
(2023-03-21, 11:51)Paco8 Wrote: I've just added (version 0.0.14) an option to login with a cookie file. You copy the cookie anywhere in the android device (for example the Download folder), and then in the addon you go to Accounts, and select the option "Login with a cookie file". You select the cookie file and the addon will copy it to the correct place and with the correct name.

i followed all the steps 
copied the cookies from chrome on macbook and pasted it in text edit , saved it as a txt file and sent it to download folder on kodi , and used the login with cookie file option , 
getting error feedback
any soluton for me ?
Reply
What error message do you get exactly?
Can you see the profiles in the addon? If you can see them then the cookie is correct.
Reply
(2023-03-27, 13:51)Paco8 Wrote: What error message do you get exactly?
Can you see the profiles in the addon? If you can see them then the cookie is correct.

peacock error , check log for more information , and i am unable to use addon again unless , i re-install it
Reply
Can you post the error from kodi.log?
Reply
(2023-03-27, 14:49)Paco8 Wrote: Can you post the error from kodi.log?

how do this on firestick ?
Reply
(2023-03-27, 14:50)papzy Wrote:
(2023-03-27, 14:49)Paco8 Wrote: Can you post the error from kodi.log?

how do this on firestick ?
finally worked for me 
thanks for all the support 
wasn't copying the full cookie initially
Reply
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 13

Logout Mark Read Team Forum Stats Members Help
NBC Peacock Addon Request0
This forum uses Lukasz Tkacz MyBB addons.