2017-03-20, 14:44
(2017-03-20, 03:25)BriceysCousin Wrote: hmm, if YouTube's API changed, why does the YouTube add-on still work perfectly with old versions of Kodi?
I have an old RPi-2 I never updated with Kodi 14.2 on it. Watch Later, History and everything works perfectly. It even added API keys automatically.
Don't think I'm ever going to upgrade as long as the YouTube add-on is still semi-broken for newer versions of Kodi.
It shouldn't. the API documentation states it's depricated. I don't see how a kodi version would make it any different.
from developers.google.com/youtube/v3/revision_history
Code:
This update contains the following changes:
The August 11, 2016, revision history update discussed several changes related to topic IDs, including the fact that the set of supported topic IDs will change as of February 10, 2017. The list of topics that will be supported will be published by November 10, 2016.
The following changes are now in effect. Notice of these changes was given in the revision history update on August 11, 2016:
If the activities.list method is called with the home parameter set to true, the API response now contains items similar to what a logged-out YouTube user would see on the home page.
This is a slight change that is intended to provide a better user experience than the behavior described in the revision history update on August 11, 2016. That update had stated that requests using the home parameter would return an empty list.
The channel resource's contentDetails.relatedPlaylists.watchHistory and contentDetails.relatedPlaylists.watchLater properties now contain values of HL and WL, respectively, for all channels.
To be clear, these properties are only visible to an authorized user retrieving data about the user's own channel. The properties always contain the values HL and WL, even for an authorized user retrieving data about the user's own channel. Thus, the watch history and watch later playlist IDs cannot be retrieved via the API.
In addition, requests to retrieve playlist details (playlists.list) or playlist items (playlistItems.list) for a channel's watch history or watch later playlist now return empty lists. This behavior is true for the new values, HL and WL, as well as for any watch history or watch later playlist IDs that your API Client may have already stored.
The video resource's fileDetails.recordingLocation object and its child properties are no longer returned. Previously, this data (like the parent fileDetails object) could only be retrieved by a video's owner.
Jeff