home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Youtube is broken...
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rick164" data-source="post: 1149304" data-attributes="member: 17766"><p>They get the newest videos from the TV interface page opposed to the activities list, the Kodi plugin tries to imitate the TV client with coded paths and a few workarounds which is a lot different then what we use (cleaner but with a few limitations set by the API):</p><p></p><p><a href="https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L491" target="_blank">https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L491</a></p><p></p><p>Not sure if we can include it into the current construction but will give it another go this weekend.</p><p></p><p>// UPDATE</p><p></p><p>Tried to include the Kodi approach but the 2 don't mix, it will require another authentication and might break in the future as its hard-coded headers + json output reading of the TV interface.</p><p>If someone else wants to try it then it comes down to converting these functions:</p><p></p><p><a href="https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L490" target="_blank">https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L490</a></p><p><a href="https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L639" target="_blank">https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L639</a></p><p></p><p>Afterwards it will also need a new separate auth token which is why with Kodi you need to authenticate twice I guess and this is also version dependent.</p></blockquote><p></p>
[QUOTE="Rick164, post: 1149304, member: 17766"] They get the newest videos from the TV interface page opposed to the activities list, the Kodi plugin tries to imitate the TV client with coded paths and a few workarounds which is a lot different then what we use (cleaner but with a few limitations set by the API): [URL]https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L491[/URL] Not sure if we can include it into the current construction but will give it another go this weekend. // UPDATE Tried to include the Kodi approach but the 2 don't mix, it will require another authentication and might break in the future as its hard-coded headers + json output reading of the TV interface. If someone else wants to try it then it comes down to converting these functions: [URL]https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L490[/URL] [URL]https://github.com/bromix/plugin.video.youtube/blob/master/resources/lib/youtube/client/youtube.py#L639[/URL] Afterwards it will also need a new separate auth token which is why with Kodi you need to authenticate twice I guess and this is also version dependent. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Youtube is broken...
Contact us
RSS
Top
Bottom