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
  #81  
Old 06-28-2006, 04:09 PM
popechild popechild is offline
Sage Expert
 
Join Date: May 2006
Posts: 725
Flachbar,
This is a fantastic plugin and something that really should have been in the official Sage, but I digress...

However, I can crash SageMC at will with this installed by not switching between videos the way this import wants me to.

Steps to recreate:
1) Start playing a video. Hit stop. (It only seems to crash when there's already a "stop" point written for the particular video.)
2) Navigate to Recorded TV and start playing a video there.
3) Without stopping Recorded show, navigate back to original imported video and hit play. It should start playing from the last "stop" point with no problems right now, the way it should.
4) This time WITHOUT pressing stop on the imported video, navigate back to Recorded TV and start playing one of the recorded files.
5) Again WITHOUT hitting stop, navigate back to the imported video and hit play.
CRASH.

I don't know how many of these steps are necessary to make it crash, but this is what's reproducable for me. It doesn't seem to mind until there's already a stop point written for a file, then if you start playing it again, navigate to a recorded file (could happen with other imports but I haven't tested that) and back to the imported file it will crash it for me every time.

I can try to remember to hit stop every time, but I'll probably forget at times since that's not the way I typically do it. Anyway, thought you might want to know.

Keep up the good work!
Reply With Quote
  #82  
Old 06-28-2006, 08:40 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by popechild
However, I can crash SageMC at will with this installed by not switching between videos the way this import wants me to.
Hi popechild,

I'll try to look at this tomorrow, or on the weekend the latest. If I can recreate the error, I'll fix this for sure.

What do you mean by "CRASH", is the whole Sage application crashing to the desktop ?


Dirk
Reply With Quote
  #83  
Old 06-29-2006, 12:14 PM
popechild popechild is offline
Sage Expert
 
Join Date: May 2006
Posts: 725
Quote:
Originally Posted by flachbar
Hi popechild,

I'll try to look at this tomorrow, or on the weekend the latest. If I can recreate the error, I'll fix this for sure.

What do you mean by "CRASH", is the whole Sage application crashing to the desktop ?


Dirk
I mean that Sage actually uninstalls itself, gets up out of the htpc and into my car, and actually crashes itself into a wall outside my condo.
No, it just completely locks up Sage and freezes so that it's unresponsive and has to be CTL-ALT-DEL'ed out of. Doesn't bring down the entire computer.
Reply With Quote
  #84  
Old 06-29-2006, 12:18 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by popechild
I mean that Sage actually uninstalls itself, gets up out of the htpc and into my car, and actually crashes itself into a wall outside my condo.
Ah ok, I was wondering if it is odd that my Sage does weird stuff like this and whether I should tell anyone, but I guess not ...
Reply With Quote
  #85  
Old 06-29-2006, 12:24 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Dirk, this is the only thing stopping me from installing this plugin.. Currently, it's not that usable for me. I dont even use the STOP command in sage... I only only use pause or switch to another media to play. In fact, I use the stop button on my remote control to do searches.

PS: Were you able to figure out how to do this for DVD playback?

Thanks in advance!


Quote:
Originally Posted by mkanet
Actually, I wasn't asking for specific support for "previous channel", but something more useful than just detecting when STOP is pressed by the sageTV user.

More accurately, I think it would be better to look for when SageTV integrated media player is stopped (not necessarily when STOP is pressed by the user). For example in typicial scenerios... when switching to liveTV while Imported Videos are being played with the remote control, or when switching to playing a DVD while Imported Videos are being played...

Thanks!
-Michael



That acually makes a lot of sense. I'll consider it ...

Dirk
[IMG]images/buttons/quote.gif[/IMG]
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #86  
Old 06-29-2006, 12:37 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by mkanet
Dirk, this is the only thing stopping me from installing this plugin.. Currently, it's not that usable for me. I dont even use the STOP command in sage... I only only use pause or switch to another media to play. In fact, I use the stop button on my remote control to do searches.
Hi mkanet, don't know if you missed that post, but I already looked into this, couldn't find a solution:

Quote:
Originally Posted by flachbar
Quote:
Originally Posted by mkanet
More accurately, I think it would be better to look for when SageTV integrated media player is stopped (not necessarily when STOP is pressed by the user). For example in typicial scenerios... when switching to liveTV while Imported Videos are being played with the remote control, or when switching to playing a DVD while Imported Videos are being played...
I spent some time on this and tried to get it into the new version, but this doesnt seem to be possible at the moment. The only hook SageTV provides for this purpose seems to be 'MediaPlayerStateChanged()", but I found that it only fires on pause and play, but not on stop ...

Dirk
I could add functionality to the Pause button, if that would help ...

Quote:
Originally Posted by mkanet
PS: Were you able to figure out how to do this for DVD playback?
Well, this is not possible with the Sage API, I'd need to use JNI and COM to get the DVD info from outside. Greg has included a Java-COM library for the WMP interfaces in his WMP plugin, which might ease this task a little. Will be a little while until I can have a look at this though ...

Dirk
Reply With Quote
  #87  
Old 07-01-2006, 09:22 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by popechild
Steps to recreate:
1) Start playing a video. Hit stop. (It only seems to crash when there's already a "stop" point written for the particular video.)
2) Navigate to Recorded TV and start playing a video there.
3) Without stopping Recorded show, navigate back to original imported video and hit play. It should start playing from the last "stop" point with no problems right now, the way it should.
4) This time WITHOUT pressing stop on the imported video, navigate back to Recorded TV and start playing one of the recorded files.
5) Again WITHOUT hitting stop, navigate back to the imported video and hit play.
CRASH.
Hi popechild,

I finally had the time to check this out. Unfortunately, even when I follow the exact steps above I don't get any crash, it works perfectly fine for me ... Where do you use it on, server, client, MVP, or Placeshifter ?

Dirk
Reply With Quote
  #88  
Old 07-02-2006, 01:17 AM
popechild popechild is offline
Sage Expert
 
Join Date: May 2006
Posts: 725
Quote:
Originally Posted by flachbar
Hi popechild,

I finally had the time to check this out. Unfortunately, even when I follow the exact steps above I don't get any crash, it works perfectly fine for me ... Where do you use it on, server, client, MVP, or Placeshifter ?

Dirk
Hmm...maybe I just got "lucky?" It's on the latest version 5 of the server, not running as a service.
Reply With Quote
  #89  
Old 07-10-2006, 09:15 PM
spclbp spclbp is offline
Sage User
 
Join Date: Jul 2006
Posts: 5
This works great for me from the Sage client on the server, but not from my MVP. Stopping an imported video does not update the VideoLibraryTimes.properties file. Any ideas?
Reply With Quote
  #90  
Old 07-10-2006, 10:53 PM
spclbp spclbp is offline
Sage User
 
Join Date: Jul 2006
Posts: 5
Whoops, my bad. Didn't realize that I had to import the STV from each client. Thanks for putting this together.
Reply With Quote
  #91  
Old 07-12-2006, 08:54 PM
spclbp spclbp is offline
Sage User
 
Join Date: Jul 2006
Posts: 5
MVP Locks up after this install

I really like the way this works, but my video locks up occasionally, since I imported this on my MVP client. Anyone else notice this behavior or have any ideas what could be causing it?
Reply With Quote
  #92  
Old 07-15-2006, 12:26 PM
Gaurav's Avatar
Gaurav Gaurav is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Sugar Land, TX
Posts: 205
flachbar - i had tried your import a few months back and it had not worked for me. I tried again today and it works like champ - thanks.

One question - is there a quick way to "forget" the position ? What if i watch a movie for an hour and then the wife shows up and wants to watch from the beginning ?
Reply With Quote
  #93  
Old 07-16-2006, 07:00 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by Gaurav
flachbar - i had tried your import a few months back and it had not worked for me. I tried again today and it works like champ - thanks.

One question - is there a quick way to "forget" the position ? What if i watch a movie for an hour and then the wife shows up and wants to watch from the beginning ?
Nice to hear it now works for you...

Regarding your question: not within the utility itself. I use SageMC, and if I run into this situation I just stop the recording, and SageMC shows a dialog which allows to restart from the beginning. Other than that, the only way to reset it is to delete the corresponding line from the VideoLibraryTimes.properties - seems not really practical though ...

Dirk
Reply With Quote
  #94  
Old 07-16-2006, 08:42 PM
Gaurav's Avatar
Gaurav Gaurav is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Sugar Land, TX
Posts: 205
Quote:
Originally Posted by flachbar
Nice to hear it now works for you...

Regarding your question: not within the utility itself. I use SageMC, and if I run into this situation I just stop the recording, and SageMC shows a dialog which allows to restart from the beginning. Other than that, the only way to reset it is to delete the corresponding line from the VideoLibraryTimes.properties - seems not really practical though ...

Dirk
i prefer to use the stock stv. and editing the file is not an option coz i use MVPs exclusively. It would be so convenient if i could set the file "not watched" just like a regular recording.

i'm not complaining. i think you have filled a major gap. i expect Sage to incorporate the functionality soon. until then..."not forgetting" is better than not remembering at all.
Reply With Quote
  #95  
Old 07-19-2006, 01:26 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Hi Dirk,

I just ran into an issue with this plugin this morning, so I thought I'd pass it along. I have some mpg shows in my video library for my son, which I converted from our TiVo using VideoRedo. This morning I tried to play one of those shows for him, which had previously been watched to completion once. It started within a minute of the end of the program. This normally wouldn't be a problem except I have disabled the stop popup window because it was causing my system to hang at 1920x1080 for some reason. So now there is no way to restart the program from the beginning. I have two thoughts for possible solutions. First, is it possible to add some logic to this plugin so that if the play position is within 5 minutes of the end of the program when stopped, that it would just delete the time entry from the text file? (Essentially disabling the position memory within a few minutes of the end. Maybe the number of minutes could be user configurable?) The second thought is could a 'Play From Beginning' button possibly be added to the program details screen in SageMC? That way if you know you just want to start from the beginning, regardless of the remembered position, you could easily do that with a minimum of steps. I'm just thinking out loud. I may try to add the 'Play From Beginning' button myself if I ever get the chance. Thanks Dirk!

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #96  
Old 07-19-2006, 03:07 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by MeInMaui
Hi Dirk,

I just ran into an issue with this plugin this morning, so I thought I'd pass it along. I have some mpg shows in my video library for my son, which I converted from our TiVo using VideoRedo. This morning I tried to play one of those shows for him, which had previously been watched to completion once. It started within a minute of the end of the program. This normally wouldn't be a problem except I have disabled the stop popup window because it was causing my system to hang at 1920x1080 for some reason. So now there is no way to restart the program from the beginning.
In the regular STV I just fast forward until the video stops at the very end of the program. Then I press stop and the next time I play it is at the begining again. Don't know if the same thing would apply to SageMC or not however.

BobP.
Reply With Quote
  #97  
Old 07-19-2006, 03:25 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
BobPhoenix,

Thanks for the suggestion. Do you actually have to press stop, or will the remembered time reset when the file stops by itself at the end? With these files, the UI returns to the detailed info screen immediately at the end of playback, so there is no opportunity to press stop. If I press stop at all before the end, the remembered position does not reset. I'll have to play with it more later.

Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #98  
Old 07-19-2006, 03:33 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by MeInMaui
BobPhoenix,

Thanks for the suggestion. Do you actually have to press stop, or will the remembered time reset when the file stops by itself at the end? With these files, the UI returns to the detailed info screen immediately at the end of playback, so there is no opportunity to press stop. If I press stop at all before the end, the remembered position does not reset. I'll have to play with it more later.

Mike
The reason I press stop is that I have my MVP setup with video in the background and I see the last frame of the video unless I hit stop. I haven't tried without hitting stop as far as I can remember - sorry.
Reply With Quote
  #99  
Old 07-19-2006, 04:28 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Hi Mike,

Quote:
Originally Posted by MeInMaui
Hi Dirk,
First, is it possible to add some logic to this plugin so that if the play position is within 5 minutes of the end of the program when stopped, that it would just delete the time entry from the text file? (Essentially disabling the position memory within a few minutes of the end. Maybe the number of minutes could be user configurable?) The second thought is could a 'Play From Beginning' button possibly be added to the program details screen in SageMC? That way if you know you just want to start from the beginning, regardless of the remembered position, you could easily do that with a minimum of steps. I'm just thinking out loud. I may try to add the 'Play From Beginning' button myself if I ever get the chance. Thanks Dirk!
I'd prefer the first idea, and think this would be doable. Yell if you still want this feature , don't know when I'll get to it though ...

Dirk
Reply With Quote
  #100  
Old 07-19-2006, 05:29 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Aaaaaaaaaaargh!
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
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


All times are GMT -6. The time now is 02:48 AM.


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