• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 10
Release YouTube to KODI library
#1
YouTube to KODI library, 0.1.1 [Extends YouTube plugin]
(greatly inspired by: YoutubeLibrary)

Purpose:
To import YouTube channels as TV-shows.
(support for music videos,movies and selective playlists coming later)

You'll need to generate your own YouTube API key (Guide here)

Kodi Leia v18 :GitHub link
Kodi Matrix v19: GitHub link

if you plan to add both playlists and the main channel, add playlists first or they'll be scanned to the main channel, playlist items already scanned to the main channel won't get scanned to playlist-channel and vise versa)





(yeah I have no idea why they decided to flag it as "age-restricted")


default paths to use for video source:
 TV-shows:
special://profile/library/series
 Music videos:
special://profile/library/music_videos

 
Code:
CHANGELOG:
 v0.1.1 (2021.1.28)
 - Bug fixes
 - Support for Tubed (Matrix only)

 v0.1.0 Beta (2020.11.30)
 - Support for playlists.
 - Folder structure changed
   so channel ID is used
   instead of channel name.
 - Fixed search for Leia.
 - Split addon to multiple
   files instead of one 
   blob.

v0.0.8 Beta (2020/6/9)
- Support for music videos.
(Thumbnails broken for v19)
- EGG is now considered a valid
  unit of time.
- Bug fixes.

v0.0.7 Beta (2020/6/6)
- Multilanguage support added.

v0.0.6 (2020/06/06)
- KODI v18 and v19 now share the same code,
  making future updates easier to manage.

v0.0.5 (2020/06/05)
- New parser

v0.0.4 (2020/06/02)
- Fixed issue where new episodes were not being added.

#      (2020/06/01 00:09:48 GMT)
    - Master (Matrix):
      nope... too tired, uploaded an outdated file
      it should be the right one now...
      ... need sleep...
#      (2020/06/31 23:39:12 GMT)
    - Master (Matrix):
      forgot to update service.py to github
      so background service doesn't work, it's there now so
      just redownload the addon... sorry about that.

v0.0.3 (2020/05/31)
- Added management menu.
- Changed how main menu works.

v0.0.2 (2020/05/30)
- Added background process for auto update.

v.0.0.1 (2020/05/21)
- Added ability to add channels.
 
Code:
Stuff to do in priority order:

- Make inputting API key on android less painful.
- complete GUI overhaul.
Reply
#2
Could you consider adding support for Media Import via this Extention point?
Reply
#3
(2020-05-26, 02:46)LongMan Wrote: Could you consider adding support for Media Import via this Extention point?

Absolutely
Reply
#4
@evantaur

Thank you for your contribution. Smile

A couple of minor issues..

1. Your "Guide" link is being hijacked.
2. Koditips is banned from this forum due to their promotion of piracy enabled add-ons

Could you please remove the "Guide" link and provide an alternative set of instructions if required. Also the link on your github page.

Feel free to contact us if you have any questions.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
(2020-05-26, 04:28)Karellen Wrote: 1. Your "Guide" link is being hijacked.
2. Koditips is banned from this forum due to their promotion of piracy enabled add-ons
Oh sorry... i did not know about that, fixed to point on a post i found on the forums. Thanks for letting me know Smile
Reply
#6
Actually the API Key Instructions are in Post #3 of the Official YouTube thread here (since 2017): https://forum.kodi.tv/showthread.php?tid...pid2681560

And Post #3 now links to the YouTube addon Wiki on GitHub here: https://github.com/jdf76/plugin.video.yo...l-API-Keys

It would be best if you update the link in your post again, because those instructions are no longer valid Smile
If I have helped you or increased your knowledge please click the 'Thumb Up - Like' button to show me your appreciation :)
For YouTube questions see the official thread here.
Reply
#7
Thumbs Up 
(2020-05-26, 09:15)jmh2002 Wrote: Actually the API Key Instructions are in Post #3 of the Official YouTube thread here (since 2017): https://forum.kodi.tv/showthread.php?tid...pid2681560

And Post #3 now links to the YouTube addon Wiki on GitHub here: https://github.com/jdf76/plugin.video.yo...l-API-Keys

It would be best if you update the link in your post again, because those instructions are no longer valid Smile

Thank you, i updated the links to point to the wiki page. Not used to having projects that are this well documented...   Blush
Reply
#8
Thank you so much for making this! Looking forward to the Kodi 18 version.
Reply
#9
Superb! Can't wait for the Leila version!
Reply
#10
Well it looks like the Python2 version has to be completely rewritten in chunks as the syntax is more different than i anticipated, probably not getting much done till Friday...

edit: ^this was a lie btw, turned out i was making it harder than it was...
Reply
#11
Currently stuck at getting my index database working, it loads it just fine but only once... after that it starts throwing errors when attempted to read it again. Also the fact that i lost my apartment and car keys so... i'll be cleaning the house until i find them... 

python:
#This should be working but it isn't!
if os.path.isfile(config_file):
    with open(config_file, u'r') as f:
        CONFIG = json.load(f)
        f.close()
Reply
#12
Good news:
Finally figured out what the problem was(need to read in binary), expect v18 soon, just a few minor bugs left.
Reply
#13
Leia version here:
https://github.com/evantaur/plugin.youtu.../tree/Leia

adding shows should work, refresh is still broken but should be easily fixed, just wanted this out for you guys to test.

edit: refresh should be working again, no more testing for me cause of
"The request cannot be completed because you have exceeded your quota."
Reply
#14
Works great, although there were some issues where episodes were duplicated after i added them. I had to re-scrape the YouTube channels episodes to fix it.
Reply
#15
Leia and Matrix are both v0.0.3 now... this means that basic functions SHOULD be working now, such as adding and managing YouTube channels, and keeping them automatically updated. There are some visual bugs left(leia version list order is quite random for some reason) but i'll fix them in the future.

Tell me if you encounter any problems.
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 10

Logout Mark Read Team Forum Stats Members Help
YouTube to KODI library1