Kodi Community Forum

Full Version: Play smart playlist but get it to resume movies
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've made a smart playlist to play one movie from a list of movies.

$HOME\.kodi\userdata\playlists\video\one random movie.xsp:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>one random movie</name>
    <match>all</match>
    <rule field="filename" operator="is">
        <value>movie1.mkv</value>
        <value>movie2.mkv</value>
        <value>movie3.mkv</value>
    </rule>
    <limit>1</limit>
    <order direction="ascending">random</order>
</smartplaylist>

from $HOME\.kodi\userdata\keymaps\remote.xml:
Code:
<keymap>
    <global>
        <universalremote>
            <obc10>PlayMedia(special://videoplaylists/one random movie.xsp,resume)</obc10>
        </universalremote>
    </global>
</keymap>

It mostly works, I can press the remote button and it plays a random movie from the list, but I want it to resume each individual movie from the point that I was up to.

Is there any way to get it to resume each movie at the point it was up to, instead of starting at the beginning of each movie??
is the default select action set to Resume? https://kodi.wiki/view/Settings/Media/Vi...ect_action

outside of that i'm not aware of anything
It wasn't, it was set to ask every time, but I tried changing it to resume and it did not fix it.

Still plays every movie from the beginning.
Looking at the code, what you have in your xml would appear to be correct so I think this might be a bug.  Perhaps @ksooo could comment?
Heloooooo @ksooo