SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations

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
  #641  
Old 04-26-2010, 01:12 PM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Hello,

I've attached two files: the output of ps.bat (redericted to a text file from a command prompt) and encoder.log. Ps.bat does produce a list, allthough formatting is a bit odd; you can see it in the file.

Best regards
Attached Files
File Type: zip Copy of encoder.zip (4.7 KB, 100 views)
File Type: zip ps.bat.zip (3.6 KB, 98 views)
Reply With Quote
  #642  
Old 04-26-2010, 03:55 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by scanner95 View Post
Hello,

I've attached two files: the output of ps.bat (redericted to a text file from a command prompt) and encoder.log. Ps.bat does produce a list, allthough formatting is a bit odd; you can see it in the file.

Best regards
Ah Damn. It seems that WMIC does not work properly in XP.
link

A search in google reveals lots of references like this.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #643  
Old 04-27-2010, 01:48 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by scanner95 View Post
No luck .I commented out every line in the batch files, made restart to WFE service, and still exact same behavior...
Don't comment out the "exit" line and give it another go.

I'm preparing a release with a possible fix and a way of configure this feature for different OS.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #644  
Old 04-27-2010, 03:10 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Ok, my bad. I should have thought I'd better leave exit string untouched. Yes, it does appear to work when every line but exit is remarked. Log is attached.

Two older issues, if I may:
1. Any ideas about the automatic EPG issue I have?
2. What is your experience about the network encoder delay property I've mentioned a page or two before? Did it do any good for you? For me in the beginning it seemed to have done the trick, but later on I'm still back to having at least 10 seconds delay on play.

Best regards
Attached Files
File Type: zip encoder1.zip (5.6 KB, 100 views)
Reply With Quote
  #645  
Old 04-29-2010, 02:18 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by scanner95 View Post
Ok, my bad. I should have thought I'd better leave exit string untouched. Yes, it does appear to work when every line but exit is remarked. Log is attached.

Two older issues, if I may:
1. Any ideas about the automatic EPG issue I have?
2. What is your experience about the network encoder delay property I've mentioned a page or two before? Did it do any good for you? For me in the beginning it seemed to have done the trick, but later on I'm still back to having at least 10 seconds delay on play.

Best regards
Hi,

My bad - I told you to comment out everything!

I have another version shortly with attempt to implement process kill in your OS.

Automatic EPG issues. Can you send me encoder.props, and a channel properties file and channel type properties file for a channel you expect EPG for. Also encoder.log covering the period you expected the EPG to run. There might be a clue in there.

I tried changing that property in the Sage.properties but it made no diff. I notice that it is also in the client properties files. I never got around to altering those to much changing at once with all my testing. I will do though.

Sorry for delay in responding - been busy.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #646  
Old 04-29-2010, 11:39 PM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Here are all the files attached. I have no clue when the EPG update is supposed to run; some entries in the wfesageplugin.log suggest it tries to do smth at 10:00 am; but I don't know why.

Best regards
Attached Files
File Type: zip webfeedencoder.zip (45.0 KB, 104 views)
Reply With Quote
  #647  
Old 04-30-2010, 12:51 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by scanner95 View Post
Here are all the files attached. I have no clue when the EPG update is supposed to run; some entries in the wfesageplugin.log suggest it tries to do smth at 10:00 am; but I don't know why.

Best regards
Made some changes that will help diagnose.

Do you want we to post an updated 0.9.6 (my preference) or 0.9.5.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #648  
Old 04-30-2010, 01:20 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Oh, go for 0.9.6; we're already on it.
Reply With Quote
  #649  
Old 04-30-2010, 12:39 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
WebFeedEncoder 0.9.6 (pre-release) Apr 30th

A new update of 0.9.6

WebFeedEncoder 0.9.6 - Apr 30
  • Debug and fixes for scanner 95.
  • Configtool improvements
  • Configtool fixes
  • Sample IP camera channels

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #650  
Old 04-30-2010, 01:38 PM
SteveW's Avatar
SteveW SteveW is online now
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 336
Quote:
Originally Posted by michaeldjcox View Post
A new update of 0.9.6

WebFeedEncoder 0.9.6 - Apr 30
  • Debug and fixes for scanner 95.
  • Configtool improvements
  • Configtool fixes
  • Sample IP camera channels

Michael
Just so I'm clear, at this point, if your Sage server is XP SP3, is the IP Camera portion working?
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, WD Green 2 TB x 1 and WD Red 6 TB x 2 for DVD/Bluray Rips, Music, Home Movies, etc., Sage 9.1.8.770, HDPVR x 2, BellTV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver

Clients: PC Client x 2, HD-300 x 4 (1 Using Netgear MoCA Coax Bridges), Placeshifter x 1
Reply With Quote
  #651  
Old 05-01-2010, 01:07 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Quote:
Originally Posted by michaeldjcox View Post
A new update of 0.9.6

WebFeedEncoder 0.9.6 - Apr 30
  • Debug and fixes for scanner 95.
  • Configtool improvements
  • Configtool fixes
  • Sample IP camera channels

Michael
Thanks,

I made a repair; shall I leave the batch files remarked?
Reply With Quote
  #652  
Old 05-01-2010, 01:23 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Configtool edit channel java exception

With 0.9.6 (not sure, original or the latest), edit channel gives java exception:
Quote:
01.05.2010 10:04:46 AWT-EventQueue-0 uk.co.mdjcox.gui.actions.BaseAction actionPerformed INFO: edit action event
01.05.2010 10:04:46 AWT-EventQueue-0 uk.co.mdjcox.gui.actions.BaseAction actionPerformed INFO: edit view action
01.05.2010 10:04:46 AWT-EventQueue-0 uk.co.mdjcox.config.view.ChannelDialog <init> INFO: Building booking dialog
01.05.2010 10:04:46 AWT-EventQueue-0 uk.co.mdjcox.gui.actions.BaseAction actionPerformed INFO: edit view handle exception
01.05.2010 10:04:46 AWT-EventQueue-0 uk.co.mdjcox.gui.actions.BaseAction handleException SEVERE: edit handle exception
java.lang.NullPointerException
at uk.co.mdjcox.gui.view.MetaDataComboBox$2.compare(MetaDataComboBox.java:86)
at java.util.TreeMap.put(Unknown Source)
at java.util.TreeSet.add(Unknown Source)
at java.util.AbstractCollection.addAll(Unknown Source)
at java.util.TreeSet.addAll(Unknown Source)
at uk.co.mdjcox.gui.view.MetaDataComboBox.setModel(MetaDataComboBox.java:89)
at uk.co.mdjcox.gui.view.MetaDataComboBox.initialise(MetaDataComboBox.java:74)
at uk.co.mdjcox.gui.view.MetaDataComboBox.<init>(MetaDataComboBox.java:33)
at uk.co.mdjcox.config.view.ChannelDialog.<init>(ChannelDialog.java:527)
at uk.co.mdjcox.config.actions.EditChannelAction.performViewAction(EditChannelAction.java:106)
at uk.co.mdjcox.gui.actions.BaseAction.actionPerformed(BaseAction.java:205)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Attached Files
File Type: zip configtool.zip (2.6 KB, 98 views)
Reply With Quote
  #653  
Old 05-01-2010, 04:36 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by SteveW View Post
Just so I'm clear, at this point, if your Sage server is XP SP3, is the IP Camera portion working?
Yes just to be clear.

The old version called to batch files ps.bat and kill.bat. A new feature to ensure VLC dies after detuning.

However they don't work in XP so adn the symptom was that detuning never finished to the 2nd tune would not work.

Now there is a file called commands/os.commands which define for each OS the working command. The commands are called in a different way so they may work in XP.

If not remove the text after = for the relevant OS ps and kill commands and this will disable the kill feature.

The ps.bat and kill.bat are no longer used. You can delete.

The IP camera stuff should work and there are some sample channels.

The only other issue I have is a recent windows update to Vista and 7 seems to have complicated the permissioning and access to directories such that a vlc process appears but does nothing, creates no log file etc. What seem to be going on is that it cannot create the log file. The fix is to make the webfeedencoder dir and all files and sub directories accessible to SYSTEM and user that you run config tool. I just made it accessable to everyone.

Hope this helps.

Will answer other chats later - need to go.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #654  
Old 05-01-2010, 05:13 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
OK, this didn't work, at least for 2003 server which I have. The ps and kill commands are identical for all operating systems; so I had to remove commands from there to make it work.
Attached Files
File Type: zip encoder.zip (4.5 KB, 90 views)
Reply With Quote
  #655  
Old 05-01-2010, 09:13 AM
sic0048 sic0048 is offline
Sage Icon
 
Join Date: Nov 2007
Posts: 1,254
Does the Sage Server need to be stopped to upgrade to the latest beta? I didn't think so, but it wouldn't install for me. Trying on a WHS machine, but I do have version 0.9.5 installed and working.

I've attached a log.
Attached Files
File Type: txt webfeedencoder_0_9_6.txt (162.7 KB, 132 views)
__________________
i5 quad core server with about 10tb of space currently
SageTV v9 (32bit)
Ceton InfiniTV ETH 6 cable card tuner (Charter cable)
OpenDCT
HD-100 HD Extenders
HD-300 HD Extenders
Nvidia Shield using the MiniClient
Using CQC to control it all
Reply With Quote
  #656  
Old 05-01-2010, 09:50 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by sic0048 View Post
Does the Sage Server need to be stopped to upgrade to the latest beta? I didn't think so, but it wouldn't install for me. Trying on a WHS machine, but I do have version 0.9.5 installed and working.

I've attached a log.
Yes the Sage server has to be stopped - Sage.properties are updated.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #657  
Old 05-01-2010, 09:51 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by scanner95 View Post
OK, this didn't work, at least for 2003 server which I have. The ps and kill commands are identical for all operating systems; so I had to remove commands from there to make it work.
OK will need to work out what to use for windows 2003. Its a shame cause the commands are supported I believe - from the command line - but call from another program and they do not return control.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #658  
Old 05-01-2010, 09:59 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Quote:
Originally Posted by scanner95 View Post
With 0.9.6 (not sure, original or the latest), edit channel gives java exception:
Haven't got the code in front of me - but heres a guess...

I think you have your own channel type for mpeg tv. I provided a version of the one you sent me but with a different name.

You can start using the new with a bit of editing of your channel props or...

...you can keep using your original one. If you keep your original one you may need to add a property:

type.name=<some display name for you channel type>

Your problem may not be anything to do with this but check and see.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #659  
Old 05-02-2010, 03:54 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Also for ip camera users...

TV (silent) is the channel type.

It relies on finding a local audio device to supply sound - looking for a microphone.

If the recording has video only then the channel needs a better defaultAudioDevice property set to something than can provide an audio stream.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #660  
Old 05-03-2010, 06:14 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 823
Exclamation Please private message me if...

If you have downloaded WFE 0.9.6 in the last week or so can you please private message me.

Theres a correction your installation may need.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
Reply

Tags
extender, internet video streaming, mvp, online videos, radio


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV and web radio michaeldjcox SageTV Customizations 3 12-01-2008 11:09 AM
STV Import: Simple Web Radio V1.2 koelec SageTV Customizations 294 02-29-2008 12:53 PM
Recording Volume vs. Web Radio / Music FidgetyRat SageTV Software 0 11-29-2006 08:33 AM


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


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