The number is much larger on a database where posters have been changed/updated. Either with a 3rd party tool or poster updates that happen overtime.
select count(*) FROM taggings WHERE tag_id IN (SELECT tag_id FROM taggings WHERE text LIKE '%image.tmdb.org%' OR text LIKE '%artworks.thetvdb.com%' OR text LIKE '%metadata-static.plex.tv%');
Returns 1,177,862 for me, on the database I sent you. Nearly 22% of the entire table. (5,368,407) total records.
For me and my setup (Asustor NAS) using HTPC its related to collection tags
If a movie or tv show belongs to any collection the item loads very slow. (6 or 7 seconds)
For instance, if I go to the pre-play screen for Back to the Future it takes a long time.
If I remove it from my collection and go back in, it loads in under a second. As soon as I add back to the collection itās back to 7 seconds
I was wondering why my TV section didnāt seem to have any problems. Itās because I only have 20 collections in TV vs. 250 in my movieās library
I realize you guys are looking into an issue with posters but with a small exception most of the movies being mentioned here all have collection tags
My issue may or not be related, Iām just mentioning it in case itās a small piece of the puzzle
I should mention, the same issue exists on my Windows server and the Asustor server was rebuilt from scratch with a fresh database and the issue persisted
@ChuckPa is there any ground coming on this issue? Seems to still be an issue. Changing posters makes titles become unplayable. Checking on any status updates.
Not to derail the thread but this may be important too.
@ChuckPa, I run your tool usually about once a month - this is on Windows - and it works great. But reading your comments about the IVA bug, I browsed the db and found that there where 28.161 rows in media_parts where the column File is blank and the extra_data column has something like
Go ahead and trim those too. Do remember, if you donāt chain the deletes or keep the WHERE clause tight enough, youāll end up deleting valid IVA extras (which are part of live metadata / trailers.)
Iām trying to figure out the next features to add to my tool and this might be one of them ā in spite of the dangers ( but who doesnāt like to live dangerously ? )
To consolidate everything, when youāre done, please finalize the full sequence so others can benefit as well ?
Well, the slow item loading behavior is not that much present when scrolling through the library. Mine is as fast as yours shown in the linked videos.
In the web UI itās only really visible when doing the āweb benchmarkā - Media Info ā Show XML view.
However, itās very visible in other apps like Plex HTPC⦠Here is a video.
All the items that take long have been āmodifiedā with different artworks (e.g. Barbie), and the items that load instantly are āstockā (= predefined artworks⦠e.g. Talk to me)
Maybe you could test this scenario? (Maybe also with my db I“ve sent you a while back?)
Basically when trying to play or view xml (which both use the includeRelated=1 query param) plex will take an excessive amount of time to respond (or sometimes not respond at all) on certain movies. It also happens to consume excessive CPU when this is happening. This occurs only on some movies, and only when using the default Plex Movie agent, It does not happen with the legacy or tv agent.
It appears this thread has narrowed it down somewhat to something with the taggings table. Iāve found that refreshing the Metadata for the item will clear up the problem, though I donāt know if that is modifying the taggings (maybe?)
Unless I missed something in this thread it seems like its still not resolved? If there is anything I can provide to help out with this issue let me know. There are some people that have replicated it with fairly small databases and provided examples in the other thread.