Kodi Playlist Files
The multimedia program Kodi features three kinds of playlists: Basic, Smart and Party Mode. Here, we're going to briefly discuss each one, what the files look like and where the playlist files are stored.
Basic playlists are text files with an extension of .m3u. They list titles and the paths to the files. Here is an example file:
#EXTINF:0,01. Train - She's On Fire M:\Music\Train\Drops Of Jupiter\01 Train - She's On Fire.mp3 #EXTINF:0,01. The Turtles - Happy Together M:\Music\The Turtles\Save The Turtles - The Turtles Greatest Hits\01 - Happy Together.mp3
You can shuffle and repeat titles in a Basic playlist by using the sidebar menu found on the left side of the screen in most skins.
Smart playlists are XML files with an extension of .xsp that give you the ability to play titles from the Kodi library (already added to the Kodi database) filtered on a number of criteria using a number of sorting options. Here is an example file:
<xml version="1.0" encoding="UTF-8" standalone="yes" ?> <smartplaylist type="songs"> <name>Sample Smart Playlist</name> <match>one</match> <rule field="title" operator="is"> <value>She's On Fire</value> </rule> <rule field="title" operator="is"> <value>Happy Together</value> </rule> <order direction="ascending">random</order> </smartplaylist>
The last kind of playlist, Party Mode, is one that's automatically provided and pulls titles from the Kodi library. There are no files for Party Mode although you can direct how Party Mode works by using an XML file. Please see the Kodi Wiki for information on the Party Mode XML file.
A more in-depth discussion can be found on the official Kodi wiki which can be found here:
About Steve Cooper
Steve Cooper is an applications software developer who also builds custom home media solutions. His interests include reading, music & movies, guitar, woodworking and motor racing.
Steve Cooper's full author bio and article archive...