Beta Youtube Library - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Beta Youtube Library (/showthread.php?tid=246110) |
Youtube Library - Sleuteltje - 2015-11-03 YoutubeLibrary 0.9.9.1 Youtube Library now has its own site: YoutubeLibrary.nl. Check it out! You can get pre-configured playlists there! Donors can even load those pre-configured playlists within the addon! What does it do? Youtube Library is an addon that allows you to add Youtube Channels / Playlists to your Kodi Library as if it were TV Shows / Music Videos or Movies! For a clearer picture, you can watch the video below. If you're really impatient, the endresult is at 1:38. Demonstration / How to use Download Youtube Library and in Kodi go to: System -> Addons -> Install from zip to enable the repository. Then you can choose "Install from repository" and Youtube Library will auto-update from now on! Why isnt the youtube video working :S?: https://www.youtube.com/watch?v=2jXB5p4oAww Youtube Library on Github Changelog: Code: 0.9.9.1: Features - Able to automatically download or stream videos to the Kodi Tv shows / Music Video / Movies Library with metadata! - Creates NFO & STRM files (tvshow.nfo & [ep].nfo, [ep].strm) (artist.nfo & [song].nfo, [song].strm) - Grabs/downloads artwork (fanart, banner, thumbnail) for the (youtube) tvshow (you can edit these images easily) - Grabs artwork (thumbnail) for each episode - Grabs/downloads artwork (fanart, banner, thumbnail) for the (youtube) musicvideos. - Automatically fills in titles & descriptions for tvshow & episodes - Automatically grabs airdate for tvshow & episodes - Can set title for (youtube) tv show - Can set genres for (youtube) tv show - Can set tags for (youtube) tv show - Automatically generates nice looking season numbering (year, number, regex) & episode numbering (default, playlist position, monthday, monthdayhour, monthdayhourminute, number, regex) - Can remove & strip text from titles and descriptions (text, regex) - Only rips videos you dont have yet. Videos already in the library are not rescanned everytime. - Has a Service that will scan new episodes automatically into the library - Plays Youtube Videos (max. 720p now) - Marks episodes as watched automatically - Remembers where you ended the episode, so you can choose to resume the video - Supports PseudoTV Live - Filters to skip videos from the playlist / channel you don't want. - Automatic recognition of album, artist, featured artist, year & song title. - Match movies on IMDB - A whole lot more! Known Bugs / Limitations - Videos are max. 720p, even if higher resolutions are available - No subtitle support - It's possible you don't get new episodes if the order of the playlist is not (exactly) newest > oldest. (with oldest > newest, you will most certainly not recieve new videos. Blame Google for not including a sort-by-date option) - Episode sorting option 'pos' is broken Possible / Planned Features (no promises, just possible features i thought off) - Tags (Added in v0.9.4) - 1080p+ support - Subtitles support - Music Videos Support (Added in v0.9.5) - Music Support - (Legal) movie support (Added in v0.9.8) - Support to add your own playlists (with authentication) - Vevo.com support (better information about artistinfo and such, plus 1080p playback) Donate Features (You will always be able to get the same endresults with the non-donate addon) - Developer List (Pre-configured and organised youtube channels to add) (Added in v0.9.7) Left to do before V1.0 - Localise all strings - Perhaps a submit playlist to community list option How can you help? You can help out by reporting bugs and showing your support! Help with programming & translating in your language is very much welcome! Sending me tips of great channels is also appreciated . You can also donate a few bucks so I can pay for hosting and make YTlibrary even greater! Donate for hosting costs [Goal: €24,- a year: Reached: €0 (0%)] (Unfortunatly paypal takes a cut.) RE: Youtube Library - Sleuteltje - 2015-11-03 This software is currently BETA and is the first Kodi addon I've ever written. So bugs are to be expected during this test fase. Please report bugs and supply feedback . Please use common sense when adding new channels. For example, IGN has 100.000+ videos on its channel. Not only will such a task use up many of my quota and much of your cpu, but do you really want 100.000 IGN episodes in your tv show library? Addon Settings(as of v0.9.5) General Download Images : Off: Only put links in tvshow.nfo. On: downloads folder.jpg, banner.jpg & fanart.jpg to directory. Resume Playback: On: on playback gives an option to return viewing at the point of stop. Play videos from library with: Youtube Library: plays using this addon. Official Kodi Addon: plays using official Kodi addon. (Resume playback wont work anymore using this option) Debug Mode: On: logs debug information into the log (needed for bug reporting here) Mode: Basic: Only basic functions are shown. Normal: Most options are shown. Expert: All options are shown. Library Settings Scan for new video every X hours: Scans for new videos to add every X hours Update video library after updating new youtube vids: On: After scanning for new videos, will tell Kodi to update the folder containing the newly added episodes. Tv shows directory: The directory the episodes will be saved in. (This is the folder you need to add as a video source in Kodi under Video -> Files. Set the type of source to Tv Shows and the scraper to "Local information only") Music Videos directory: The directory the Music Videos will be saved in. (This is the folder you need to add as a video source in Kodi under Video -> Files. Set the type of source to Music Videos and the scraper to "Local information only" and enable "Scan Recursively" ) Default TV Shows Settings .....: When adding a new playlist, whichever option is set here, will be set as default for the newly added playlist Default MusicVideo Settings When adding a new playlist, whichever option is set here, will be set as default for the newly added playlist: Tags: If you would like to add tags to your Music Video, put them here. Multiple tags can be seperated with /. So tag1 / tag2 will create 2 tags. Skip Audio Only Videos: Attempts to skip video's that only have the audio clip of the song, and not a videoclip / live or lyric video. Skip Lyric Videos: Attempts to skip video's that are lyric videos. Skip Live Videos: Attempts to skip video's that are Live versions of the song. Skip Album Videos: Attempts to skip videos that are an complete album. Genre: How the addon should attempt to recognize the genre. Only option is hardcoded at the moment. Genre Fallback: If the above has failed, this is the fallback the addon will use to still recognize a genre. Genre Hardcoded: This will be used if the hardcoded option in Genre or Genre Fallback is used. For multiple genres, use a /. So genre1 / genre2 will create 2 genres. However genre1/genre2 will not. Song Fallback: If the addon should fail to recognize a songtitle in the video, this will be used as the fallback to still recognize a song title. -- Video Title: The title of the video. -- Do not add: Do not add this video Artist: How the addon should attempt to recognize the artist. -- Video title and description: Attempts to recognize the artist from the video title and/or description text. -- Playlist channelname: Uses the title of the playlist in this addon as the artist. -- Video channelname: Uses the name of the channel who uploaded the video as the artist. -- Hardcoded: Uses the setting Artist Hardcoded as the artist. Artist Fallback: If the above has failed, this is the fallback the addon will use to still recognize a artist. Artist Hardcoded: This will be used if the hardcoded option in Artist or Artist Fallback is used. Album: How the addon should attempt to recognize the album. -- Video title and description: Attempts to recognize the album from the video title and/or description text. -- Published year: Uses the year the video was uploaded as the name of the album. -- Hardcoded: Uses the setting Album Hardcoded as the album. Album Fallback: If the above has failed, this is the fallback the addon will use to still recognize an album. Album Hardcoded: This will be used if the hardcoded option in Album or Album Fallback is used. Plot: How the addon should attempt to recognize the plot (description of musicvideo). -- Lyrics in video description: Attempts to only grab lyrics from the description. -- Video Description: Uses the description of the video as the plot. -- Playlist Description: Uses the description of this playlist as it is in this addon as the plot. -- Hardcoded: Uses the setting Plot Hardcoded as the plot. Plot Fallback: If the above has failed, this is the fallback the addon will use to still recognize a plot. Plot Hardcoded: This will be used if the hardcoded option in Plot or Plot Fallback is used. Year: How the addon should attempt to recognize the artist. -- Video title and description: Attempts to recognize the year from the video title and/or description text. -- Published year: Uses the year the video was uploaded as the year of the musicvideo. -- Hardcoded: Uses the setting Year Hardcoded as the year. Year Fallback: If the above has failed, this is the fallback the addon will use to still recognize a year. Year Hardcoded: This will be used if the hardcoded option in Year or Year Fallback is used. Min length: Videos should have this minimum length (HH:MM) to be added. Max length: Videos should be shorter than this max length (HH:MM) to be added. Only include: Only add videos that contain this text in the video title. For multiple use a | to seperate them. So find this|find that will find both 'find this' and 'find that'. Exclude: Don't add videos that contain this text in the video title. For multiple use a | to seperate them. So find this|find that will find both 'find this' and 'find that'. Strip Description: When this text is found, strip this text from the description and all text that follows it. For multiple use a | to seperate them. So find this|find that will find both 'find this' and 'find that'. Remove Description: Remove the found text from the description. For multiple use a | to seperate them. So find this|find that will find both 'find this' and 'find that'. Strip Title: Same as strip description, but for the video title. Remove title: Same as Remove description, but for the video title. Write NFO: If disabled, the addon will not write .nfo files, but .strm files only. .nfo files are needed to scan the files into the Kodi Library, so you probably don't want to disable this . Donor Functions If you are a donor, please fill in these settings to make use of your donor account: Enable Donor Functions: Enable to enable the donor functions API Token: The API token you recieved when registering at youtubelibrary.nl Language: Only playlists matching the language selected will be displayed while browsing pre-configured playlists. Use the other language field to select more then one language you like to see. RE: Youtube Library - Sleuteltje - 2015-11-03 Tutorials: How to install & use Youtube Video Step by step Install & use (by edge06) FAQ - How can I add my own playlists? Did you know that.. .. you can also search for playlists by its url or playlist id? You should always: 1) Make your playlist public 2) Set your playlist to sort by newest added -> oldest added. (or check the box; add new videos on top of playlist) We're gonna use this playlist of mine as an example here: https://www.youtube.com/playlist?list=PLsm1iYQxPUok1tOOFmdiQ__Ny717Ieg3c Method 1 - Searching for the playlist directly 1) Go to the YTlibrary addon in Kodi 2) Choose 'Add new playlist as X' (where X is for example TV Show) 3) Paste the url of the playlist in the search bar (which is in the example: https://www.youtube.com/playlist?list=PLsm1iYQxPUok1tOOFmdiQ__Ny717Ieg3c) 4) Choose the playlist in question (only one should be visible to choose from) 4) Profit! Method 2 - Search playlist by its channel name* *= it could be you need to upload a video before your channel becomes searchable to make this method work. 1) Go to the YTlibrary addon in Kodi 2) Choose 'Add new channel as X' (where X is for example Tv Show) 3) Type the name of your channel (in my case Sleuteltje) in the search box 4) Choose your channel 5) Choose the playlist in question 6) Profit! RE: Youtube Library - dalethefarmer - 2015-11-03 This is cool! RE: Youtube Library - Sleuteltje - 2015-11-03 (2015-11-03, 00:43)dalethefarmer Wrote: This is cool!Thnx, glad you like it ! RE: Youtube Library - locoguano - 2015-11-03 Very nice... RE: Youtube Library - Paranoidjack - 2015-11-03 Really nice add-on. Could do with Android support if possible and the ability to add custom tags to the shows. Deleting the .git folder in the zip allowed it to install on android. edit: getting this error when I launch the addon on Android 5.1 / Kodi 15.2: http://pastebin.com/NJbfkzsb RE: Youtube Library - Sleuteltje - 2015-11-03 (2015-11-03, 04:33)locoguano Wrote: Very nice...Thnx ParanoidJack Wrote:Really nice add-on.Thanks I was hoping it worked on Android already. Will fix that error, thank you for submitting a log file! Nice catch about the tags, didn't thought of that yet. I will implement that feature in a later release. RE: Youtube Library - Sleuteltje - 2015-11-03 (2015-11-03, 16:26)Paranoidjack Wrote: edit: getting this error when I launch the addon on Android 5.1 / Kodi 15.2: http://pastebin.com/NJbfkzsb Could you try version 0.9.1? The error should be gone now. RE: Youtube Library - ederson - 2015-11-04 I needed something like this ! Many Thanks If i got this correctly you add videos to the TV lib only , right ? Are you planning on expanding this and add to the movies and/or music videos ? RE: Youtube Library - Paranoidjack - 2015-11-04 I've tested 0.9.1 version and it's still giving an error: http://pastebin.com/En84KwN7 - fresh install with none of its previous settings. RE: Youtube Library - Sleuteltje - 2015-11-04 (2015-11-04, 11:41)ederson Wrote: I needed something like this ! Many ThanksThnx! Thanks for your feedback! If you see the part "Possible / Planned Features", you see that I've already thought of music videos & movies. I do have some troubling thought tho. There aren't many legal movies to find on Youtube, and the function to add to the movie library could result in many messy library's. So I have to think how such a thing should look. Music videos will most definitly be added. Getting the correct genres from youtube could be troubling tho, and if people add hundreds - thousands of artists to follow, updating the vids could be a challenging task. Music support will maybe be added to (that you will only hear the audio stream), but I have to find a way of splitting the audio from the video without downloading it. Paranoidjack Wrote:I've tested 0.9.1 version and it's still giving an error: http://pastebin.com/En84KwN7 - fresh install with none of its previous settings.A friend of mine lend me an Android Box for testing, I've ordered one for myself to prevent this from happening in the future (I like to support as many users as possible ). The problem is that Kodi on Android runs on Python 2.6 for some reason, instead of Python 2.7 which Kodi runs on on Windows. I'm working on fixing all errors on Python 2.6, but it seems to be quite a task, since many tricks I'm using were only available since Python 2.7. RE: Youtube Library - Sleuteltje - 2015-11-04 Okay, things are working here on the android box here + Kodi 15.2 . It was less work then i anticipated. The only thing that isn't working on Android is the automatic updating of the library, at least on my end. I don't get why (i will look into this later if more people have this problem). So for the episodes to show up in the library, it could be that you should update the library manually. Download Youtube Library v0.9.2 Another thing, when adding the TV folder as a tv-source in Kodi, the "userdata" option was not listed. So I just typed the whole path: (special://userdata/addon_data/plugin.video.youtubelibrary/Streams/TV) Is this something all Android Kodi's have? RE: Youtube Library - Paranoidjack - 2015-11-06 It's working but sometimes it gives this error when updating playlists: http://pastebin.com/QERgTsq9 Writing the files to path: /storage/usbdrive2/kodi/youtube/ Not sure about the "userdata" option; will need to have a look. RE: Youtube Library - DataBass - 2015-11-19 I love the idea, mainly for creating a music video library using YouTube videos but I can not for the life of me get this to install on my raspberry pi 2 running Kodi 15.2. It keeps telling me that it does not have the correct file structure to install. Any suggestions would be greatly appreciated. |