SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations > Phoenix 3.0
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Phoenix 3.0 This forum is for discussing the user-created Phoenix 3.0 custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-10-2021, 10:10 AM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
Unhappy Phoenix isn't downloading banners

So I got it in my head that I wanted to clean up my fanart directory and followed the instructions in the recent thread to do so. Problem is now it seems the Phoenix is refusing to download banners for anything - although I will say that this might have been going on before but I had no idea because most of my stuff would have had banners already. I ran a full refresh of fanart and that didn't help. I've attached the logs, but nothing seems obviously wrong in them that I could see.

Here's my log:
https://drive.google.com/file/d/1YZs...ew?usp=sharing
Reply With Quote
  #2  
Old 11-11-2021, 03:03 PM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
I found something odd that might be a root cause, but not sure because there are only two entries in my log from today. Looks like the "banner" part of the path is repeated:
Code:
2021-11-11 12:00:00,224 [Timer-13] INFO  sagex.phoenix.metadata.MetadataManager - Fetching Metadata for MediaSearchResult [extraArgs={EPISODE_TITLE: Curious George on Time; Curious George's Bunny Hunt,RAW_TITLE: Curious George,EPISODE: 5,CLEAN_TITLE: Curious George,EPISODE_DATE: 2006-09-14,SEASON: 1,}, id=79429, imdbId=, metadata=null, providerId=tvdb, score=1.0, title=Curious George, type=TV, url=http://thetvdb.com/banners//banners/graphical/79429-g2.jpg, year=2006]
if you instead pull up http://thetvdb.com/banners/graphical/79429-g2.jpg, you correctly get a fanart banner style image, so if it propagates the same error in the code, then no banners would be downloaded.
Reply With Quote
  #3  
Old 11-11-2021, 04:53 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
I see a lot of these errors...

Code:
2021-11-09 11:41:18,196 [pool-3-thread-2] WARN  phoenix.log - Fanart Scaling Failed
java.lang.NumberFormatException: For input string: " 3840"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
Can you check your config and see if you have a value to perform scaling on fanart...it could be there is a space prior to the 3840 causing issues. This may not be the banner issue but we should check there first.

As for the url "issue". I can look into this further but TVDB has a call to get all BANNERS which oddly enough includes banners/backgrounds, banners/posters and banners/banners. Odd way they store them but that's how it is. As the code has not changed for a long time I would not expect this is the issue unless they changed the API on their side.

Let's check out the scaling item and go from there.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #4  
Old 11-11-2021, 09:03 PM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
Funny you should say that, I saw that and assumed it just didn't like 4k, so I set it back to 1080... issue persists. But for what it's worth, these are my settings:

Code:
phoenix/fanart/maxScreenSize=1920x1080
Incidentally, a fresh set of phoenix logs after that change was made:
https://drive.google.com/file/d/12yP...ew?usp=sharing
Reply With Quote
  #5  
Old 11-15-2021, 02:13 PM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
I still think the url is somehow coming in incorrectly. From the logs today:
Code:
phoenix-metadata.log:2021-11-15 09:00:09,873 - ERROR; E:\SageTV\Alma's Way - S01E02 - 38322175-0.ts; Alma's Way; 38389023; Failed while parsing series: MediaSearchResult [extraArgs={EPISODE_TITLE: Alma the Artist; Bomba or Baseball,RAW_TITLE: Alma's Way,EPISODE: 2,CLEAN_TITLE: Alma's Way,EPISODE_DATE: 2021-10-04,SEASON: 1,}, id=411163, imdbId=, metadata=null, providerId=tvdb, score=1.0, title=Alma's Way, type=TV, url=http://thetvdb.com/banners//banners/v4/series/411163/banners/6160737635747.jpg, year=2021]
using that URL (http://thetvdb.com/banners//banners/...37635747.jpg):
Code:
wget http://thetvdb.com/banners//banners/v4/series/411163/banners/6160737635747.jpg
--2021-11-15 15:12:02--  http://thetvdb.com/banners//banners/v4/series/411163/banners/6160737635747.jpg
Resolving thetvdb.com (thetvdb.com)... 18.67.6.107
Connecting to thetvdb.com (thetvdb.com)|18.67.6.107|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://thetvdb.com/banners//banners/v4/series/411163/banners/6160737635747.jpg [following]
--2021-11-15 15:12:02--  https://thetvdb.com/banners//banners/v4/series/411163/banners/6160737635747.jpg
Connecting to thetvdb.com (thetvdb.com)|18.67.6.107|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-11-15 15:12:03 ERROR 403: Forbidden.

then removing the extra "banner//" in the URL to make it https://thetvdb.com/banners/v4/serie...737635747.jpg:
Code:
wget https://thetvdb.com/banners/v4/series/411163/banners/6160737635747.jpg
--2021-11-15 15:13:21--  https://thetvdb.com/banners/v4/series/411163/banners/6160737635747.jpg
Resolving thetvdb.com (thetvdb.com)... 18.67.6.107
Connecting to thetvdb.com (thetvdb.com)|18.67.6.107|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24247 (24K) [image/jpeg]
Saving to: ‘6160737635747.jpg’

6160737635747.jpg                                                                          100%[=======================================================================================================================================================================================================================================>]  23.68K  --.-KB/s    in 0.001s

2021-11-15 15:13:21 (37.6 MB/s) - ‘6160737635747.jpg’ saved [24247/24247]
Maybe the API itself is returning bad urls?
Reply With Quote
  #6  
Old 11-15-2021, 10:24 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Thanks for the details. I will take a look at the code. The api wrapper we use is old and no longer supported and tvdb are migrating to v4 of their api which i know we are not using but the links seem to include a v4 so likely redirected...so could be on their side or ??

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #7  
Old 11-27-2021, 10:04 AM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
Quote:
Originally Posted by jusjoken View Post
Thanks for the details. I will take a look at the code. The api wrapper we use is old and no longer supported and tvdb are migrating to v4 of their api which i know we are not using but the links seem to include a v4 so likely redirected...so could be on their side or ??

k
Any luck? I really wish I hadn't decided that my fanart dir needed to be cleaned up, lol...

Thanks, btw!
Reply With Quote
  #8  
Old 11-27-2021, 05:44 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by DarkWolf77 View Post
Any luck? I really wish I hadn't decided that my fanart dir needed to be cleaned up, lol...

Thanks, btw!
Sorry, got caught up in a number of other things

I will try to recreate
K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #9  
Old 11-28-2021, 08:58 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by DarkWolf77 View Post
Any luck? I really wish I hadn't decided that my fanart dir needed to be cleaned up, lol...

Thanks, btw!
I am making some progress in that I can recreate the issue. I believe the problem likely lies in a change on the tvdb side due to their changes related to moving to v4 of their api which we do not use yet...but this is not confirmed yet as I will need to dig into the api wrapper that phoenix uses to see if it is manipulating the tvdb url or if tvdb is providing the wrong url.

I hope to find more time this week to dig in further.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #10  
Old 11-28-2021, 05:32 PM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
Quote:
Originally Posted by jusjoken View Post
I am making some progress in that I can recreate the issue. I believe the problem likely lies in a change on the tvdb side due to their changes related to moving to v4 of their api which we do not use yet...but this is not confirmed yet as I will need to dig into the api wrapper that phoenix uses to see if it is manipulating the tvdb url or if tvdb is providing the wrong url.

I hope to find more time this week to dig in further.

K
Yeah, that seems likely. Thanks for the hard work!
Reply With Quote
  #11  
Old 11-29-2021, 09:16 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Bad news. The tvdb old api call we make to get a full list of fanart, no longer returns ANY banners. Those banners exist, but at some point in the past the api was broken so our calls to get banners are failing.

I cannot fix this and TVDB likely will not fix it (I found search results from 2019 when others were reporting what looks like the same issue and it fell on deaf ears then).

TVDB are only concentrating on their NEW API v4 which is under a subscription model and will require a complete new API Wrapper for Phoenix to be written. I do plan to take this on but have not started so it will not be any time soon. Their OLD api is supposed to work until early/mid 2022 but of course they are not supporting it so no easy solution to this.

Interestingly enough but not a solution for banners... I have nearly completed an alternative for TVDB by writing a TV metadata/fanart provider using TMDB and it's nearly complete...BUT, TMDB do not support BANNERS for TV shows...so even when that is complete it will not help you with missing banners.

So...banners will only return when I start and complete the TVDB v4 provider AND it will be a subscription only provider where you will need to pay TVDB to get a key to use it...

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #12  
Old 11-29-2021, 11:24 AM
DarkWolf77 DarkWolf77 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 169
Quote:
Originally Posted by jusjoken View Post
Bad news. The tvdb old api call we make to get a full list of fanart, no longer returns ANY banners. Those banners exist, but at some point in the past the api was broken so our calls to get banners are failing.

I cannot fix this and TVDB likely will not fix it (I found search results from 2019 when others were reporting what looks like the same issue and it fell on deaf ears then).

TVDB are only concentrating on their NEW API v4 which is under a subscription model and will require a complete new API Wrapper for Phoenix to be written. I do plan to take this on but have not started so it will not be any time soon. Their OLD api is supposed to work until early/mid 2022 but of course they are not supporting it so no easy solution to this.

Interestingly enough but not a solution for banners... I have nearly completed an alternative for TVDB by writing a TV metadata/fanart provider using TMDB and it's nearly complete...BUT, TMDB do not support BANNERS for TV shows...so even when that is complete it will not help you with missing banners.

So...banners will only return when I start and complete the TVDB v4 provider AND it will be a subscription only provider where you will need to pay TVDB to get a key to use it...

K
Argh! That's what I was afraid of! Thanks for checking though. I wish I had more time to say I could help, but I have a 3 year old at home that vacuums up all my free time, lol.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Phoenix, BMT, Malore menus, Fuzzy's mod not updating banners dinki SageTV v7 Customizations 28 09-01-2011 02:44 AM
getting banners and other fanart using the phoenix api razrsharpe Batch Metadata Tools 11 01-17-2011 01:23 PM
Banners antplugger Batch Metadata Tools 3 12-14-2010 03:09 PM
Phoenix not downloading backgrounds tonysathre SageTV v7 Customizations 3 06-13-2010 02:27 PM


All times are GMT -6. The time now is 11:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.