2019-08-23, 10:32
After lots of tinkering I don't think what I'm trying to do is actually possible at the moment but I'm hoping someone can confirm and then maybe I can raise it as a Feature Request.
For some movies and TV shows, I have separate 4K and 1080p versions. There are a couple of reasons for this but the most prominent is that I only have a 4k TV upstairs in the den and the other 2 Kodi machines are 1080p old-ish NUCs which aren't capable of good 4k playback. In order to keep each Kodi instance only showing content it can actually play, I use a Smart Playlist to separate 4K movies from their 1080p counterparts. Something like this works perfectly:
Another Smart Playlist then simply lists all movies that aren't in the above playlist. TV Shows on the other hand don't seem to allow this. Firstly, there's no option to look at filenames for TV and I understand why that is, a single TV show will reference multiple files and may include a mix of formats making this messy. There is a "path" option though and I thought this would do the trick but unfortunately not. If I leverage the 'path' field like so:
I get some of the results back correctly but not all. As long as the 4k version of the show is the only version in my library, it shows up. If there's a 1080p version as well though, that show does not appear in the playlist above. I think this thread is asking the same question but it went unanswered. This is an issue on Windows and Linux and is the same from Krypton through to the current Matrix nightlies. Can anyone shed any light on this? Thanks!
For some movies and TV shows, I have separate 4K and 1080p versions. There are a couple of reasons for this but the most prominent is that I only have a 4k TV upstairs in the den and the other 2 Kodi machines are 1080p old-ish NUCs which aren't capable of good 4k playback. In order to keep each Kodi instance only showing content it can actually play, I use a Smart Playlist to separate 4K movies from their 1080p counterparts. Something like this works perfectly:
xml:<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>4K & HDR Movies</name>
<match>one</match>
<rule field="filename" operator="contains">
<value>2160p</value>
</rule>
<rule field="filename" operator="contains">
<value>HDR</value>
</rule>
<group mixed="true">sets</group>
<order direction="ascending">title</order>
</smartplaylist>
Another Smart Playlist then simply lists all movies that aren't in the above playlist. TV Shows on the other hand don't seem to allow this. Firstly, there's no option to look at filenames for TV and I understand why that is, a single TV show will reference multiple files and may include a mix of formats making this messy. There is a "path" option though and I thought this would do the trick but unfortunately not. If I leverage the 'path' field like so:
xml:<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>4K TV</name>
<match>one</match>
<rule field="path" operator="startswith">
<value>smb://192.168.0.3/4K/TV/</value>
</rule>
<order direction="ascending">title</order>
</smartplaylist>
I get some of the results back correctly but not all. As long as the 4k version of the show is the only version in my library, it shows up. If there's a 1080p version as well though, that show does not appear in the playlist above. I think this thread is asking the same question but it went unanswered. This is an issue on Windows and Linux and is the same from Krypton through to the current Matrix nightlies. Can anyone shed any light on this? Thanks!