Skip to content

Goldenfreddy0703/plugin.audio.ytmusic.exp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kodi version License: GPL3

YT Music (plugin.audio.ytmusic.exp)

This addon is a rewrite of the Experimental Google Music addon to Youtube Music made by Foreverguest.

All credit goes to Foreverguest.

Used libraries and versions

Requires:

Kodi 19 Matrix

Installation & Updates

You can install it via repository to provide automatic updates (future updates may require to rebuild database)

or install it manually (updates should be installed manually)

Important:

Due to changes in the Google API, you must now configure a API Client ID and API Client Secret in the Settings under 'API'. You can use the same values you use for the official Kodi youtube addon (and follow the instructions on how to obtain these credentials provided for that addon).

On first run it will ask for OAuth authentication. Follow the instructions displayed in the UI.

Wiki Instructions: Personal-API-Keys

Using Cookie Data instead of OAuth:

If OAuth authentication is disabled in the settings, on first run it will ask for a headers file with cookie data from your web session. The plugin will accept either 'raw header files' or 'JSON files'.

Please follow this guide https://ytmusicapi.readthedocs.io/en/lat...on-headers

See the two points below for further guidance:

Creating a JSON file

JSON File template:

{
    "Cookie": "xxxx",
    "X-Goog-Visitor-Id": "yyyy",
    "origin": "https://music.youtube.com"
}

Create the JSON file manually as described in Manual file creation.

Using the raw headers

Copy the request headers to a plain text file as described in Copy authentication headers.

Donations:

Donations for this addon gratefully accepted.

Note: All Donations will be going to Foreverguest.

Versions:

From 1.0~beta8 ongoing you can find the releases under Releases.

Older:

plugin.audio.ytmusic.exp-1.0~beta7

plugin.audio.ytmusic.exp-1.0~beta6

plugin.audio.ytmusic.exp-1.0~beta5

  • Update ytmusicapi and pytube thanks to @woernsn.

plugin.audio.ytmusic.exp-1.0~beta4

plugin.audio.ytmusic.exp-1.0~beta3

plugin.audio.ytmusic.exp-1.0~beta2

plugin.audio.ytmusic.exp-1.0~beta1

TODO:

  • extend headless mode to song, album and playlist context menus
  • implement OAuth login
  • support adaptive streaming
  • add playlist operations
  • add Android/Linux support
  • make Youtube Music thumbnails have better resolution
  • adding icons in the future

Help needed with maintaining!!!

I am very clueless on this project currently cause this addon was made by foreverguest who has done a very great job maintaining this addon. Be aware that this is a community driven project, so feel free to submit PR's yourself to improve the code and/or help others with support on the forums etc. If you're willing to really participate in the development, please contact me so I can give you write access to the repo. I will do my best to maintain the project for foreverguest. Thanks for understanding!

All credit goes to foreverguest

License

Licensed under The GPL License.