Bug SmartPlaylists No Longer Accessible on Yamaha Network Receiver(s) in Kodi 20.x
#1
First, a little background: I've been using Kodi on separate Rasberry Pi 3/4 computers for about 3 years now, having migrated from 17.x, 18.x, 19.x and 20.3.

I use Kodi as a basic music server for several Yamaha network receivers, Samsung TVs and LG TVs, and until now, it has been an ideal solution to a unique objective.
These Yamaha receivers have network capabilities that play audio stored on DNLA servers like Kodi, including selection by playlists, artist, album, etc.
In experimenting with Smart Playlists, I have been successful in organizing my music (about 9,000 songs) with customized tag values in the Comments and Genre fields that make it possible to generate a unique list of songs that is refreshed daily (so I don't ever hear the same song more than once a year--I know, it's a little overkill, but until now, completely possible).

In short, I rate each song in the comment field with a 1,2,3,4 or 5, and randomly assign each song a date (as "Genre") between Jan 1 and Dec 31 ("2022-01-01" ~ "2023-12-31").

Then, each morning, a PC wakes up and runs a short script that generates a "smart playlist" (".XSP") file with the basic parameters that exclude songs with comments with a 1 value (duplicate and songs I don't want to hear), and includes songs that are tagged with the current date in the "Genre" field (example here):

#ThisDay.xsp:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="songs">
<name>#Playlist of the Day</name>
<match>all</match>
<rule field="comment" operator="isnot">
<value>1 Rating</value>
</rule>
<rule field="genre" operator="is">
<value>2023-05-25</value>
</rule>
<order direction="ascending">title</order>
</smartplaylist>

For almost 2 years now, this process worked flawlessly. My various Yamaha network receivers and Samsung/LG TVs have accessed the Kodi (18.x, 19.x) DLNA/network servers, listed the database resources, and dutifully played all of the daily smart playlists songs without a problem.

But after upgrading to 20.x (20.0 and 20.3), there is no playback: While all client devices can access and list the server libraries, none can actually play the content.

The Yamaha receivers can list the smart playlists, but the contents of said playlists are inaccessible (actual response: "Unable to play")
The LG TV responds: "The file cannot be recognized: Do you want to play the next file?", which is another smart playlist, which also fails.
The Samsung TV responds: "Not Supported File Format".

While I've tweaked numerous intenal settings in Kodi, nothing so far has worked. My only solution has been to go back to ver 19.x.

I have tested this on both Raspberry Pi 3 and 4 servers, and the results are the same: Version 20.x is not serving up smart playlists.

All the basic access via Artist, Album, Songs, Genres, etc. is working as expected in Ver 20.x.

But Smart Playlists are definitely broken for these client devices in Ver 20.x.

Thanks for reading and offering any suggestions as to what, if anything, I should look at to remedy this issue!
Reply
#2
A follow-up:

A member of the Libreelec community suggested that I experiment with the recent nightly build ("..12.0-nightly-20240119-71b413e), and, as a result, my issue is "partially" resolved:

If I remove either of the 2 rule parameters in the smart playlist request, the remaing rule is implemented, and playlist is recognized and played by the Yamaha receiver.

This is true for the new build only--It does not work with the recent official 20.3 build.

A solution would be to purge all "1-Rated " mp3s from my music database and adopt a "one-rule only" smart playlist policy until the "multi-rule" issue is resolved, and full functionality is restored via Kodi development.

Thanks again, Chewitt, for your suggestions.
Reply

Logout Mark Read Team Forum Stats Members Help
SmartPlaylists No Longer Accessible on Yamaha Network Receiver(s) in Kodi 20.x0