Kodi Integration Guide
Complete guide for integrating Youtarr with Kodi media center.
Table of Contents
- Overview
- Library Setup
- Metadata Configuration
- Multi-Library Organization
- Playlist Files (.m3u)
- File Structure
- Troubleshooting
Overview
Youtarr provides comprehensive Kodi support through:
- NFO metadata files for each video
- Channel poster artwork (poster.jpg)
- Proper folder organization
- Full metadata including descriptions, dates, and tags
- Multi-source support for content organization
Library Setup
Step 1: Add Video Source
- Navigate to Videos → Files → Add videos...
- Browse to your Youtarr download directory
- Enter a name for this media source (e.g., "YouTube")
Step 2: Set Content Type
When prompted for content type:
- Select Movies as the content type
- Choose information provider:
- Recommended: Local information only
- Alternative: Local NFO files (if available as option)
Step 3: Configure Scraper Settings
Configure the following settings:
- Movies are in separate folders that match the movie title: Yes
- Scan recursively: Yes
- Selected folder contains a single video: No
- Exclude path from library updates: No
Metadata Configuration
NFO Support
Youtarr generates comprehensive NFO files containing:
- Title: Video title with channel prefix
- Plot: Full video description
- Premiered: Original YouTube upload date
- Year: Upload year
- Studio: Channel name
- Genre: YouTube categories
- Tag: Video keywords (all of them; only the embedded MP4 metadata caps keywords at 10)
- Runtime: Video duration in minutes
- Uniqueid: YouTube video ID
Poster Artwork
Channel posters (poster.jpg) are:
- Automatically generated for each channel
- Displayed in folder view
- Used as fallback artwork
- Updated when channel avatar changes
Metadata Settings
In Kodi settings:
- Enable: Use folder names for lookups
- Disable: All online scrapers
- Enable: Prefer local information
Multi-Library Organization
Creating Multiple Sources
Organize content by type using subfolders:
-
Add separate video sources for each subfolder:
Source 1: "YouTube - Kids" → /path/to/youtube/__kids
Source 2: "YouTube - Music" → /path/to/youtube/__music
Source 3: "YouTube - General" → /path/to/youtube -
Configure each source independently:
- Kids: Family-friendly settings
- Music: Music visualization options
- General: Standard video settings
Benefits of Multiple Sources
- Organization: Easy navigation to specific content
- Permissions: Different access levels per source
- Views: Custom view modes per content type
- Scanning: Faster updates for specific sources
Playlist Files (.m3u)
Youtarr doesn't push native playlists into Kodi the way it does for Plex, Jellyfin, and Emby. If you subscribe to YouTube playlists, Youtarr writes a standard .m3u file for each one into a __playlists__ folder next to your videos. Import that file as a playlist source in Kodi to get the same list. See Media Server Playlists for details.
Channels can also write their own .m3u: enable "Generate channel playlist file (.m3u)" in a channel's settings and Youtarr writes a <Channel Name>.m3u at the top of that channel's folder, importable into Kodi the same way.
File Structure
See docs/YOUTARR_DOWNLOADS_FOLDER_STRUCTURE.md
Troubleshooting
Videos Not Appearing
Problem: Videos don't show in library after scanning
Solutions:
- Verify content type is set to "Movies"
- Check that NFO files exist:
find /path/to/youtube -name "*.nfo" | head -5 - Clean and rescan library
- Check Kodi log for errors
Metadata Not Displaying
Problem: Videos appear but without descriptions/details
Solutions:
- Confirm NFO support is enabled
- Verify NFO file format:
cat "video.nfo" | head -20 - Check scraper is set to "Local information only"
- Refresh individual items
Poster Issues
Problem: Channel posters not showing
Solutions:
- Verify poster.jpg exists in channel folders
- Check image permissions and format
- Clear thumbnail cache and rescan
- Try different view mode
Special Characters
Problem: Titles with special characters display incorrectly
Solutions:
- Ensure Kodi language is set correctly
- Check NFO encoding (should be UTF-8)
- Verify filesystem supports Unicode
- Update Kodi to latest version
Duplicate Entries
Problem: Videos appear multiple times
Solutions:
- Check for duplicate source paths
- Clean library before rescanning
- Verify no symbolic links causing loops
- Remove and re-add source