Kodi Community Forum
smart playlist not updating - 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: smart playlist not updating (/showthread.php?tid=322166)



smart playlist not updating - NiekN - 2017-10-07

I made some smart playlists , so i can make customer TABs at Aeon NOX for KIDS-MOVIE, MOVIE, HOME-MOVIE
These playlist are pointed to a special directory where these movies are storred
But when i add a new movie in that directory where a playlist is pionted to, it will not be added in the playlist at my menu , when i press library update

the smart playlist a made with PATH CONTAINS

How to update a smart playlist easy/automatic ?

the only way i discovered is , go to video>files >directory press "C" and select add to library
then kodi comes with a list or a proposal of which movie it will be. If i klick OK , then the movie will be added in my playlist
This is a very cumbersome way to do ??

So i hope if somebody could help me on that , how to update it simpel


RE: smart playlist not updating - whysoserious - 2017-10-07

"the smart playlist a made with PATH CONTAINS"

I've had a few problems in the past with "PATH CONTAINS" and have used "PATH STARTS WITH" instead. That has always worked for me.


RE: smart playlist not updating - Fail$tyle420 - 2017-10-07

It may be a skin issue. I use smart playlists all over with the titan skin and everything updates as it should just using update library. Although, none of my lists use directory rules, just genre/tags.


RE: smart playlist not updating - NiekN - 2017-10-08

Thanks for the help

but changing it from "PATH CONTAINS" into "PATH STARTS WITH"does not work, i tested it but no progress


RE: smart playlist not updating - NiekN - 2017-10-08

(2017-10-07, 20:43)Fail$tyle420 Wrote: It may be a skin issue.  I use smart playlists all over with the titan skin and everything updates as it should just using update library.  Although, none of my lists use directory rules, just genre/tags.

what does this means ...directory rules, just genre/tags?


RE: smart playlist not updating - Fail$tyle420 - 2017-10-08

My rules use genre or tags to sort into playlists. Yours is using a directory.


RE: smart playlist not updating - NiekN - 2017-10-08

I still not found how i can solve it

So from thë start

i have a directory on my NAS
video_test> Kidszone
video_test> MOVIES
etc

i added this diretory to KODi by using NFS network link

then i used smartplaylist, like this


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>kids</name>
<match>all</match>
<rule field="path" operator="contains">
<value>nfs://xxx.xxx.xxx.xxx/volume1/video_test/Kidszone/</value>
</rule>
</smartplaylist>

Then i made a custom TAB at Aeon Nox like this
Widget > video playlists > kids.xsp
Standardaction by select> videolibrary>playlist>kids(display)
and activated the TAB, so it will be present at the main screen

but i cannot update the library, by using "library update"

still need help


RE: smart playlist not updating - bryx - 2018-09-24

Hi,

   I know it's an old thread, but I had the same problem and this is the newest thread tackling the issue. I fixed my problem and wanted to post in case it helps someone.

   I ran with debug on and got a query from going into the smart playlist:

      SELECT * FROM tvshow_view  WHERE ((tvshow_view.strPath LIKE 'smb://xxx/Video/TV/%'));

   I am using MySQL, so I went into the server, ran the query and a few shows were missing. I picked one by name and realized strPath was null. I ran:

      SELECT * FROM tvshow_view  WHERE strPath is null;

   and got about 6 or 7 shows.

   All these shows work fine if I go through the main TV Shows option (without playlist) so I guess the actual paths are there somewhere, but I opted for simply deleting the shows from the library and adding them again. I rechecked the null query and now it comes empty and my playlists work fine again.

   Not sure why it happened of course. Anyway, hope it helps someone.

Bye