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
  #1781  
Old 09-19-2007, 03:03 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by k10ck3r View Post
Something is still odd with the duration, as it seems to grow to values larger that the show duration.
What you see with the duration=recorded so far for currently recordign files is normal -- it represents the current file duration.

It should also grow to more than the airing duration when you are using padding... (airing duration is duration in EPG, there is nothing that shows scheduled recording times including padding)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1782  
Old 09-19-2007, 11:00 AM
Crashless's Avatar
Crashless Crashless is offline
Sage Icon
 
Join Date: Oct 2003
Location: Los Angeles, CA
Posts: 1,224
I have a "little/tiny" feature request: Jump to Live streaming.

I have gotten streaming to work to my windows mobile phone using TCPMP but when trying to check on a football game during a wedding, it isn't practical to watch from the beginning all the time.

Just an idea, the simple fact that it works at all and I have been able to ditch Orb is amazing in and of itself. Thanks nielm!
__________________
Give the Meekell STV a try!
Reply With Quote
  #1783  
Old 09-19-2007, 09:23 PM
k10ck3r k10ck3r is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 129
Quote:
Originally Posted by nielm View Post
What you see with the duration=recorded so far for currently recordign files is normal -- it represents the current file duration.

It should also grow to more than the airing duration when you are using padding... (airing duration is duration in EPG, there is nothing that shows scheduled recording times including padding)
Ok, I see different behavior for this field when playing back recordings from file vs. watching live tv. When watching live tv, this field contains the number of seconds that have elapsed so far. However, when playing back from file, this field contains the total file duration. Would it be possible to change the file playback to work the same as live tv? This way, I can provide status on playback for both types.

Thanks.
Reply With Quote
  #1784  
Old 09-20-2007, 08:02 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
This field shows the number of seconds recorded so far for files currently recording, and the recording duration for previously recorded files.

There is nothing in the webserver that can give you the current playback position... (this is what getstatus was for, and by using a persistant TCP connection, it can do it a lot more efficiently than regularly querying a web server)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1785  
Old 09-20-2007, 08:45 AM
k10ck3r k10ck3r is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 129
ok thanks
Reply With Quote
  #1786  
Old 09-20-2007, 08:49 AM
Stuntman's Avatar
Stuntman Stuntman is offline
Sage Fanatic
 
Join Date: Dec 2003
Location: Hemet, CA - USA
Posts: 784
Feature Suggestion

Would it be possible to 'send message to console'.. what I mean is for you to be able to send a text message to a tv via the webserver... for example, I see my sons are watching something on one of the MVP's right now.. I want to remind them to take a jacket to school today.. would be pretty neat if I could send a popup type message that said so...

Just a thought..

Reply With Quote
  #1787  
Old 09-23-2007, 09:37 AM
sivilya sivilya is offline
Sage User
 
Join Date: Feb 2006
Posts: 52
not working with WHS version

Hi Nielm,

I've got the 6.2.8 version of the WHS server and for some reason I can get the plugin to start... here's what I get in the log files:
[Sun Sep 23 01:10:10 IST 2007] Problem reading throttles file: java.io.IOException: malformed throttle line: ?I?'
[Sun Sep 23 01:10:10 IST 2007] Unexpected problem creating servlet: java.lang.NullPointerException
java.lang.NullPointerException
at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
at javax.servlet.GenericServlet.log(GenericServlet.java:300)
at net.sf.sageplugins.webserver.SageServlet.log(SageServlet.java :50)
at net.sf.sageplugins.webserver.MediaFileServlet.<init>(MediaFileServlet.java:67)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at Acme.Serve.Serve.addServlet(Serve.java:518)
at Acme.Serve.Serve.readServlets(Serve.java:421)
at Acme.Serve.Serve.access$0(Serve.java:347)
at Acme.Serve.Serve$1.run(Serve.java:305)
at java.lang.Thread.run(Unknown Source)

[Sun Sep 23 01:10:10 IST 2007] Unexpected problem creating servlet: java.lang.NullPointerException
java.lang.NullPointerException
at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
at javax.servlet.GenericServlet.log(GenericServlet.java:300)
at net.sf.sageplugins.webserver.SageServlet.log(SageServlet.java :50)
at net.sf.sageplugins.webserver.MediaFileServlet.<init>(MediaFileServlet.java:67)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at Acme.Serve.Serve.addServlet(Serve.java:518)
at Acme.Serve.Serve.readServlets(Serve.java:421)
at Acme.Serve.Serve.access$0(Serve.java:347)
at Acme.Serve.Serve$1.run(Serve.java:305)
at java.lang.Thread.run(Unknown Source)



Any clue ?

Thanks,
Tomer.
Reply With Quote
  #1788  
Old 09-24-2007, 04:53 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by sivilya View Post
Problem reading throttles file: java.io.IOException: malformed throttle line: ?I?'
Your SageTV/webserver/throttles.properties file appears to have some corrupt data in it, and there are bugs in the routine logging this, causing a total failure on startup...

Either empty it, or replace it from the zipfile (I think the file needs to exist otherwise you may have other problems)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1789  
Old 09-25-2007, 03:01 PM
sivilya sivilya is offline
Sage User
 
Join Date: Feb 2006
Posts: 52
Right on the money!

I had my hard drive rescued from an unfortunate accidental format couple of weeks back and some of the files "returned" corrupted.
When I installed the webserver again (the new 2.19 version) I though that it would overwrite any problematic files... well, as you can guess - it didn't.

So, I removed it completly and re-installed - now it works like a charm.

Thanks nielm!

Tomer.
Reply With Quote
  #1790  
Old 10-06-2007, 04:58 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
New Release

V2.20 7 Oct 2007 For SageTV 2.2-6.2

BUGFIXES:
  • Fixed failure to start with corrupt throttles file
  • Use playlist name as filename when exporting playlist
  • Include Media File URL as Enclosure in RSS feeds (enables podcasting)
  • Fix video conversion auto file-naming (was always using old filename+ext)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1791  
Old 10-09-2007, 01:09 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Can anyone help me get this EPG search to work?

I'd like to search for a combination of title/episode information. That is, there is a value that must exist in the title, and, separately, one that must exist in the episode.

Is there a way to get the webserver to allow such a search?

Searching the EPG for both terms doesn't return any hits. Searching for one or the other does.

Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #1792  
Old 10-11-2007, 10:48 AM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
I just used this from my phone for the first time in months (normally used from PC). Last time I used it on the phone, the javascript menu didn't load but there was a fallback menu at the bottom of the screen. Now the fallback menu doesn't appear. Was it dropped?
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #1793  
Old 10-11-2007, 02:19 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by rickgillyon View Post
I just used this from my phone for the first time in months (normally used from PC). Last time I used it on the phone, the javascript menu didn't load but there was a fallback menu at the bottom of the screen. Now the fallback menu doesn't appear. Was it dropped?
Fallback menu is at:
http://mediaserver:8080/sage/menu.html
You should be redirected to that page from
http://mediaserver:8080/sage/
if your browser does not support javascript.

(the fallback menu at the bottom of each page got removed in V2.0, Dec 6 2005)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1794  
Old 10-11-2007, 02:21 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by matt91 View Post
I'd like to search for a combination of title/episode information. That is, there is a value that must exist in the title, and, separately, one that must exist in the episode.

Is there a way to get the webserver to allow such a search?
Not currently.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1795  
Old 10-11-2007, 04:43 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Quote:
Originally Posted by nielm View Post
When I put that into my browser, I get the SageTV logo with the text "Main Menu" underneath. Nothing else, no menu...

Quote:
Originally Posted by nielm View Post
You should be redirected to that page from
http://mediaserver:8080/sage/
if your browser does not support javascript.)
No, I get the standard page but with no menu. Although I must admit, I don't *really* know that my browser doesn't support javascript, I'm just assuming it because I don't get the menu...
It's IE on Windows Mobile 6.

Quote:
Originally Posted by nielm View Post
(the fallback menu at the bottom of each page got removed in V2.0, Dec 6 2005)
Really? Wow, I didn't know I'd been using Sage that long.
I have a new mobile contract with lots of data included, so I've started using IE on the phone a lot more.

BTW, this is surely the greatest Sage add-on ever, don't know how I'd manage without it!
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #1796  
Old 10-11-2007, 07:11 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
maybe try opera mobile?

b
Reply With Quote
  #1797  
Old 10-12-2007, 02:43 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Ok, your browser seems to support some javascript, but not enough to make the meny bar work, and enough to convince my code that it does! (I include a whole load of checks for JS version, but not enough it seems. God I hate cross browser web development!)

That page is editable -- edit SageTV/webserver/webroot/sage/menu.html
Remove everything between <script> and </script>
Remove the <noscript> and </noscript> tags.

Fallback menu should work now.

I actually lied about the fallback menu at the bottom of the page. Pre 2005, there was a hardcoded (html) menu which was repositioned to make the menu bar. After 2005, there was some JS code that auto-creates the fallback menu if the main menu fails, and this JS is also failing. The same JS is used to create the items in menu.html, so both were not working...

I am fully aware that the web browser dows not work well on mobiles. I have 3 issues with modifying it: I dont have a pocketPC or Symbian smartphone, and my mobile data tariff is EUR 0.50/100kb, which makes testing expensive, and simple lack of time to create low bandwidth pages!
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 10-12-2007 at 02:52 AM.
Reply With Quote
  #1798  
Old 10-12-2007, 04:08 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Nielm,

You could also check out an emulator too, if you were interested.

B

Note: I don't have a WM6 phone, just a BB.. Maybe should have linked the BB emulator instead!
Reply With Quote
  #1799  
Old 10-12-2007, 07:11 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by matt91 View Post
Can anyone help me get this EPG search to work?

I'd like to search for a combination of title/episode information. That is, there is a value that must exist in the title, and, separately, one that must exist in the episode.

Is there a way to get the webserver to allow such a search?

Searching the EPG for both terms doesn't return any hits. Searching for one or the other does.

Matt
Quote:
Originally Posted by nielm View Post
Not currently.
I found that I can create a keyword favorite containing both search terms, and it will correctly locate the shows.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #1800  
Old 10-12-2007, 09:53 PM
UFGrayMatter's Avatar
UFGrayMatter UFGrayMatter is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 185
what can I expect if I use:

Code:
/sage/MediaFileCommand?command=WatchNow&context=SAGETV_PROCESS_LOCAL_UI&FileName=xxx
AND Sage is minimized to the tray?

Currently nothing happens. Is there a way to get Sage to maximize and then play?
Reply With Quote
Reply

Tags
web


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
Can't get Web-based User Interface to install SSBrian SageTV Customizations 3 11-04-2008 08:12 PM
Web User interface link for the metadata file. zzmystique SageTV Customizations 0 06-21-2008 02:26 AM
Idea to enhance the Web User Interface: Messaging jbarr SageTV Customizations 3 05-14-2007 03:59 PM
Linkplayer, Linktheater with SageTV Web User Interface fyodor SageTV Customizations 0 10-08-2006 06:03 PM


All times are GMT -6. The time now is 09:53 PM.


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