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
  #181  
Old 04-16-2007, 10:11 AM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
Thanks for the reply hemicuda. I do have it setup for UNC paths, the service was working in the past so I'm not sure. I will have to double check which user the service runs under.
__________________

Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64
Client 1: HD-200, Panasonic 42PX75
Client 2: HD-300, Samsung LCD
Client 3: HD-300, Samsung PN50C550
Client 4: MS Surface Pro
Reply With Quote
  #182  
Old 04-16-2007, 01:51 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
Quote:
Originally Posted by hemicuda View Post
after you ran the setup.bat for CSM did you go into control panel.. services and set it to run as a user that has r/w access on the server? also, it won't work with mapped drives. have to use UNC paths. there's a post further up in this thread about how to do that by editing csm.properties.
let's see if I have this right. basically each time one runs setup.bat to change something, it resets the service owner back to Local System. so you'll have to go in to the services CP again to change it back to the user with r/w access. at least this is what I am experiencing.
__________________
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
Reply With Quote
  #183  
Old 04-16-2007, 07:23 PM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
you are correct. it unloads and reloads the service into the list and the batch file doesn't know how to or isn't written to use a specific login. that's why I try to edit the properties file manually. it's not an overly complicated file except for the extra \ needed in paths. must be a java thing.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #184  
Old 04-16-2007, 09:04 PM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
It definitely was the service not set up to run as a user. I didn't realize that it changed after running setup.bat. I think that definitely needs to be a change to the features (if possible). All is working perfectly again.
__________________

Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64
Client 1: HD-200, Panasonic 42PX75
Client 2: HD-300, Samsung LCD
Client 3: HD-300, Samsung PN50C550
Client 4: MS Surface Pro
Reply With Quote
  #185  
Old 06-01-2007, 04:49 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Steep, found an interesting situation while trying to do some tuning of comskip.

I changed cleanup.file.extensions so that the .log files would not be deleted.

Following that, Comskip Monitor continuously runs comskip, reprocessing all my recordings, including all the ones that already have been processed, again and again.

I've tried doing a manual delete of the .log files to see if that stop sit from reprocessing the recordings, but it makes no difference.

Setting the cleanup.file.extensions to include .log files returns Comskip Monitor to it's normal operation of only processing unprocessed recordings.

John
Reply With Quote
  #186  
Old 07-05-2007, 03:15 PM
mightyt's Avatar
mightyt mightyt is offline
Sage Icon
 
Join Date: Jul 2004
Location: CA.
Posts: 1,293
Unhappy Exceptioon Error on Install ??

Downliaded and ran setup ...

DOS Box opened up and gave me the followiong Exception Error ??

Exception in thread "main" java.lang.NoClassDefFoundError: CSMConfig
wrapper | OpenSCManager failed - Access is denied. (0x5)
wrapper | OpenSCManager failed - Access is denied. (0x5)
Press any key to continue . . .
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

Press any key to continue . . .



Note; Running Vista, Sage 6.2.4 Client Beta and Java 6.1.

Any Ideas??

Thanks, T.
Reply With Quote
  #187  
Old 07-06-2007, 07:18 AM
Steep's Avatar
Steep Steep is offline
Sage User
 
Join Date: Sep 2006
Location: Atlanta, GA
Posts: 54
Lightbulb Me no have Vista

Quote:
Originally Posted by mightyt View Post
Downliaded and ran setup ...

Note; Running Vista, Sage 6.2.4 Client Beta and Java 6.1.
I can't think of anything off the top of my head. I'm still running Windows XP at home and work. I don't have access to a Vista box to test on.

You have Java installed correctly since you're getting a Java generated message NoClassDefFound.

CSM =
1) Native Windows program that runs as a service.
2) That service wraps a Java program that just monitors the directories, launches Comskip and cleans up files.
3) Comskip.

I'm guessing the problem has to do with the Windows Service Wrapper #1 which may not work on Vista the same way as XP. If I can ever get my hands on a Vista machine, I can try to test this out, but until then, I'm kind of stuck. Sorry

-Hayden

*UPDATE:
Googled turned up this post at Sun's website about Java services not working.

Looks like only Java ver 5 or 6 is compatible with Vista. CSM is compiled using JVM 1.4 in order to be the most compatible. I can try compiling the program in Java 1.6 and see if that helps.

Last edited by Steep; 07-06-2007 at 07:26 AM.
Reply With Quote
  #188  
Old 07-06-2007, 07:35 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Quote:
Originally Posted by Steep View Post
*UPDATE:
Googled turned up this post at Sun's website about Java services not working.

Looks like only Java ver 5 or 6 is compatible with Vista. CSM is compiled using JVM 1.4 in order to be the most compatible. I can try compiling the program in Java 1.6 and see if that helps.
It can't hurt to have 2 versions on CSM- 1 for JVM 1.4 and another for JVM 1.6. This way everyone can enjoy CSM.
__________________
http://www.hydranterouge.com
Reply With Quote
  #189  
Old 07-06-2007, 08:54 AM
mightyt's Avatar
mightyt mightyt is offline
Sage Icon
 
Join Date: Jul 2004
Location: CA.
Posts: 1,293
Quote:
Originally Posted by Steep View Post
Looks like only Java ver 5 or 6 is compatible with Vista. CSM is compiled using JVM 1.4 in order to be the most compatible. I can try compiling the program in Java 1.6 and see if that helps.
Yes... I did have to upgrade Java to 6.1.1 in order to be compatible with Vista.

I did a poll a while ago ...

http://forums.sagetv.com/forums/show...hlight=comskip

... and everyone talked up your ComSkip Monitor.

I have only had exerience with the ShowAnalyzer / DirMon Comskip, but wanted to give yours a try since it was suppose to be simple and reliable.

If it wouldn't be too much trouble and you can find a box to recompile, that would be great for those of us with Vista. Certainly would be appreciated!

Thanks, T.
Reply With Quote
  #190  
Old 07-06-2007, 12:13 PM
jkohn jkohn is offline
Sage Advanced User
 
Join Date: Oct 2006
Posts: 234
Quote:
Originally Posted by mightyt View Post
Downliaded and ran setup ...

DOS Box opened up and gave me the followiong Exception Error ??

Exception in thread "main" java.lang.NoClassDefFoundError: CSMConfig
wrapper | OpenSCManager failed - Access is denied. (0x5)
wrapper | OpenSCManager failed - Access is denied. (0x5)
Press any key to continue . . .
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

Press any key to continue . . .


A Java
Note; Running Vista, Sage 6.2.4 Client Beta and Java 6.1.

Any Ideas??

Thanks, T.
My guess is that UAC is getting in the way. You probably need to run the setup as an administrator since it's installing a service. I think an app compiled for Java 1.4 should run fine under Java 1.6, aren't the runtimes supposed to be backwards compatible for the most part? Sage 6.x isn't compiled for Java 1.6 after all. I'm running Java 1.6 on my machines and have no problems with Compskip Monitor.
Reply With Quote
  #191  
Old 07-06-2007, 03:10 PM
mightyt's Avatar
mightyt mightyt is offline
Sage Icon
 
Join Date: Jul 2004
Location: CA.
Posts: 1,293
Quote:
Originally Posted by jkohn View Post
My guess is that UAC is getting in the way. You probably need to run the setup as an administrator since it's installing a service. I think an app compiled for Java 1.4 should run fine under Java 1.6, aren't the runtimes supposed to be backwards compatible for the most part? Sage 6.x isn't compiled for Java 1.6 after all. I'm running Java 1.6 on my machines and have no problems with Compskip Monitor.
Good point ... but unfotunately ... same error ...

Thanks, T.
Reply With Quote
  #192  
Old 07-06-2007, 07:47 PM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
would there be an easy way to make CSM wait on autocompress to finish before running? Thanks to the way Sage renames the files the first pass on the original is wasted clock cycles. This may not be possible since I run comskip while recording. Right now I just have one show that gets recompressed to SD from HD, but if there were an easy way to do it I'd try.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #193  
Old 07-07-2007, 08:23 AM
mightyt's Avatar
mightyt mightyt is offline
Sage Icon
 
Join Date: Jul 2004
Location: CA.
Posts: 1,293
Quote:
Originally Posted by Steep View Post
Looks like only Java ver 5 or 6 is compatible with Vista. CSM is compiled using JVM 1.4 in order to be the most compatible. I can try compiling the program in Java 1.6 and see if that helps.
Hayden ...

Not pushing, jut wondering is this a big effort (compiling the program in Java 1.6) and take a while or something that can be done fairly easily?

Thanks, T.

Last edited by mightyt; 07-07-2007 at 08:30 AM.
Reply With Quote
  #194  
Old 08-03-2007, 10:23 AM
kevpriest kevpriest is offline
Sage Advanced User
 
Join Date: Sep 2003
Posts: 100
Just a note to say this solution has been working flawlessly for me for several months now, and my wife just loves the transparency of it. It took me a little while to get everything set up, as I had some confusion with the paths and the owner of the process, but once that was sorted, it's been perfect. Very easy to configure, other than the service ownership.
Reply With Quote
  #195  
Old 10-12-2007, 07:10 AM
Muchacho Muchacho is offline
Sage Advanced User
 
Join Date: Nov 2003
Posts: 202
Is comskip monitor able to start multiple instances of comskip simultaneously? While comskip monitor is working great for me I would like to have multiple shows processed at the same time.

Thanks
Reply With Quote
  #196  
Old 01-24-2008, 02:49 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
I have XP Pro with java 1.6 and my service doesn't start either. Also SageTV is going to start including v1.6 in the installer in 6.3.7RC so I really hope getting java 1.6 support isn't too bad.

I like this Commskip/Monitor combo so much I may find a 1.4 version copy to get my new server going.
Reply With Quote
  #197  
Old 01-24-2008, 05:38 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Make sure you're using a user with a password and admin privileges or the service won't start.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #198  
Old 01-24-2008, 10:12 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Quote:
Originally Posted by CollinR View Post
I like this Commskip/Monitor combo so much I may find a 1.4 version copy to get my new server going.
I'm running XP with the newest versions of sage, comskip, comskip monitor, and java 6. I have no problems with my services. I haven't even had to change the owner at all.
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #199  
Old 01-24-2008, 10:14 AM
lotusvball's Avatar
lotusvball lotusvball is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: PA
Posts: 482
Me too. I even updated to java 1.6 after I had installed comskip monitor. no problems.
__________________
Intel Core Duo 2.5mhz, 2gb RAM
Windows Home Server, Sage 7 beta
2 Hauppauge PVR-250, 1 PVR-500 MCE
1 HDHomeRun
4TB Storage, GB Network
2 MVPs, 1 HD100 & 1 HD300
Reply With Quote
  #200  
Old 01-24-2008, 10:50 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Did you remove the version of java Sage tries to install?

You see I stopped my installation and then manually installed only v1.6 so I don't have 1.2 or 1.4 also installed.


I'm pretty sure the login only effects shared drives and read protected files. However CommSkip Monitor is configured to login using the same user as the SageTV service does.

Here is my config maybe I botched something else.

Code:
#csm.properties
#Wed Jan 23 23:49:22 CST 2008
time.between.checks=1
comskip.config=C\:\\MediaServer\\ComskipMonitor\\comskip79_76\\comskip.ini
process.file.extensions=.mpg, .mpeg
execute.during.record=yes
slow.hours=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24
related.file.extensions=.avi
comskip.parameters=
exclude.hours=
file.directories=\\\\Srv1\\Media, \\\\Srv1\\Media two, \\\\Srv1\\Media Three
cleanup.file.extensions=.txt,.log,.edl,.csv
comskip.location=C\:\\MediaServer\\ComskipMonitor\\comskip79_76\\comskip.exe
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:43 AM.


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