• 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 14
[RELEASE] YouTube Channels (Video Plugin) Addon
(2020-04-10, 16:04)harlekin Wrote: Github user mintsoft fixed natko1412's Youtube Channels plugin for Kodi version 18+ in september of last year. I just found out and wanted to share it.

See:
https://github.com/natko1412/repo.natko1412/pull/7

You can use your old install (or copy over your plugin folder and your addon data folder for ytchannels to a new install) and just replace the default.py with the newer one you find here:
https://github.com/mintsoft/repo.natko14...ytchannels

Or just fresh install the entire plugin from that youtube fork.

4K videoplayback works as well. Smile

(Hurray! Smile )

Still works, although you now have to also supply your own youtube api key. Smile (Too many people use it with the default one, so it hits its access limit.)
see: https://github.com/natko1412/repo.natko1412/issues/8

If you dont know how to get one - follow this not so decently made youtube tutorial. Wink

link removed due to banned addons (wiki) on the install shown in the video. An alternate suggestion for tutorials and information is in the next post below
Reply
As the link above has a couple of visuals including banned addons (wiki) on the screen, I offer an alternative (as their presence precludes links to the video from the forum here):

They are from the YouTube addon thread .

https://github.com/jdf76/plugin.video.yo...l-API-Keys

https://www.youtube.com/watch/?v=4iFaY8IpTeI
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
(2020-07-02, 17:29)DarrenHill Wrote: As the link above has a couple of visuals including banned addons (wiki) on the screen, I offer an alternative (as their presence precludes links to the video from the forum here):

They are from the YouTube addon thread .

https://github.com/jdf76/plugin.video.yo...l-API-Keys

https://www.youtube.com/watch/?v=4iFaY8IpTeI
Related to the above. I'm not the original author of this addon, however I've been maintaining it for my personal use outside of the Natko repo. As far as I understand the rules, there shouldn't be any problem if I attempt to submit this into the official Kodi extensions repository as it's not a pirating addon or similiar?

Are there a enough people who still use this extension to make it worth my while submitting my patched version and also adding UI settings to get your own API key?
Reply
(2020-07-02, 15:08)harlekin Wrote: Still works, although you now have to also supply your own youtube api key. Smile (Too many people use it with the default one, so it hits its access limit.)
see: https://github.com/natko1412/repo.natko1412/issues/8

I've also just made it so that the API key is in the settings on my fork rather than hardcoded so you can "type" (however you want to do that) your API key into the settings page instead of changing the code
Reply
@mint - no, given this addon appears to have been abandoned, there should be no issue with you forking it, taking over and submitting it.

When you do please ensure to describe that history, but there would be no issue with regards to the rules.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
Thumbs Up 
(2020-07-05, 14:26)mint Wrote: Related to the above. I'm not the original author of this addon, however I've been maintaining it for my personal use outside of the Natko repo. As far as I understand the rules, there shouldn't be any problem if I attempt to submit this into the official Kodi extensions repository as it's not a pirating addon or similiar?

Are there a enough people who still use this extension to make it worth my while submitting my patched version and also adding UI settings to get your own API key?

I use ytchannels quite often. Its great to see it still working!
Reply
(2020-07-06, 13:11)misanthropos Wrote:
(2020-07-05, 14:26)mint Wrote: Related to the above. I'm not the original author of this addon, however I've been maintaining it for my personal use outside of the Natko repo. As far as I understand the rules, there shouldn't be any problem if I attempt to submit this into the official Kodi extensions repository as it's not a pirating addon or similiar?

Are there a enough people who still use this extension to make it worth my while submitting my patched version and also adding UI settings to get your own API key?
I use ytchannels quite often. Its great to see it still working!
Ah cool, I'm having a stab at getting it into the main repo at the moment. The review process has highlighted quite a lot of things wrong so it might take a few days, but we'll see Smile
Reply
(2020-07-06, 13:50)mint Wrote: Ah cool, I'm having a stab at getting it into the main repo at the moment. The review process has highlighted quite a lot of things wrong so it might take a few days, but we'll see

Think I'm basically there now. I'll see if this gets in, if it does I'll do another update shortly to force users to set their YouTube API Key. I've defaulted the settings to use the same one as is in the old version, however I doubt that works for basically anyone anymore.
Reply
Cool, this has just been released to the main repository now (https://kodi.tv/addon/plugins-video-add-...e-channels)

I have to say thanks to https://github.com/yeahme49 who did basically all of the tidying up work getting this ready and adding matrix support! The matrix PR hasn't been merged yet, however I'm hoping some time today it will.
Reply
Matrix support is in

There's a few more changes incoming:
A slightly changed logo
Descriptions and durations on videos
Fixed a bug with sorting as well
Maximum page size of 50 for consistency with the YouTube API
Reply
Unfortunately I get the following error and can't open the addon.
Code:
2020-10-18 17:31:58.992 T:2232   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'sqlite3.OperationalError'>
                                            Error Contents: no such table: pragma_table_info
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\Kodi18\portable_data\addons\plugin.video.ytchannels\default.py", line 4, in <module>
                                                ytchannels_main()
                                              File "C:\Program Files (x86)\Kodi18\portable_data\addons\plugin.video.ytchannels\resources\lib\ytchannels.py", line 53, in ytchannels_main
                                                SORT_INIT = check_sort_db()
                                              File "C:\Program Files (x86)\Kodi18\portable_data\addons\plugin.video.ytchannels\resources\lib\functions.py", line 87, in check_sort_db
                                                cur.execute("SELECT 1 FROM pragma_table_info('Channels') WHERE name = 'sort';")
                                            OperationalError: no such table: pragma_table_info
                                            -->End of Python script error report<--
2020-10-18 17:31:59.064 T:1840   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.ytchannels/
2020-10-18 17:31:59.067 T:5412   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.ytchannels/) failed
Reply
(2020-10-18, 19:33)namtih Wrote: Unfortunately I get the following error and can't open the addon.
Code:
2020-10-18 17:31:58.992 T:2232   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'sqlite3.OperationalError'>
                                            Error Contents: no such table: pragma_table_info
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\Kodi18\portable_data\addons\plugin.video.ytchannels\default.py", line 4, in <module>
                                                ytchannels_main()
                                              File "C:\Program Files (x86)\Kodi18\portable_data\addons\plugin.video.ytchannels\resources\lib\ytchannels.py", line 53, in ytchannels_main
                                                SORT_INIT = check_sort_db()
                                              File "C:\Program Files (x86)\Kodi18\portable_data\addons\plugin.video.ytchannels\resources\lib\functions.py", line 87, in check_sort_db
                                                cur.execute("SELECT 1 FROM pragma_table_info('Channels') WHERE name = 'sort';")
                                            OperationalError: no such table: pragma_table_info
                                            -->End of Python script error report<--
2020-10-18 17:31:59.064 T:1840   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.ytchannels/
2020-10-18 17:31:59.067 T:5412   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.ytchannels/) failed

Yo,

This should be fixed in 0.3.2 (PR is in flight: https://github.com/xbmc/repo-plugins/pull/3167) already, I'm just waiting for the merge to happen and then it'll be released to the main repository.

-Rob
Reply
I've manually downloaded the functions.py and the addon is working fine now. Thank you!

Then I've created the folder "Trailer" and added two YT channels. After that I've created a shortcut to this folder from my home menu.
Now I expected to get a YT video list with the content of both channels. But I only open the folder and can select one of the two channels. Did I miss something?
ACTIVATEWINDOW(VIDEOS,"PLUGIN://PLUGIN.VIDEO.YTCHANNELS/?MODE=OPEN_FOLDER&FOLDERNAME=TRAILER",RETURN)
Reply
(2020-10-19, 19:39)namtih Wrote: I've manually downloaded the functions.py and the addon is working fine now. Thank you!

Then I've created the folder "Trailer" and added two YT channels. After that I've created a shortcut to this folder from my home menu.
Now I expected to get a YT video list with the content of both channels. But I only open the folder and can select one of the two channels. Did I miss something?
ACTIVATEWINDOW(VIDEOS,"PLUGIN://PLUGIN.VIDEO.YTCHANNELS/?MODE=OPEN_FOLDER&FOLDERNAME=TRAILER",RETURN)
It's working as intended. When you create a folder and add channels to it, you're just creating a list of channels. You still need to select a channel from the list to get the video listing.

If I find some free time here I can work on adding the feature you're looking for though. The ability to add channels to a folder and instead of listing the channels to choose from, it would list all the videos from those channels. Just need to decide if that should be a setting that can be toggled in the settings (list channels in folder or list videos from channels) or add a 2nd kind of folder (one is a list of channels, one makes a list of videos from those channels). I'll see what I can do.
Reply
Thanks @yeahme49 for your feedback.
Such option would be a nice feature.

I think I've found this addon first. Perhaps the source code is still helpful and you can port some functions from it.
https://forum.kodi.tv/showthread.php?tid=227806
Reply
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 14

Logout Mark Read Team Forum Stats Members Help
[RELEASE] YouTube Channels (Video Plugin) Addon1