|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
FilePlaybackFinished not called in Live TV transition
I use R5000 modified Dish Vip211 boxes with Sage. The channel changes take about 15-20 seconds. I want to give some feedback to indicate that the system is loading a show during that wait period.
I have modified my SageMC STV to show an options dialog during this period using the MediaPlayerFileLoadComplete hook. This works well when a show is picked from the guide. The dialog appears immediately and gives good feedback. However, when watching Live TV, and a transition from one show to another occurs, the MediaPlayerFileLoadComplete hook does not get executed until near the end of that 15-20 second period. So, you see the frozen last image of the show for roughly 12-17 seconds, then my dialog shows for about 3 seconds. I thought I might be able to use the FilePlaybackFinished hook to be notified when the transition happens, but it does not get called. I have added debug to all occurences of the hook in the STV, i.e. in the OSD menu and the global hook. And, the SageMC STV sets videoframe/always_call_fileplaybackfinished to true and I've verified that it's still set true throughout execution with debug. The studio documentation says: Quote:
I also tried using the MediaPlayerPlayStateChanged to see if I could use that, but that does not get called at all during the transition. Is there any way I can make this happen earlier in the process? I'm tired of hearing "something's wrong with the TV." |
#2
|
||||
|
||||
One quick question: are you sure that property is true? The default STV always sets it to false, so if you've loaded the default STV since you last set it...
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#3
|
|||
|
|||
Yeah, I printed the value in a debug statement in MediaPlayerFileLoadComplete. It's always true there, so unless it's getting set to false and then back to true in between somewhere, it should always be true. The SageMC STV sets it to true in the ApplicationStarted hook, and I'm not loading any part of the default STV during my development/testing. And I've searched through the STV, and it's not referenced anywhere besids the ApplicationStarted hook. I've restarted Sage many times during the process.
|
#4
|
||||
|
||||
I found out that the Studio docs for that hook are not entirely correct -- the hook won't fire for live TV (as the PDF says) and the property won't override that (not what the PDF says).
It was suggested to me that you consider a forked thread to monitor the status for your customization. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#5
|
|||
|
|||
Ok, thanks for the info. Any idea what property(ies) I can check in my thread to determine when the transition is happening? I noticed in the FilePlaybackFinished hook from the SageMC OSD menu they are checking to see if GetCurrentPlaylist() returns null. Does the Sage core add the next upcoming live show to a playlist when that transition is about to happen?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FilePlaybackFinished | nathanm | SageTV Studio | 4 | 03-30-2007 03:52 PM |
FilePlaybackFinished hook | dflachbart | SageTV Studio | 2 | 09-06-2006 03:05 PM |
Hook which gets called periodically ? | dflachbart | SageTV Studio | 5 | 02-10-2006 12:58 PM |