Elementum is able to integrate with Kodi‘s library. Using the library is a great way to keep all your favorite shows and movies organized on your device. Enabling library integration allows Elementum to periodically check for new episodes of the shows in your library.
In this guide, we are going to integrate Elementum with the library. If you need help installing Elementum please read How to install Elementum on Kodi before continuing.
Table of contents
Elementum library files and folders
To use the library you’ll need two folders, one for your movies and another one for your shows. These folders are used to store small .strm files that contain instructions for the add-on, they won’t store video files.
By default, Elementum creates these two folders inside Kodi’s cache folder, the location of this folder is different depending on the OS you’re using.
- Windows Desktop: %APPDATA%\Kodi\cache\elementum_library
- Windows Store: %LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\cache\elementum_library
- Linux: $HOME/.kodi/cache/elementum_library
- OSx: /Users/<user_name>/Library/Application Support/Kodi/cache/elementum_library
- Android: <data | sdcard | storage>/Android/data/org.xbmc.kodi/files/.kodi/cache/elementum_library
- OpenELEC: /storage/.kodi/cache/elementum_library
In this guide, we’re going to use Elementum’s default location but you can create your own library folders if you want to.
Linking Elementum folders to the library
Let’s link the shows folder to the library.
1. Start Kodi and go to the Add-ons tab. Open the Context menu on Elementum and select Settings. (use C on the keyboard, long-press on touch devices, right-click on the mouse or the menu key on the remote to open the Context Menu.)
2. Scroll down on the General tab to the Library section and press Open directory with Kodi file browser.
If you’ve created your own folders for the library, use Library path to point to your custom location before opening the directory with Kodi file browser.
3. Now open the Context menu on the Shows folder and select Set content.
4. Set the folder’s content type. Click on This directory contains and select TV Shows. Press OK to continue.
5. Select Yes to refresh the information.
Now that the shows folder is linked to the library, whenever you add a show to the library the new show will appear in the TV Shows tab on the Home screen.
Repeat the process to link the Movies folder to the library too.
Adding items to the library using Elementum
Now let’s add some items to the library. In this example, we’ll be adding TV shows but the process is the same for movies.
6. Open Elementum.
7. Select TV Shows.
8. Select Trending.
9. Open the Context Menu on an item and select Add to Library. (use C on the keyboard, long-press on touch devices, right-click on the mouse or the menu key on the remote to open the Context Menu.)
Elementum will create .strm files for each episode and save them in the library folder, it’ll also rescan the folders and update the library. It might take a couple of minutes for shows with many seasons. Go ahead and add a couple of shows to your library.
10. Go back to the Home Screen and highlight the TV Shows tab to see an overview of your library.
Now that the library is enabled, Elementum will periodically check for new episodes and update the library. To manually re-scan library folders open the Context Menu on Elementum and select Settings > Kodi Library tab > Update library.
You can also access your Trakt account and synchronize your collection with the library using Elementum, please read How to use Trakt with Elementum for more information.
If you want to use subtitles with Elementum with please read How to enable automatic subtitles on Kodi.