Home / Projects / Kodi - our movie library on the TV

Kodi - our movie library on the TV

16 October 2025Rafael44p

The movies are on the NAS - now get them on the TV

All our movies live on the TrueNAS SCALE server in a shared folder that everyone may watch but nobody may change. Kodi is the free, open-source media center that turns that folder into a proper movie library on the TV: posters, descriptions, "continue watching", and everything playable with the remote.

The Kodi home screen with the menu for Movies, TV shows, Music, TV, Radio, Add-ons, Pictures, Videos and Weather, and rows of in-progress and recently added movie posters
Kodi's home screen: in-progress and recently added movies, with the posters fetched automatically (Kodi example screenshot).

Guide: a network movie library in Kodi

1. A read-only account for the TV

On the NAS, the movies share is read-only for normal users. The TV gets its own account with read access only, so even a confused remote can never delete a movie.

2. Add the network share

In Kodi: Videos > Files > Add videos... > Browse > Add network location...

  • Protocol: Windows network (SMB).
  • Server: the NAS's IP address.
  • Shared folder: movies.
  • Username and password: the read-only TV account.
Kodi's Browse for new share dialog with options for NFS, UPnP devices, Windows network (SMB), Zeroconf browser and Add network location
"Add network location..." is where the SMB share from the NAS goes in.

3. Tell Kodi it contains movies

After choosing the share, set This directory contains to Movies and keep the default scraper. Kodi scans the folder and fetches the poster, artwork, plot and cast for every film.

4. Name the files so the scraper finds them

The scraper works best with one folder or file per film named Title (Year), for example The Little Prince (2015).mkv. Badly named files are the number one reason a movie shows up without a poster.

5. Keep the library up to date

Turn on Settings > Media > Library > Update library on startup, so new movies copied to the NAS appear on the TV the next time Kodi starts.

Part of a bigger picture

Kodi runs on the old TV that I debloated and connected to Home Assistant, so the whole chain is my own: the files on my server, the media center on the TV, and the TV itself controllable from the Home Assistant app.

« Owncast - my own live-streaming server Debloating a TCL Google TV »