Kodi Community Forum
Bug Smart Playlist Duration broken - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Bug Smart Playlist Duration broken (/showthread.php?tid=376293)



Smart Playlist Duration broken - Rouzax - 2024-02-16

I can't seem to create a Smart Playlist to filter out episodes that are shorter than 35 minutes

It look to be an issue if you have more than 1 rule, even when I set Match All

This doesn't work
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
    <name>Short TV Shows</name>
    <match>all</match>
    <rule field="playcount" operator="is">
        <value>0</value>
    </rule>
    <rule field="time" operator="lessthan">
        <value>35:00</value>
    </rule>
</smartplaylist>
Image

This does work
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
    <name>Short TV Shows</name>
    <match>all</match>
    <rule field="time" operator="lessthan">
        <value>35:00</value>
    </rule>
</smartplaylist>
Image


RE: Smart Playlist Duration broken - PatK - 2024-04-08

I can confirm some issue with playlists atm, the work-round would be to place rules for each in separate playlists, and combine in a third. (not nice, stay tuned).


RE: Smart Playlist Duration broken - beeswax - 2024-04-11

I mentioned in the other Smart Playlists thread already but even with only the "Time" field in an XSP, this query doesn't work for me at all, it pulls back most episodes in my database, first one at the top of the list being s01e01 of the show "24" - which is over 42 mins.


RE: Smart Playlist Duration broken - Rouzax - 2024-04-26

For completeness I also created a GitHub issue.
https://github.com/xbmc/xbmc/issues/24723