Kolifanes / plugin.video.youtube

YouTube for Kodi with API fixed
GNU General Public License v2.0
118 stars 44 forks source link

How to integrate? #132

Open bhaskardabhi-oviyum opened 7 years ago

bhaskardabhi-oviyum commented 7 years ago

I used following tutorial for integration:

http://kodi.wiki/view/Add-on:YouTube

I created URL as : plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=TQOM0Lsb0do

(Dont know what should be path's value should be)

it gave me error

19:18:41 T:123145486258176   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: 'NoneType' object is not callable
                                            Traceback (most recent call last):

ends at

                                                result = self._execute(False, query, [item_id])
                                              File "/Users/bhaskardabhi/Library/Application Support/Kodi/addons/plugin.video.youtube/resources/lib/k
odion/utils/storage.py", line 79, in _execute
                                                return self._cursor.execute(query, values)

                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/
python2.6/sqlite3/dbapi2.py", line 67, in convert_timestamp
                                            TypeError: 'NoneType' object is not callable

Don't know whats the issue. Is there any other documentation for integration?

razzeee commented 7 years ago

You should be able to use plugin://plugin.video.youtube/play/?video_id=TQOM0Lsb0do