plex server Version 1.23.6.4810
when refreshing a music artist’s metadata, album / artist information is retrieved but the popular tracks are not updated. From the logs tv.plex.agents.music.log i can see that there is a critical issue, is there some way to run this in debug mode. This had been working, i dont know when it stopped working unfortunately.
any recommended next steps ?
84:2021-07-27 13:26:11,305 (7f89ee10cb38) : DEBUG (runtime:717) - Handling request GET /:/plugins/tv.plex.agents.music/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKeHhzNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNgo1NDYyODlzNApkYmlkaTAKczcKdmVyc2lvbnMzOApwbGV4Oi8vYXJ0aXN0LzVkMDdiYzk4NDAzYzY0MDI5MDUyNjNkMHMxMApwYXJlbnRHVUlEczYKNTQ2MjAzczgKcGFyZW50SURzNQpBbGJ1bXMxMAptZWRpYV90eXBlczM3CnBsZXg6Ly9hbGJ1bS81ZDA3YzQ1NjQwM2M2NDAyOTA5ZWNkZmRzNApndWlkczMwCmFsYnVtLzVkMDdjNDU2NDAzYzY0MDI5MDllY2RmZHMyCmlkcjAK
85:2021-07-27 13:26:11,306 (7f89ee10cb38) : DEBUG (runtime:49) - Received packed state data (80 bytes)
86:2021-07-27 13:26:11,307 (7f89ee10cb38) : DEBUG (runtime:814) - Found route matching /:/plugins/tv.plex.agents.music/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKeHhzNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNgo1NDYyODlzNApkYmlkaTAKczcKdmVyc2lvbnMzOApwbGV4Oi8vYXJ0aXN0LzVkMDdiYzk4NDAzYzY0MDI5MDUyNjNkMHMxMApwYXJlbnRHVUlEczYKNTQ2MjAzczgKcGFyZW50SURzNQpBbGJ1bXMxMAptZWRpYV90eXBlczM3CnBsZXg6Ly9hbGJ1bS81ZDA3YzQ1NjQwM2M2NDAyOTA5ZWNkZmRzNApndWlkczMwCmFsYnVtLzVkMDdjNDU2NDAzYzY0MDI5MDllY2RmZHMyCmlkcjAK
87:2021-07-27 13:26:11,308 (7f89ee10cb38) : DEBUG (model:32) - Loading model with GUID plex://album/5d07c456403c6402909ecdfd
88:2021-07-27 13:26:11,308 (7f89ee10cb38) : DEBUG (model:234) - Deserializing from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Albums/e/2f1a7d8e8488cc2f57cf3459cd5812beb4e0585.bundle/Contents/tv.plex.agents.music/Info.xml
89:2021-07-27 13:26:11,312 (7f89ee10cb38) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/546289/tree'
96:2021-07-27 13:26:11,326 (7f89ee10cb38) : INFO (__init__:134) - Updating : Can't Be Tamed (GUID: plex://album/5d07c456403c6402909ecdfd) : {'genres': 1, 'artistBios': 1, 'albumPosters': 1, 'albumReviews': 1, 'popularTracks': 1, 'concerts': 1, 'respectTags': 1}
97:2021-07-27 13:26:11,326 (7f89ee10cb38) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/metadata/agents/music/library/metadata/5d07c814403c640290bcfc79?includeAlternates=1&includeChildren=1'
111:2021-07-27 13:26:11,466 (7f89ee10cb38) : CRITICAL (agentkit:1095) - Exception in the update function of agent named 'Plex Music', called with guid 'plex://album/5d07c456403c6402909ecdfd' (most recent call last):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-15ce0e21a/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1093, in _update
agent.update(obj, media, lang, **kwargs)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-15ce0e21a/PlexMusic.bundle/Contents/Code/__init__.py", line 181, in update
cloud_track = self.find_matching_track(cloud_tracks, track)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-15ce0e21a/PlexMusic.bundle/Contents/Code/__init__.py", line 199, in find_matching_track
if track.index == match.get('index') and track.absoluteIndex == (match.get('parentIndex') or '1'):
AttributeError: 'MediaTree' object has no attribute 'absoluteIndex'
2021-07-27 13:26:11,466 (7f89ee10cb38) : CRITICAL (agentkit:1095) - Exception in the update function of agent named 'Plex Music', called with guid 'plex://album/5d07c456403c6402909ecdfd' (most recent call last):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-15ce0e21a/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1093, in _update
agent.update(obj, media, lang, **kwargs)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-15ce0e21a/PlexMusic.bundle/Contents/Code/__init__.py", line 181, in update
cloud_track = self.find_matching_track(cloud_tracks, track)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-15ce0e21a/PlexMusic.bundle/Contents/Code/__init__.py", line 199, in find_matching_track
if track.index == match.get('index') and track.absoluteIndex == (match.get('parentIndex') or '1'):
AttributeError: 'MediaTree' object has no attribute 'absoluteIndex'
120:2021-07-27 13:26:11,475 (7f89ee10cb38) : DEBUG (model:229) - Serializing to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Albums/e/2f1a7d8e8488cc2f57cf3459cd5812beb4e0585.bundle/Contents/tv.plex.agents.music/Info.xml
121:2021-07-27 13:26:11,478 (7f89ee10cb38) : DEBUG (runtime:88) - Sending packed state data (101 bytes)
122:2021-07-27 13:26:11,478 (7f89ee10cb38) : DEBUG (runtime:924) - Response: [200] str, 16 bytes
lastfm is enabled for artists under agents

