Experimental Youtube Music Addon
#16
Hi, @foreverguest do you have a Repo at Github?
Reply
#17
(2021-03-31, 20:55)zypy Wrote: Hi, @foreverguest do you have a Repo at Github?

Hi, not yet, I'll provide one soon.
Reply
#18
I was wondering if a small video on how to retrieve cookie and visitor-id strings to get the addon running. Thanks
Reply
#19
(2021-04-12, 18:48)kobyboy Wrote: I was wondering if a small video on how to retrieve cookie and visitor-id strings to get the addon running. Thanks

that would be a lot of blurring on the video because of personal data.

try to follow this:

- Open a new empty tab in chrome/edge
- press F12 so the console opens
- now go to music.youtube.com
-  in the console you opened with F12, go to "network"
- filter the search for "/browse" there (without the quotes) - you'll se the "filter" search box in the network tab
- now you will see your ctoken, it will be the only result of the search - click on it
- copy the "cookie: " part (without the "cookie: ")
- below the cookie part, you can see "x-goog-visitor-id: "
- copy the part after "x-goog-visitor-id: "

that's it. 

so, what you need to do with "cookie" and "x-goog-visitor-id" is just to paste them accordingly to the notepad file you created (leave the quotes, paste between them):
Quote:{
    "Cookie": "PASTE COOKIE HERE",
    "X-Goog-Visitor-Id": "PASTE HERE",
    "origin": "https://music.youtube.com"
}

save it somwhere you'll be able to access it from kodi (i saved it to my documents folder). you can save it as a text file, it doesn't have to be .json extension
when you open the youtube music addon in kodi, it will ask you to browse to find the file. find it and open it.

that's it.
the cookie will expire after some time, so you'll need to do this again when it does.
that's how it works for me on a windows PC.
Reply
#20
Tried this on an FTV but was unable to get it to recognise the cookie file (log). Had it stored in the download directory so would think it'd be ok but I guess it has something to do with typical Android permissions problems.

On a Windows laptop I was able to login - I could see my played history - but got a series of errors (log) and playback never worked.
Reply
#21
@foreverguest : Thank you for doing this. Its something that was stopping me from adopting Matrix . 
I have to admit that I am struggling at the "cookies " bit
I have followed all the steps and extracted "set cookies "  which is a long string . when I am using these as saved  as a text file to enter as headers when running the addon but there is always and error and wouldnt accept the cookies.
Can I share this " cookie " data and maybe one of the experienced people could kindly point which file / string to use 
sorry to be such a nuisance
Reply
#22
(2021-06-08, 11:58)shaktoo Wrote: @foreverguest : Thank you for doing this. Its something that was stopping me from adopting Matrix . 
I have to admit that I am struggling at the "cookies " bit
I have followed all the steps and extracted "set cookies "  which is a long string . when I am using these as saved  as a text file to enter as headers when running the addon but there is always and error and wouldnt accept the cookies.
Can I share this " cookie " data and maybe one of the experienced people could kindly point which file / string to use 
sorry to be such a nuisance
Hi,

Have you tried these instructions, shared by ray:
- Open a new empty tab in chrome/edge
- press F12 so the console opens
- now go to music.youtube.com
-  in the console you opened with F12, go to "network"
- filter the search for "/browse" there (without the quotes) - you'll se the "filter" search box in the network tab
- now you will see your ctoken, it will be the only result of the search - click on it
- copy the "cookie: " part (without the "cookie: ")
- below the cookie part, you can see "x-goog-visitor-id: "
- copy the part after "x-goog-visitor-id: "
Reply
#23
So got the login alright. However its not playing any file ?
Ill try the errors 'morrow
Reply



Logout Mark Read Team Forum Stats Members Help
Experimental Youtube Music Addon0
This forum uses Lukasz Tkacz MyBB addons.