Music Playlist entries are added to dashboard "metadata_item_views" table

Server Version#: Version 1.29.0.6209
Player Version#: Version 4.91.1

While reviewing how music playlists are stored in the plex db I noticed that within the metadata_item_views table there are multiple row entries for music Recently Played all containing the exact same guid. Below is from my db …

sqlite> SELECT id, guid, title from metadata_item_views WHERE guid = 'com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37';
id     guid                                                            title          
-----  --------------------------------------------------------------  ---------------
20739  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
22998  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23017  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23048  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23104  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23224  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23376  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23506  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23621  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23672  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23799  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23811  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23853  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played
23865  com.plexapp.agents.none://03428aea-d613-470c-b799-291d876a7c37  Recently Played

I’m not sure if this is a issue or not but looks to me to be some background task is not cleaning up these overtime. Also, unsure what is causing plex to create these. Will let plex development decide if they need to do anything about these …

EDIT: This happens for ALL playlist. When a playlist is played a entry for it is added to the dashboard table. Makes no sense to me for this to be added and looks like a bug. Mine has grown to over 50 zombie playlist entries.

This continues to grow on my server with almost 30 duplicates now created.

However, I may have found how these are created. I suspect its Plexamp so going to add that tag to thread. Do the following:

  1. using plexamp on android, select the Recently Played playlist from the home screen
  2. then select shuffle to play the playlist
  3. play a couple of tracks, say 3-5

Check the db after the writes have been commited to the db and you will see a new duplicate playlist com.plexapp.agents.none added to the metadata_item_views table.

I’ve not tested (yet) if its safe to delete the old ones. I might try that in the coming days if no one from plex comments on the thread …

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