|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#301
|
||||
|
||||
Quote:
Glad you got it to build and working. I'm just as stuck as you on resuming a DVD. There must be a way to do it, but I sure haven't figured it out. What it tries to do now is after playback starts it tries to set the title and chapter to the values that were saved when playback stopped, but that's not working. Now that you can build the jar you can play around with it and hopefully find a solution. (And have some fun along the way.) 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. |
#302
|
|||
|
|||
Something interesting I just noticed, looking at a DVD using Sage Webserver:
Episode: The Dilemma Aired: Jul 16, 2011 3:53 PM - 3:53 PM Duration: 0 m Looks like they couldn't figure out how to tell duration with it either. One thing that is interesting: Internal details: MediaFileID=9005048 , AiringID=9005069 I noticed that these 2 values are different. Have your tried playing with the AiringID instead of the MediaFileID or vice versa? I would think MediaFileID would be the correct one to use, but just wanted to figure out what you have already done before I tackle this project. Thanks * moved DVD length discussion to that topic *
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#303
|
|||
|
|||
Tom,
I got watched status working for both regular content, recordings, and DVD's. You were actually already grabbing the DVD duration with the following command: Code:
Long Duration = (Long)eventVars.get("Duration"); Code:
long duration = MediaFileAPI.IsDVD(MediaFile) ? MediaTime : MediaTime - sagex.api.AiringAPI.GetAiringStartTime(MediaFile); Next project, get DVD playback to work properly.
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#304
|
|||
|
|||
Tom,
I'm going to need some assistance following your code. From what I can tell, the correct value should be set for DVD playback. I believe the code before set the end of the DVD as the resume playback position which resulted in the video restarting from the beginning. I created some new functions specific for DVD and I can see my functions in the log having the correct value, but playback is still starting at the beginning. Mainly, I just want you to confirm that my new functions should be set in the database and to also verify I didn't miss any sections that need to be updated as well. I have attached the Netbeans folder which has the latest build of the jar as well. The only 4 files that I touched are API.java, Plugin.java, MultiMediaFile.java, and MultiObject.java. I actually don't think I did anything with API.java, but I might have, so including that in the list. Here are some of the log entries to show the correct values being set: Code:
Sat 8/6 0:51:27.935 [PluginEventQueue@177c8ac] MUS: setDVDWatchedDuration: Setting to 7000 for JasonSarah Sat 8/6 0:51:27.936 [PluginEventQueue@177c8ac] MUS: setRealWatchedEndTime: Setting to Saturday, August 6, 2011 - 12:51:27 AM PDT <1312617087936> for JasonSarah Sat 8/6 0:51:28.014 [PluginEventQueue@177c8ac] MUS: setWatchedEndTime: Setting to Wednesday, December 31, 1969 - 4:00:07 PM PST <7000> for JasonSarah Sat 8/6 0:51:28.016 [PluginEventQueue@177c8ac] MUS: sageEvent: Setting MMF info for User=JasonSarah MediaTime=7000 WatchedDuration=7000 Chapter=1 Title=1 Sat 8/6 0:51:28.016 [PluginEventQueue@177c8ac] MUS: sageEvent: DVDPlaybackStopped Sat 8/6 0:51:28.016 [PluginEventQueue@177c8ac] MUS: sageEvent: DVDPlaybackStopped. Duration = 6025000 MediaTime = 7000 I now have all of these values, so hopefully setting them in the correct place will be all that we need. Your assistance is greatly appreciated! Jason
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#305
|
||||
|
||||
I'm not sure I know what you are asking. The log snippit indicates to me that you are setting the values correctly.
__________________
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. |
#306
|
|||
|
|||
I'm asking for you to check and verify that the database should be getting updated with those values. Is there an easy way to query the database so I can see what is set, etc.
Thanks
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#307
|
||||
|
||||
Quote:
MMF = new MultiMediaFile(sageMediaFile, user), then MMF.getRealWatchedEndTime(), MMF.getDuration(), etc. To see a list of the methods look in MultiObject.java and MultiMediaFile.java. The methods in MultiObject can be used on MediaFiles, Airings, and Favorites. The methods in MultiMediaFile can only be used on MediaFiles.
__________________
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. |
#308
|
|||
|
|||
I got DVD resume playback working as expected!!!!! The solution was easy once I figured out what was needed. Code:
sagex.api.MediaPlayerAPI.Seek I'm so excited! I'm just doing some additional testing with my videos and once I'm confident, everything is working as expected, I will provide the code so you can update the repository. Jason
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#309
|
||||
|
||||
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. |
#310
|
|||
|
|||
Never mind, I did a fresh install on a new computer and did my testing over there. Once I moved it over to my production server, it doesn't work at all. I guess I need to go back to the drawing board.
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#311
|
|||
|
|||
Quote:
I'm still doing some testing as the solution works perfectly on the clean system, but I have a few glitches on my production system that I'm trying to iron out. Also, were there any other updates/features that you wanted to implement, but didn't have the time? Thanks
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#312
|
||||
|
||||
None that I can think of.
__________________
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. |
#313
|
|||
|
|||
Where does the sorting take place. I thought I might take a crack at why the sorting doesn't work as expected in the folder layout screen.
Also, in your experience with this plugin, any idea why our stop time lets say is at 30 seconds, our seek time is 30 seconds, but sage jumps to 45 seconds? This is an issue I'm having with my production box. My dev machine works perfectly, so I'm guessing it is one of my plugins. I thought I might try the multi-user support plugin updater that makes plugins work with the plugin, but for some reason, Users is not showing up anymore, but I now have a BMT Metadata Scan option, so I'm thinking Users is off the screen. I've attached a screen shot. Thanks
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#314
|
||||
|
||||
Quote:
Looking at your screenshot I do think Users is off the screen. You should be able to hit "down" and then "Right" and have the menu pop up. (Because the entry is on the list, you just can't see it.) You can also install the "Scrolling Setup" plugin which puts a scroll bar on the right side. As for the 30 second issue - I have no clue!
__________________
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. |
#315
|
|||
|
|||
Quote:
Thanks
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#316
|
||||
|
||||
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. |
#317
|
|||
|
|||
Tom,
I'm not having any luck figuring out the why resume playback works perfectly on a clean install, but not on my server. Do you think you can release my code and see if there are any bugs in my code as well as see if the DVD resume works for everyone else? Thanks
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#318
|
||||
|
||||
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. |
#319
|
|||
|
|||
Please see attached.
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
#320
|
|||
|
|||
Tom,
Is there any update on this? I haven't seen a notification to update so I wasn't sure if this ever got done. Thanks
__________________
Server - Windows Home Server: Sage 7.1.9 HVR-2250 and HD Homerun Dual Tuner, Intel Core2Duo 2.4GHz, RAM 4 GB, HD OS/Movies/Music/Pictures:500GB (SATAII) TV:1TB (SATAII), Clients - 2 x HD-300, 3 x MediaMVP |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TV Explorer for the Default STV - Testers Needed | tmiranda | SageTV Customizations | 60 | 09-18-2009 10:52 AM |
Restricted Access STVi - Testers Needed | tmiranda | SageTV Customizations | 10 | 08-25-2009 05:01 PM |
Plugin: SJQ v1.1.0RC1 Available - Testers Needed | Slugger | SageTV Customizations | 35 | 04-21-2008 08:12 AM |
Beta Testers needed for SageTV for Mac OS X!! | Narflex | SageTV Beta Test Software | 39 | 04-11-2007 03:47 PM |