SageTV Community  

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

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #121  
Old 12-13-2010, 09:31 AM
OferL OferL is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 109
razrsharpe I was pointing to msg #111
He reports much the same problems as me.

Last edited by OferL; 12-13-2010 at 09:34 AM.
Reply With Quote
  #122  
Old 12-13-2010, 09:43 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by OferL View Post
razrsharpe I was pointing to msg #111
He reports much the same problems as me.
I responded back then that I think the problem is that stuckless rearranged/changed/depreciated some phoenix.api methods... I need to update TVE to reflect these changes... hopefully I'll have some free time soonish to do so
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #123  
Old 12-13-2010, 09:55 AM
OferL OferL is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 109
Reply With Quote
  #124  
Old 01-05-2011, 09:46 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Anyone have an idea why I'm seeing this?

Code:
2011-01-04 18:03:44,015 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\Mediaserver\Fanart\TV\Castle\Banners\83462-g6.jpg; tag: TVExplorerBanners
2011-01-04 18:03:45,944 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\Mediaserver\Fanart\TV\Castle\Banners\83462-g7.jpg; tag: TVExplorerBanners
2011-01-04 18:03:46,188 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\Mediaserver\Fanart\TV\Dexter\Banners\79349-g11.jpg; tag: TVExplorerBanners
2011-01-04 18:03:51,566 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\Mediaserver\Fanart\TV\Grey's Anatomy\Banners\73762-g9.jpg; tag: TVExplorerBanners
2011-01-04 18:03:55,745 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\Mediaserver\Fanart\TV\Law & Order Special Victims Unit\Banners\4e9bdc41fc824390d782cde20269479c-75692.jpg; tag: TVExplorerBanners
2011-01-04 18:03:56,322 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\Mediaserver\Fanart\TV\Leverage\Banners\82339-g.jpg; tag: TVExplorerBanners
2011-01-04 18:03:56,740 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\Mediaserver\Fanart\TV\Law & Order Criminal Intent\Banners\b945ebfacf11024f3748ab52a5287562-1381-g4.jpg; tag: TVExplorerBanners
2011-01-04 18:03:57,240 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\Mediaserver\Fanart\TV\Life After People\Banners\83897-g5.jpg; tag: TVExplorerBanners
I posted about this in the Phoenix Fanart thread, but they said it's not due to that. So, I thought maybe it was due to something caused by TVE. What I'm seeing is a 4 second pause between the page up/down scrolling and it seems to be caused by fanart not being cached or something. Going from top to bottom in my list of TV shows currently takes about a minute or more, which is very frustrating.

I know this isn't being actively developed anymore, but I was hoping someone might have an idea as to what the cause is. I'm at the point where SageTV isn't very usable anymore, so I'm considering deleting my wiz.bin and reinstalling SageTV from scratch on both the client and server. But, I want to exhaust all my options first.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #125  
Old 01-05-2011, 10:10 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
I havent been using fanart on my setup for sometime now so can't say its not a problem with tve... but to me that error means that the phoenix api is trying to load an image that it thinks is cached locally, can't find it, and is crashing out.

TVE will automatically scale and cache banners and posters on first use, if one doesnt exist already.

The fact that TVE and Diamond exhibit the same problem leads me to think on of three things
  • We are both not using the phoenix api correctly
  • We were using the api correctly and sean changed something regarding scaling and caching and therefore we are not using the api correctly anymore
  • There is a bug in the phoenix api
  • EDIT: it could also be that for some reason you dont have write access to the cache folder anymore (or out of disk space) and creating the image is failing

So what i would try... way before blowing away your wiz.bin (bc i dont think this has anything to do with that).
  1. Shut down sage.
  2. Delete the TVE directories in your cache folder (I think the cache folder is ... STVs\Phoenix\ImageTransforms but not sure)
  3. Start sage and see what happens. TVE should recache all banners and posters on first display... so it may be slower then normal initially.
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer

Last edited by razrsharpe; 01-05-2011 at 10:13 AM.
Reply With Quote
  #126  
Old 01-05-2011, 10:47 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Thanks for the ideas, razr! Very much appreciated! I'll check these out when I get home tonight. I don't think it's a permissions issue, but I'll definitely check. Maybe Windows 7 did something weird, even though I have UAC turned off.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #127  
Old 01-05-2011, 11:00 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
There were some minor changes to the ImageAPI (thanks to Plucky) in November. It basically was a small change that returns a File object instead of a Sage MetaImage.

This particular issue looks to be a case where you are expecting the image to be cached, but it is not there. It could be a bug in phoenix, or it could be that the scaling/caching didn't work for some reason (ie, permissions, etc).

Does TVE use the newer phoenix_image_ apis or the older phoenix_api_ ? (not that it matters, it's just that the entire phoenix_api_ has been deprecated)
Reply With Quote
  #128  
Old 01-05-2011, 01:03 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
There were some minor changes to the ImageAPI (thanks to Plucky) in November. It basically was a small change that returns a File object instead of a Sage MetaImage.

This particular issue looks to be a case where you are expecting the image to be cached, but it is not there. It could be a bug in phoenix, or it could be that the scaling/caching didn't work for some reason (ie, permissions, etc).

Does TVE use the newer phoenix_image_ apis or the older phoenix_api_ ? (not that it matters, it's just that the entire phoenix_api_ has been deprecated)
Not to go off topic sean, but I am having a problem using the new relocated api's. My Malore tweaks mod uses the phoenix_api_HasFanartBanner and phoenix_api_GetFanartBanner calls for populating banners in the show list. I had thought, from looking at the javadocs, that replacing these with phoenix_impl_FanartAPI_Has(Get)FanartBanner would be enough to stay 'current'. No such luck.. sage throws a method reflection error. What is the proper call for the new api's?
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #129  
Old 01-05-2011, 01:11 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by stuckless View Post
There were some minor changes to the ImageAPI (thanks to Plucky) in November. It basically was a small change that returns a File object instead of a Sage MetaImage.
any chance that small change could be causing the problem? I haven't done any TVE development for about a year... and the scaling/caching hasn't been worked on for at least 18 months. Attached is the scaling/caching code for the poster:


Quote:
Does TVE use the newer phoenix_image_ apis or the older phoenix_api_ ? (not that it matters, it's just that the entire phoenix_api_ has been deprecated)
Like I said there has been no real TVE development for about a year so it is still using all the old phoenix_api_ methods.
Attached Images
File Type: jpg TVEPosterScalingCaching.jpg (67.3 KB, 132 views)
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer

Last edited by Opus4; 01-05-2011 at 01:29 PM. Reason: attached image too wide to post inline; inline image removed
Reply With Quote
  #130  
Old 01-05-2011, 01:22 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Looks simpler than that... i think you're missing an opening bracket in your json transform. "{name:rounded,arcSize:20}"

This is likely causing the createimage call to fail, resulting in a null being sent to the PosterImage widget.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #131  
Old 01-05-2011, 01:29 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by Fuzzy View Post
Looks simpler than that... i think you're missing an opening bracket in your json transform. "{name:rounded,arcSize:20}"
well I'll be.... Just checked the banner call as well and that is missing the leading { as well... it's funny that this has never been an issue before... I certainly did not see it during development

skirge... to see if this is indeed the problem... fire up Studio (cntrl+shift+f12) and search for TVExplorerBanners (you should get 2 references... change the phoenix_api_createImage line to include the leading { per fuzzy's find.

Then do the same thing by searching for TVExplorerPosters
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #132  
Old 01-05-2011, 01:39 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by razrsharpe View Post
well I'll be.... Just checked the banner call as well and that is missing the leading { as well... it's funny that this has never been an issue before... I certainly did not see it during development

skirge... to see if this is indeed the problem... fire up Studio (cntrl+shift+f12) and search for TVExplorerBanners (you should get 2 references... change the phoenix_api_createImage line to include the leading { per fuzzy's find.

Then do the same thing by searching for TVExplorerPosters
Will do! Thanks for the help, guys. I thought this had been like this from my initial upgrade to SageTV 7, but I didn't want to falsely make that statement. Is this the same code that was in the later versions of TVE for SageMC, which never got ported? I do know I never had this issue in SageMC.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #133  
Old 01-05-2011, 01:53 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
Looks simpler than that... i think you're missing an opening bracket in your json transform. "{name:rounded,arcSize:20}"

This is likely causing the createimage call to fail, resulting in a null being sent to the PosterImage widget.
I'll PM you with some information.

Quote:
Originally Posted by razrsharpe View Post
any chance that small change could be causing the problem?
Well, I haven't hear Mike or Bialio screaming.... so, I don't think there were any side effects of that change.... if anything, the change should have made things perform slightly better.

But, from looking at the studio code, it looks to be correct, and the ERROR in the log is not really an error (I should change to warn), since you are calling GetImage, which will cause the ERROR to be logged, if there isn't an image, and then you are correctly creating the image because GetImage returned null. That all looks correct, and the ERROR in the log is really a red herring in this case.
Reply With Quote
  #134  
Old 01-05-2011, 01:55 PM
OneOfMany OneOfMany is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Winnipeg
Posts: 374
Hmm.. I loved TVE on Sage6 MC, but used to get these periodic pauses during scrolling as well.. sometimes would pause for 10-15 seconds.
Reply With Quote
  #135  
Old 01-05-2011, 01:57 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by stuckless View Post
But, from looking at the studio code, it looks to be correct, and the ERROR in the log is not really an error (I should change to warn), since you are calling GetImage, which will cause the ERROR to be logged, if there isn't an image, and then you are correctly creating the image because GetImage returned null. That all looks correct, and the ERROR in the log is really a red herring in this case.
I really hope you're wrong and this bracket fixes the issue.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #136  
Old 01-05-2011, 02:42 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by stuckless View Post
I'll PM you with some information.
not sure if you were directing your pm to fuzzy or me but I'd like the info too
Quote:
But, from looking at the studio code, it looks to be correct
Is the missing leading { in the json a problem or not?
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #137  
Old 01-05-2011, 02:46 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by razrsharpe View Post
not sure if you were directing your pm to fuzzy or me but I'd like the info too
Is the missing leading { in the json a problem or not?
Sorry... yes, the missing { in the json tranform will be an issue, although, I have no idea at this time if it would cause the the entire process to bomb, or if it simply would fail to apply the transform.

I'll create a post later explaining the api changes.
Reply With Quote
  #138  
Old 01-05-2011, 06:29 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I added the missing brackets first and that didn't change anything. The log still showed the same errors and the speed is the same.

I then focused on the ImageTransforms folder, mentioned by razr. When right-clicking on that folder or SageTV's folder, I was getting a heap error and explorer.exe was crashing. So, I researched that and found that programs adding right-click options can cause this. I saw VLC and ZipGenius listed and decided to uninstall them. That fixed the right-click issue.

I noticed that the user I have for the service was not listed as having permissions, so I added it to the folder and all subs for SageTV... just in case. Finally, I looked into the ImageTransforms folder and noticed only a single file: resize.js. I ran SageTV for a while, scrolling back and forth and nothing has ever shown up there. The log still shows the same errors.

Assuming image files should be appearing on my client PC (as opposed to the same folder on the server, which also has no images in it), then it would appear we may have a permissions issue, but I'm lost as to how or where. I have UAC turned off and "EVERYONE", "SYSTEM" and the user account used by the service on my server all have full control.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #139  
Old 01-05-2011, 06:42 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
so i mispoke earlier about the image directory sorry about that... the correct directories are ..\cache\imagefactory\TVExplorerBanners and TVExplorerPosters.... (was looking at my server where bmt has not been installed on it (clean v7 install havent fired up bmt yet)... just checked on my desktop and found the cache directory i was looking for... )
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #140  
Old 01-05-2011, 07:01 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
I just updated the phoenix api to the latest (was running an ancient 1.7.something version on my client... yes its been that long since i've done any sage tinkering).... now i am getting the error failed to find a cached image for: blah blah errors...

I deleted (renamed) my TVExplorerBanners directory so that images would be recreated.... Banners are getting created, saved to that folder, and displayed in the stv, but I am getting the same error in the phoenix log (fixed the bracket issue on my end...)

Code:
2011-01-05 19:56:23,320 [AWT-EventQueue-0] ERROR phoenix.impl.ImageAPI - Failed to find a cached image for: \\svr1\Sage\Fanart\TV\Southland\Banners\84645-g.jpg; tag: TVExplorerBanners
I'll need to dig into this and see if i can figure anything out...
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
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
STV Import: Comskip Playback for Default STV (v1.5.4 30/August/2008 for SageTV 5/6) JREkiwi SageTV Customizations 600 11-23-2011 07:58 AM
STV Import: TVExplorer for SageMC razrsharpe SageMC Custom Interface 704 01-23-2011 01:36 PM
STV Import: Auto Compress for version 6 Default STV (V1.4.5 1/October/2008) JREkiwi SageTV Customizations 325 10-15-2010 03:06 PM
STV Import: TVExplorer for the Default STV tmiranda Customization Announcements 0 02-15-2010 06:14 AM
STV Import: Fan Art for Default STV by TiKi (v2.2 Feb 22, 2009) Tiki SageTV Customizations 102 01-05-2010 05:16 PM


All times are GMT -6. The time now is 09:55 AM.


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