|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
||||
|
||||
phelme,
Lots of questions for you: 1. Can you post or zip all of the entries in the log file that start with "PFFD:"? 2. Please let me know what version of sagex you are using, it should be 6.6.2. 3. Are there any java errors in the log file? 4. Did you enable the "advanced search" feature? That is slow and will cause the spinning circle for sure. 5. What is your directory structure where the genre fanart is stored? It should be //SageTV-Server/fanart/Genres/<banners, backgrounds, posters> 6. Are you running under Linux? Please let me know so I can debug this further. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#62
|
|||||||
|
|||||||
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I tried again using //SageTV-Server/fanart/Genres/<banners, backgrounds, posters> with no success. From the logs it never is looking in a Genre directory, it's looking in the <banners, backgrounds) directory for <genre>.jpg. Quote:
I'm sure I've borked something somewhere. Thanks for the help!
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders Backup: Synology SageTV version: FINAL |
#63
|
||||
|
||||
The log file will help a lot, thanks. Also thanks for answering my laundry list of questions, that will help too.
Some initial observations: - There is a bug somewhere because there are null pointer exceptions being generated by my code. - There are lots of sagex debug messages going to the log file which will slow things down. I think there is a way to change the "log4j" file to tell sagex to dump less debug info. I don't know how to do that off the top of my head so I suggest searching the sagex and phoenix api threads. I don't think this is the cause of your problems, but it will generally speed things up. - Are you using Dynamic menus? There are loads of java errors that I *think* are being thrown from the Dynamic menu STVi or some other STVi. Can you eliminate all STVi's except for the BMT STVi and the Phoenix fanart STVi? It could be that my STVi is not playing nice with some other STVi's so let's try to narrow that down. - Please look in your .properties file and let me know what the following are set to: pffd/Background_sleep_duration= pffd/advanced_debug= pffd/advanced_matching= pffd/detailed_info_layout= pffd/jump_to_detailed_info= pffd/max_background_retries= pffd/wait_before_background= pffd/wait_before_background_retry= I have to put the kiddies to bed and will not be able to help any further tonight. I'll look more deeply into this tomorrow. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#64
|
||||
|
||||
Tom, just confirming phelme's observation that Recording Detail is very slow when a background is not found.
Quote:
Fixed both of those on my machine by ensuring I had a jpg in both D:\Fanart\Genres\Default\Banners D:\Fanart\Genres\Default\Backgrounds where D:\Fanart is my fanart directory John |
#65
|
||||
|
||||
Thanks John. I'll look into this as soon as real life permits.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#66
|
||||
|
||||
phelme, John,
I can't reproduce these errors at all. I found something else a little odd, but I do not think it relates to what you are describing. Are you running other STVi's or just this one and the BMI/BMT import? Can you take a look in Studio to see if it is importing properly or if you do not want to mess with Studio can you ZIP and attach the STV that results after performing the imports? Thanks, Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#67
|
||||
|
||||
Quote:
pffd/advanced_debug=false pffd/advanced_matching=false pffd/detailed_info_layout=Default pffd/jump_to_detailed_info=false pffd/max_background_retries=150 pffd/wait_before_background_retry=10 yes, I'm using Dynamic menus and others like imdb and CPU watching. I'll pull out all other STVi's and try rerunning.
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders Backup: Synology SageTV version: FINAL |
#68
|
||||
|
||||
Tom, 2 alterations for the Null Exception
Code:
"REM If there is a banner, then print the date / time next to it." [TIKI-20442] If BannerImage!=null If IsFilePath(BannerImage) [TIKI-20443] ........... "REM If there is no banner, then print the title" [TIKI-20449] If BannerImage!=null true If IsFilePath(BannerImage) [TIKI-20450] false [TIKI-20451] AiringTitle = GetAiringTitle(Airing) [TIKI-20452] else AiringTitle = GetAiringTitle(Airing) [TIKI-20452] Might pay to clarify the instructions to ensure that users have a default banner and background available. D:\Fanart\Genres\Default\Banners\banner.jpg D:\Fanart\Genres\Default\Backgrounds\background.jpg where D:\Fanart is my fanart directory John |
#69
|
||||
|
||||
John,
Thanks for debugging my code I actually put in the two checks for a null BannerImage last night, but I did not think it would make a difference. I'll look into step 14 looping issue. I could not get it to loop last night. I see you posted a change to one of your imports. Is there something else I should change to make sure this STVi works with yours? I consider myself an STVi newbie and am always looking for ways to learn and improve things. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#70
|
||||
|
||||
Quote:
Quote:
John |
#71
|
||||
|
||||
John, phelme,
Can you try the attached STVi? It's just the STVi so unzip it directly to SageTV\SageTV\STVs\SageTV3. I think I may have found the issue but I can't test it on my machine. Thanks, Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#72
|
||||
|
||||
Tom, that's got the Null Exception fixed, but the slow video detail panel when there is no background available is still there. I'll try and do some debugging on that for you.
John |
#73
|
||||
|
||||
Tom, looks like the problem with the slow video detail panel is in the Background display code. I don't understand why there needs to be the retry code before displaying the Background panel. I've tried some changes and they seem to work both when there is and isn't a background image available.
Here's a little stvi that you can import to apply the changes. John |
#74
|
||||
|
||||
Thanks John. I have not been able to reproduce the slow background problem and I haven't had a lot of time to get deep into it. I'll take a look at what you did and I'm sure that will point me in the right direction.
I'm at work and can't look at the code, but I'm not sure what you are saying about "retry code". There is a loop within two of the steps where I am looking for actor images, maybe that's what you are refering to? (I stay on the same "Step" while looping through all of the actors to see if I can find a valid image.) I hope to have some time this weekend to look at this. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#75
|
||||
|
||||
John,
Now I see what you mean by retry code, and I also see why the spinning circle is happening. The retry code is to handle the case where the background tries to load before the BeforeMenuLoad hook has had time to look for a background. Without the retry code the background is always blank for a second. Thanks much for the help, Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#76
|
||||
|
||||
John, phelme,
Here is another update that fixes both issues. Please try it out and let me know how it goes. It's just the STVi so unzip to SageTV\SageTV\STVs\SageTV3 and import it instead of the normal Phoenix FanArt STVi. If it fixes your issues I will upload it to the downloads section. phelme - Thanks for pointing out the problem. It was a pretty serious bug , I'm amazed nobody pointed it out sooner. John - Much thanks for all of the help. The fix was easy once I knew where to look. The reason I could not reproduce the problem was because of differences in where IsFilePath() and the phoenix APIs look for images. IsFilePath() seems to execute relative to the server while the phoenix APIs execute relative to the SageClient. I copied all of my fanart from the server to the client so I could delete images without losing the originals and changed the FanArt directory on my client to c:\Program Files\SageTV\.... instead of \\SERVER\SageTV\Fanart. When I did this InFilePath() would find the images on the server (even if I deleted them on the client because the directory structure on my client and server are the same) so I never experienced the delay caused by the loop in the code. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#77
|
|||
|
|||
I was having the same issue and this latest STVi seems to have fixed it.
And thanks for your work on this. |
#78
|
||||
|
||||
Thanks for the feedback and the compliment.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#79
|
||||
|
||||
Tom, that looks like it got it fixed.
Quote:
John |
#80
|
||||
|
||||
Quote:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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: 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: JRMC Media Explorer 2 (Default STV and SageMC) | cncb | SageTV Customizations | 34 | 03-21-2010 11:03 PM |
Phoenix Fanart for the Default STV notification thread | tmiranda | Customization Announcements | 5 | 02-20-2010 04:40 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 |