Happy2Play 9780 Posted November 2, 2024 Posted November 2, 2024 Just now, Neminem said: Yes TVDB is the first provider in all my options. Except for this Issue is Emby only gets people on initial import of said TV Show or Movie. Emby gets url from provider, opening Series or Movie or Person should GET image from provider and store locally. So troubleshooting People can only happen at initial item import.
Neminem 1518 Posted November 2, 2024 Posted November 2, 2024 Looking at Metadata it look like all data for ppl are from tmdb. Searching in my local metadata I can't find anything about, Name-tvdb-Id
Neminem 1518 Posted November 2, 2024 Posted November 2, 2024 8 minutes ago, Happy2Play said: So troubleshooting People can only happen at initial item import. Enable debug logs, restart server. So remove tv-show wait ... Re-add tv-show wait, take logs.
Happy2Play 9780 Posted November 2, 2024 Posted November 2, 2024 (edited) I see I have 146 broken TVDB images on my test server. So I could technically prefix all of them with the correct info and just drive on but still need to try and figure out how it happened but may be a old issue that was fixed but will need to do some clean/new testing. 9 minutes ago, Neminem said: Enable debug logs, restart server. So remove tv-show wait ... Re-add tv-show wait, take logs. ISSUE will be the people most likely will not be purged from the database so old/bad info will remain. Added query select Id, Name, ProviderIds, Images from MediaItems where type=23 and Images like '/banners/v4/actor/%' Edited November 2, 2024 by Happy2Play added query
Neminem 1518 Posted November 2, 2024 Posted November 2, 2024 (edited) Ok have a old Nuc I could setup tomorrow with a emby docker. Do some test runs on a clean setup, with 3-4 tv shows in it. And see what we can come up with. Edit. Will setup the docker like I have now, just another share. Setup library like now, and cache folder to keep Spinning rust spun down. Edited November 2, 2024 by Neminem Adding
Happy2Play 9780 Posted November 2, 2024 Posted November 2, 2024 (edited) And here is a db hack if you want to fix the broken urls. UPDATE "main"."MediaItems" SET "Images" = replace( "Images", '/banners/v4/actor/', 'https://artworks.thetvdb.com/banners/v4/actor/' ) WHERE Images LIKE '/banners/v4/actor/%'; Edited November 2, 2024 by Happy2Play 1
Neminem 1518 Posted November 2, 2024 Posted November 2, 2024 He he I don't see them now, since I manually fixet them all today, by refreshing them. But thanks, will put that in my notes
Happy2Play 9780 Posted November 2, 2024 Posted November 2, 2024 @Lukelooking at a clean install to me it looks like the issue is coming from Episode guest stars/people. Noticed it via Game of Thrones episodes. https://api4.thetvdb.com/v4/episodes/3436421/extended?meta=translations { "id": 64033338, "name": null, "peopleId": 247832, "seriesId": 121361, "series": null, "movie": null, "movieId": null, "episodeId": 3436421, "type": 4, "image": null, "sort": 0, "isFeatured": false, "url": "247832-gethin-anthony", "nameTranslations": null, "overviewTranslations": null, "aliases": null, "peopleType": "Guest Star", "personName": "Gethin Anthony", "tagOptions": null, "personImgURL": "/banners/v4/actor/247832/photo/60629d5d52bfb.jpg" } Since these are not cached had to look at TVDB api. Don't see this issue at series level. 1
visproduction 315 Posted November 2, 2024 Posted November 2, 2024 (edited) Wow, you guys are working the issue fast! I tried the d**** method and checked 10 actors with no images and refreshed metadata and checked Replace images. (Does that make any difference if there are no images to start?) I had to refresh the page and search again for d****. If you don't refresh, the 10 actors selected, stayed with no images. After a refresh, I did get 2 new images out of the 10. So that is 20% improved. Edited November 2, 2024 by visproduction
Happy2Play 9780 Posted November 2, 2024 Posted November 2, 2024 1 minute ago, visproduction said: Wow, you guys are working the issue fast! I tried the d**** method and checked 10 actors with no images and refreshed metadata and replace images. (Does that make any difference?) I had to refresh the page and search again for d****. If you don't refresh, the 10 actors selected stayed without any images. After a refresh, I did get 2 new images out of the 10. So that is 20% improved. Yes that is sort of normal as the queries happen behind the scenes the active page does not refresh, and sort makes sense as you really don't want it refreshing 10x in a row with your example.
Happy2Play 9780 Posted November 2, 2024 Posted November 2, 2024 Minus a timing of actor being imported I can only produce the issue on Episodes. As all Series queries I have seen have full urls. So if the person by chance gets imported into db from a episode first then I can see them being broken at series/movie level. Per the episode json.
Neminem 1518 Posted November 3, 2024 Posted November 3, 2024 @Happy2PlayYou are right, its cast and crew, under episodes that at messed up. Just found this after adding this series yesterday. This should be in the logs I posted yesterday.
Luke 42077 Posted November 12, 2024 Posted November 12, 2024 On 11/2/2024 at 1:55 PM, Happy2Play said: And here is a db hack if you want to fix the broken urls. UPDATE "main"."MediaItems" SET "Images" = replace( "Images", '/banners/v4/actor/', 'https://artworks.thetvdb.com/banners/v4/actor/' ) WHERE Images LIKE '/banners/v4/actor/%'; Thanks. An update to the tvdb plugin is going out. 2
Happy2Play 9780 Posted November 12, 2024 Posted November 12, 2024 1 minute ago, Luke said: Thanks. An update to the tvdb plugin is going out. Now this will only apply going forward. What will users with existing issue have to do?
Luke 42077 Posted November 12, 2024 Posted November 12, 2024 3 minutes ago, Happy2Play said: Now this will only apply going forward. What will users with existing issue have to do? It will require manual metadata refreshes.
Happy2Play 9780 Posted November 12, 2024 Posted November 12, 2024 (edited) Appears resolved in my tests with plugin update Tvdb 1.5.4. Did a clean install and no longer got broken images. And queried the db to be sure as there are no longer broken image urls. Also tested on a broken system and Refreshed metadata on series corrected the actors with broken images. If one does not want to Refresh metadata then one will need to shutdown Emby, open the library.db in db editor and run the command to update existing broken TVDB broken image urls. UPDATE "main"."MediaItems" SET "Images" = replace( "Images", '/banners/v4/actor/', 'https://artworks.thetvdb.com/banners/v4/actor/' ) WHERE Images LIKE '/banners/v4/actor/%'; Issue should no longer happen going forward and existing issues will have to be Refreshed or DB manual update. Edited November 12, 2024 by Happy2Play 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now