• 1
  • 14
  • 15
  • 16(current)
  • 17
  • 18
  • 24
Beta Youtube Library
Sleuteltje,

Here you go.

<setting id="api_language" value="en" />
<setting id="api_language2" value="none" />
<setting id="api_language3" value="none" />
<setting id="api_token" value="" />
<setting id="debugmode" value="true" />
<setting id="default_episode" value="default" />
<setting id="default_excludewords" value="" />
<setting id="default_generate_nfo" value="true" />
<setting id="default_genre" value="" />
<setting id="default_maxlength" value="" />
<setting id="default_minlength" value="" />
<setting id="default_movies_excludewords" value="" />
<setting id="default_movies_generate_nfo" value="true" />
<setting id="default_movies_genre" value="" />
<setting id="default_movies_imdb_match_cutoff" value="75" />
<setting id="default_movies_maxlength" value="" />
<setting id="default_movies_minlength" value="" />
<setting id="default_movies_onlygrab" value="5000" />
<setting id="default_movies_onlyinclude" value="" />
<setting id="default_movies_removedescription" value="" />
<setting id="default_movies_removetitle" value="" />
<setting id="default_movies_search_imdb" value="2" />
<setting id="default_movies_set" value="" />
<setting id="default_movies_smart_search" value="true" />
<setting id="default_movies_stripdescription" value="" />
<setting id="default_movies_striptitle" value="" />
<setting id="default_movies_tags" value="Youtube" />
<setting id="default_movies_update_gmt" value="Default" />
<setting id="default_movies_updateat" value="23:59" />
<setting id="default_movies_updateevery" value="every 168 hours" />
<setting id="default_movies_use_ytimage" value="0" />
<setting id="default_musicvideo_album" value="video title and description" />
<setting id="default_musicvideo_album_fallback" value="hardcoded" />
<setting id="default_musicvideo_album_hardcoded" value="Unknown" />
<setting id="default_musicvideo_artist" value="video title and description" />
<setting id="default_musicvideo_artist_fallback" value="do not add" />
<setting id="default_musicvideo_artist_hardcoded" value="" />
<setting id="default_musicvideo_excludewords" value="" />
<setting id="default_musicvideo_generate_nfo" value="true" />
<setting id="default_musicvideo_genre" value="hardcoded" />
<setting id="default_musicvideo_genre_fallback" value="do not add" />
<setting id="default_musicvideo_genre_hardcoded" value="" />
<setting id="default_musicvideo_maxlength" value="" />
<setting id="default_musicvideo_minlength" value="" />
<setting id="default_musicvideo_onlygrab" value="5000" />
<setting id="default_musicvideo_onlyinclude" value="" />
<setting id="default_musicvideo_plot" value="video description" />
<setting id="default_musicvideo_plot_fallback" value="video description" />
<setting id="default_musicvideo_plot_hardcoded" value="" />
<setting id="default_musicvideo_removedescription" value="" />
<setting id="default_musicvideo_removetitle" value="" />
<setting id="default_musicvideo_skip_albums" value="true" />
<setting id="default_musicvideo_skip_audio" value="true" />
<setting id="default_musicvideo_skip_live" value="true" />
<setting id="default_musicvideo_skip_lyrics" value="true" />
<setting id="default_musicvideo_song_fallback" value="video title" />
<setting id="default_musicvideo_stripdescription" value="" />
<setting id="default_musicvideo_striptitle" value="" />
<setting id="default_musicvideo_tags" value="Youtube" />
<setting id="default_musicvideo_update_gmt" value="Default" />
<setting id="default_musicvideo_updateat" value="23:59" />
<setting id="default_musicvideo_updateevery" value="every 168 hours" />
<setting id="default_musicvideo_year" value="video title and description" />
<setting id="default_musicvideo_year_fallback" value="published year" />
<setting id="default_musicvideo_year_hardcoded" value="" />
<setting id="default_onlygrab" value="5000" />
<setting id="default_onlyinclude" value="" />
<setting id="default_removedescription" value="" />
<setting id="default_removetitle" value="" />
<setting id="default_season" value="year" />
<setting id="default_stripdescription" value="" />
<setting id="default_striptitle" value="" />
<setting id="default_tags" value="Youtube" />
<setting id="default_update_gmt" value="Default" />
<setting id="default_updateat" value="23:59" />
<setting id="default_updateevery" value="every 12 hours" />
<setting id="download_images" value="true" />
<setting id="enable_donor" value="false" />
<setting id="mode" value="1" />
<setting id="movies_folder" value="special://profile/userdata/addon_data/plugin.video.youtubelibrary/Streams/Movies" />
<setting id="musicvideo_folder" value="special://profile/userdata/addon_data/plugin.video.youtubelibrary/Streams/MusicVideos" />
<setting id="notify_update" value="true" />
<setting id="resume_playback" value="true" />
<setting id="service_interval" value="720" />
<setting id="strm_link" value="Youtube Library" />
<setting id="tv_folder" value="special://profile/userdata/addon_data/plugin.video.youtubelibrary/Streams/TV" />
<setting id="update_videolibrary" value="true" />
Reply
(2016-11-24, 00:09)bobbie digital Wrote: Sleuteltje,

Here you go.
.....
Not that settings.xml, the settings.xml located next to your settings_musicvideos.xml & settings_movies.xml. In the Settings directory where you found this one Wink.

Also, please post the log on a place like pastebin and paste the link here to not clutter up the forum. Or at least put it inside a [ code ] [ /code] tag
Author of Youtube Library | youtubelibrary.nl
YTLibrary lets you add yt channels / playlists to the Kodi Library as if it were tv shows, musicvideos or movies

Want to help?
-translations
-your config
-webhost costs (0%)
contact me
Reply
Sleuteltje,

As requested settings.xml on pastebin.

http://pastebin.com/awY1RaX6
Reply
It seems that 0.9.8.1 does not run from a profile. I think vars.py has incorrect default paths defined viz:
Code:
60  -addondataPath = os.path.join(xbmc.translatePath('special://profile/userdata/addon_data/plugin.video.youtubelibrary'), '')
61  -settingsPath = os.path.join(xbmc.translatePath('special://profile/userdata/addon_data/plugin.video.youtubelibrary/Settings'), '')
62  -streamsPath = os.path.join(xbmc.translatePath('special://profile/userdata/addon_data/plugin.video.youtubelibrary/Streams'), '')
60  +addondataPath = os.path.join(xbmc.translatePath('special://profile/addon_data/plugin.video.youtubelibrary'), '')
61  +settingsPath = os.path.join(xbmc.translatePath('special://profile/addon_data/plugin.video.youtubelibrary/Settings'), '')
62  +streamsPath = os.path.join(xbmc.translatePath('special://profile/addon_data/plugin.video.youtubelibrary/Streams'), '')

scott s.
.
Reply
(2016-11-22, 01:28)Sleuteltje Wrote: Yeah, thats no problem. Thats where the issue tracker in the repo is for Wink. Is your donor account working btw Ridayah?

It's up and it's working great! Some awesome playlists you've added. And your work is being an inspiration on a coding project of my own, actually!
Reply
have some issues with the plugin:

As soon as there is a german Umlaut in the channel Name the plugin does not work it throws an error after selecting the channel with äöü

is there workarround for that?

2. getting an error when I try to update vevo as a music channel :

14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: ( ._.)~~~~~~~~~~ DONE GRABBING VIDS FROM YOUTUBE FOR :Vevo ~~~~~~~~~~(._. )
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary::::::::
14:26:38 T:546213011680 NOTICE: Previous line repeats 2 times.
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: episode_exists(UU2pmfLm7iq6Ov1UwYrWYkZA, yPneV7999Ts, type=musicvideo)
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: XML_get_elem(musicvideo)
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: playlist_XML_get(musicvideo)
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: episode yPneV7999Ts is not yet present in musicvideo file
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: get_songinfo(These Are The Breaks[yPneV7999Ts])
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: loaded settings
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: New title after strip_album: These Are The Breaks
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: Vid title after strip_album: These Are The Breaks
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: (o.o) - Video Kind: song
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: Vid title after stripping quality: These Are The Breaks
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: Vid title after stripping lyrics: These Are The Breaks
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: Vid title after stripping live: These Are The Breaks
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: Vid title after stripping audio: These Are The Breaks (These Are The Breaks)
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: finding the year...
14:26:38 T:546213011680 NOTICE: Previous line repeats 1 times.
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: find_artist_song_description() Found Artist - Song 2nd: Various Artists - These Are The Breaks
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: Artist - Song atm: Various Artists - These Are The Breaks
14:26:38 T:546213011680 NOTICE: MICHS YoutubeLibrary:::::::: Artist - Song determined: Various Artists - These Are The Breaks
14:26:38 T:546213011680 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'lower'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.youtubelibrary/addon.py", line 82, in <module>
routes.run_service()
File "/storage/.kodi/addons/plugin.video.youtubelibrary/resources/lib/routes.py", line 36, in run_service
service.update_playlists('musicvideo') #Update musicvideos as well
File "/storage/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 183, in update_playlists
update_playlist(child.attrib['id'], type=type) #Update the nfo & strm files for this playlist
File "/storage/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 221, in update_playlist
if update_playlist_vids(id, folder, settings, type=type) == False:
File "/storage/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 376, in update_playlist_vids
musicvideo_info = generators.get_songinfo(vid, settings, duration = duration[vid['contentDetails']['videoId']])
File "/storage/.kodi/addons/plugin.video.youtubelibrary/resources/lib/generators.py", line 407, in get_songinfo
if song.lower().strip(' \t\n\r') == setting_artist_hardcoded.lower().strip(' \t\n\r'):
AttributeError: 'NoneType' object has no attribute 'lower'
-->End of Python script error report<--

Can anybody help me whats wrong with it?

3, is in Youtube Library somehow possible to download automatically the videos via youtube_dl?

As it builds up a perfect seaons setup locally but as far as I see it needs to be online to play the video

so a Download option would be perfect!

Thanks in advance
Reply
like lotust7 states above. Getting errors adding ANY music videos from youtube.
Reply
I have tried this on Windows and Android and I cannot get it to work. I get Youtube Library Error. Check log file.
Here is the link to the logfile http://tinyurl.com/zmv2kfb
Reply
Seems any video which has been taken down due to copyright claim causes the addon to crash:

Code:
13:41:15 T:140391257356976  NOTICE: MICHS YoutubeLibrary:::::::: episode_exists(PL1DAB096585E18327, jgd8mZZa-HE, type=)
13:41:15 T:140391257356976  NOTICE: MICHS YoutubeLibrary:::::::: XML_get_elem()
13:41:15 T:140391257356976  NOTICE: MICHS YoutubeLibrary:::::::: playlist_XML_get()
13:41:15 T:140391257356976  NOTICE: MICHS YoutubeLibrary:::::::: episode jgd8mZZa-HE is not yet present in episodenr file
13:41:15 T:140391257356976   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: (u'jgd8mZZa-HE',)
                                            Traceback (most recent call last):
                                              File "/config/.kodi/addons/plugin.video.youtubelibrary/addon.py", line 82, in <module>
                                                routes.run_service()
                                              File "/config/.kodi/addons/plugin.video.youtubelibrary/resources/lib/routes.py", line 35, in run_service
                                                service.update_playlists()
                                              File "/config/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 183, in update_playlists
                                                update_playlist(child.attrib['id'], type=type) #Update the nfo & strm files for this playlist
                                              File "/config/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 221, in update_playlist
                                                if update_playlist_vids(id, folder, settings, type=type) == False:
                                              File "/config/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 354, in update_playlist_vids
                                                if int(minlength) > int(duration[vid['contentDetails']['videoId']]):
                                            KeyError: (u'jgd8mZZa-HE',)
                                            -->End of Python script error report<--

The video in question: https://www.youtube.com/watch?v=jgd8mZZa-HE

Is it possible to implement some error handling that skips the video rather than crashing the addon?
Reply
while creating a video addon is there a way you can put a youtube playlist into the video addon i tried many time but i cant seem to get it need help anybody willing to share
Reply
Over the past few days the majority of videos being played via YouTube Library no longer have any audio - video is fine.

Anyone else experiencing this?
Reply
autiflex I occasionally see this too but certainly not on the majority of videos.
Reply
Hi,

Is this plugin still being maintained?

I have a few errors when trying to add some channels as TV Shows (VICE for example).

If its is still being maintained I can provide logs.

Thanks
Reply
(2017-08-25, 09:21)dan_jericho Wrote: Hi,

Is this plugin still being maintained?

I have a few errors when trying to add some channels as TV Shows (VICE for example).

If its is still being maintained I can provide logs.

Thanks
Well, yes and no.

This addon has taken a lot of my time and the community driven aspect has fallen out lower then i have hoped.
Then Life got me down with some personal stuff which got me depressed Sad. So I needed to put all my time in maintaining my company and really had no energy left to spend on my open-source projects like this. Luckily i'm finding myself in a better place in life now, so I have been thinking about picking this project back up.

I'm considering dropping this addon all together and build something new in the place of it. I still believe in the power of the concept of this addon, but this was my first python script & kodi addon, and it was entirely build upon Kodi. I'm thinking of building a webapplication based on this concept, which will work in your browser without Kodi. And writing a complimentary Kodi addon for the webapp, so you can scrape your youtube playlists to your Kodi Library just like you do now. The biggest difference would be that you would setup the playlists on the website and not in the addon like you do now.
It will also provide some other benefits:

- Since users fill their setups in on the website, i can automatically build a community list of predefined content.
- Since users need to setup an account on the website, I will have better view on my active user statistics.
- I can start to build a community
- The predefined content would be community curated
- I can build UI-friendly more easily.
- Entry level to use is lower
- Bigger possible target audiance

So people, let me know if you think this would be a good idea.


To get back at your question dan_jericho, if you post me the log (dont put the entire log in your message, post a hyperlink here) i can take a look if its easily fixed. But i'm not planning atm to do major overhauls to the addon.
Author of Youtube Library | youtubelibrary.nl
YTLibrary lets you add yt channels / playlists to the Kodi Library as if it were tv shows, musicvideos or movies

Want to help?
-translations
-your config
-webhost costs (0%)
contact me
Reply
Hi,

Here is where it is failing. For the moment I have commented out this line which returns the channel without the playlists.

Code:
01:39:56.520 T:140201706743552  NOTICE: script.module.youtube.dl: youtube_dl core version: 2017.07.09
01:39:59.148 T:140201706743552   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('high',)
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.youtubelibrary/addon.py", line 126, in <module>
                                                routes.show_playlists_by_channel(id, type=type, pagetoken=pagetoken)
                                              File "/storage/.kodi/addons/plugin.video.youtubelibrary/resources/lib/routes.py", line 224, in show_playlists_by_channel
                                                dev.adddir(title, url, playlist['snippet']['thumbnails']['high']['url'], fanart=playlist['snippet']['thumbnails']['high']['url'], description=dev.lang(31010)+' '+dev.typeName(type)+' \n--------\nPlaylist Description:\n'+playlist['snippet']['description'])
                                            KeyError: ('high',)
                                            -->End of Python script error report<--
01:39:59.359 T:140204726949568   ERROR: GetDirectory - Error getting plugin://plugin.video.youtubelibrary/?id=UCVrvnobbNGGMsS5n2mJwfOg&mode=pickedChannel&pagetoken=default&type
01:39:59.399 T:140204726949568   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtubelibrary/?id=UCVrvnobbNGGMsS5n2mJwfOg&mode=pickedChannel&pagetoken=default&type) failed

I think this is a great plugin. Combined with Esturay Mod v2 and custom playlists, it allowed me to curate my favourite youtube content on the home screen.

e.g. Ive added the Vice Channel, then created a kodi playlist to return all 'Vice on HBO' from the TV Show generated by Youtube Library. Hey Presto, a Vice on HBO addon without the need for an actual addon Smile

This addon is a lot more powerful than I suspect most people realise.

Thanks
Reply
  • 1
  • 14
  • 15
  • 16(current)
  • 17
  • 18
  • 24

Logout Mark Read Team Forum Stats Members Help
Youtube Library3