Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Bug Smart Playlist Duration broken
#1
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
Reply
#2
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).
Reply
#3
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.
Reply
#4
For completeness I also created a GitHub issue.
https://github.com/xbmc/xbmc/issues/24723
Reply

Logout Mark Read Team Forum Stats Members Help
Smart Playlist Duration broken0