[BUG] Playlist corruption for non-local files

Server Version#: 1.24.5.5173

I’ve recently discovered that several playlists of mine return corrupt XML. This causes the playlists to be unusable past the corrupt entry - for example, in a playlist with 100 items, if item 50 is corrupt, the remaining 49 items will not appear and cannot be queued or removed.

The specific corruption is a duplicate parentIndex attribute. This will fail to parse in most XML parsers (playlists don’t work in desktop Mac client and browser client) BUT the PlexAmp app appears to handle the playlist fine - possible the XML parsing in Plexamp is more resilient to errors?

<Track guid="local://14518" type="track" title="Magnetic Timetable" summary="" index="2" parentIndex="1" ratingCount="3093" viewCount="3" lastViewedAt="1626788378" playlistItemID="45483" duration="134000" addedAt="1542634740" grandparentGuid="com.plexapp.agents.lastfm://Suburban%20Knight?lang=en" grandparentKey="/library/metadata/14339" grandparentRatingKey="14339" grandparentThumb="/library/metadata/14339/thumb/1542634735" grandparentTitle="Suburban Knight" key="/library/metadata/14518" parentGuid="com.plexapp.agents.lastfm://Suburban%20Knight/Nocturbulous%20Behavior?lang=en" parentIndex="1" parentKey="/library/metadata/14516" parentRatingKey="14516" parentThumb="/library/metadata/14516/thumb/1542634856" parentTitle="Nocturbulous Behavior" parentYear="1993" ratingKey="14518" source="server://80ef769497fc33d9a94669038bf9163e25f0f77b/com.plexapp.plugins.library" thumb="/library/metadata/14516/thumb/1542634856">

Unfortunately, since playlist editing is only available on the desktop and web clients (and not Plexamp), I have no way of salvaging these playlists until the bug is fixed.

The only unifying detail of the corrupt tracks is that they are all from a shared server (e.g. one available via a user I’ve added as a friend). I’m not able to determine which server version they are using.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.