2024-01-23, 10:51
I've made a smart playlist to play one movie from a list of movies.
$HOME\.kodi\userdata\playlists\video\one random movie.xsp:
from $HOME\.kodi\userdata\keymaps\remote.xml:
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??
$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??