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
  #221  
Old 12-08-2004, 10:02 AM
AndyS AndyS is offline
Sage Aficionado
 
Join Date: Apr 2004
Location: Orange County, CA
Posts: 383
I second the request for Original Air Date, and also a First-Run/Repeat flag if that's possible.

Andy.
Reply With Quote
  #222  
Old 12-08-2004, 11:35 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by nielm
I don't know how to un-archive files -- there is no option in SageTV to do this, but IIRC, some users have had success in un-archiving them when they moved the files do a different video directory (following the procedure in the FAQ).
Take care when doing this, as there is the possibility that you will lose the show information for the files and they will appear in the imported video files (but moving the file back, and restoring the wiz.bin should recover the info)...
Yes, moving a recording will remove its archived status (and will also remove the Manual Recording status). Here is the FAQ entry mentioning it, but please check the caveats noted at the start of the previous entry. The part about it getting moved to the lib is still a mystery, but deletion of moved files should be fixed in the next release. For now, be sure to set the property seeker/clear_partials_and_unwanted_when_ir_off=false if you plan to move anything.


Back to the webserver... I finally figured out how to get through my firewall & am looking forward to using this access the next time I'm travelling.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #223  
Old 12-08-2004, 05:16 PM
wexsmith's Avatar
wexsmith wexsmith is offline
Sage User
 
Join Date: Apr 2004
Location: Disneyland, CA
Posts: 45
nielm, thank you for taking the time to make this. There are many times when I'm at work and a friend says, "Hey you have to watch this show!" Now I can just logon and schedule it to record before I forget about it. Ahh yes...and the most important part; my wife will make good use of this.

"She happy, me happy."
__________________
Dedicated HTPC Specs:
Shuttle SN41G2B | Athlon XP 2600+ 333Mhz FSB | 1GB PC3200 @ 333Mhz| On-Board Audio | Maxtor 120GB 7200RPM 8MB Cache | Seagate 200GB 7200RPM 8MB Cache | GeForce FX5200 128MB | Hauppauge WinTV PVR-250 | NEC 2.4X DVD+R (stealthed)
Reply With Quote
  #224  
Old 12-08-2004, 09:47 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Please forgive what is probably stupidity but......

When I installed webserver, I found it a pain in the rear to use port 8080 and have to enter :8080 in the web address. Besides, I thought it would be cool to use the web server for other things like a family home page with silly pictures of the kids, etc.

So, I changed everything to be port 80 so the port doesn't have to be explicitly entered every time. Now, if you enter the address, it just uses the index.html page in the root directory of nielm's server (sage still isn't referenced -- you have to know the exact URL).

What was the purpose of setting port 8080 as the default instead of port 80?

Stacy
Reply With Quote
  #225  
Old 12-08-2004, 09:47 PM
mdmint's Avatar
mdmint mdmint is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Vancouver, WA USofA
Posts: 877
Question How to use it if Server asleep...

Sounds like the main missing component has arrived, a great new plugin! Haven't installed and tested it yet but from the feedback should be a snap.

Question: does anyone know how it'd be possible to use this feature if using Sage and Hibernate? In other words, how to access my Sage Server remotely if Hibernating. For that matter, how to wake the Server up from a Sage Client...
Reply With Quote
  #226  
Old 12-09-2004, 12:15 AM
DynamoBen DynamoBen is offline
Sage Aficionado
 
Join Date: Nov 2003
Posts: 291
8080 is the normal port number for remote access. Most routers have an admin page that is served out on 8080. 80 is generally only used for serving out webpages accessible to the public. The reason why you can't get right to the sage home page even when it is set to port 80 has to do with security. Take a look at the security section in the wiki for this plug-in.
Reply With Quote
  #227  
Old 12-09-2004, 12:47 AM
Methius's Avatar
Methius Methius is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 124
Well, this plugin works perfect, only one downside:
Since installment, my pc won't go into standby anymore on its own.

Any help on that?
Reply With Quote
  #228  
Old 12-09-2004, 03:40 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Methius
Since installment, my pc won't go into standby anymore on its own.
I cannot think of any reason why the webserver would cause this - if nothing is connecting it should be idle... but then I cannot test it either because my system cannot do S1/S3!
Reply With Quote
  #229  
Old 12-09-2004, 04:18 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by srothwell
What was the purpose of setting port 8080 as the default instead of port 80?
I already had a webserver running at port 80, so needed to use another port, and from the logs, I get frequent hack attempts with people trying buffer overflow attacks, trying to use it as an open proxy, trying to find whats available, trying to access webmail accounts (extract from my logs below)... Moving it to a less frequently attacked port was just an extra security consideration.

So, yes 8080 is extra typing, but thats what bookmarks/favorites are for

Code:
84.112.25.16 - - [25/Sep/2004:00:42:59 +0200] "CONNECT 1.3.3.7:1337 HTTP/1.0" 403 271
195.92.95.37 - - [25/Sep/2004:02:00:39 +0200] "HEAD /icons/apache_pb.gif HTTP/1.0" 200 0
212.89.8.121 - - [25/Sep/2004:12:45:19 +0200] "GET /scripts/nsiislog.dll" 403 -
61.72.49.67 - - [26/Sep/2004:03:20:26 +0200] "GET /scripts/..%255c%255c../winnt/system32/cmd.exe?/c+
212.186.16.149 - - [27/Sep/2004:01:34:03 +0200] "SEARCH /\x90\x02\xb1\x02\xb1\x02\xb1\x02\xb1\x02\xb
69.41.168.16 - - [27/Sep/2004:03:35:30 +0200] "CONNECT 69.41.168.16:80 HTTP/1.0"  403 271
202.159.228.131 - - [27/Sep/2004:14:15:07 +0200] "GET /sumthin HTTP/1.0" 403 278
205.177.252.110 - - [27/Sep/2004:14:35:24 +0200] "CONNECT 1.3.3.7:1337 HTTP/1.0"  403 271

Last edited by nielm; 12-09-2004 at 06:48 AM.
Reply With Quote
  #230  
Old 12-09-2004, 04:23 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by mdmint
Question: does anyone know how it'd be possible to use this feature if using Sage and Hibernate? In other words, how to access my Sage Server remotely if Hibernating.
simple answer: you can't!
Quote:
For that matter, how to wake the Server up from a Sage Client...
IF the server is on the local network, and supports 'wake up on LAN', then you can run a program to send the 'magic wakeup packet' to ther server to wake it up...
http://gsd.di.uminho.pt/jpo/software...ini-howto.html
Reply With Quote
  #231  
Old 12-09-2004, 05:43 AM
Methius's Avatar
Methius Methius is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 124
Nevermind, I reinstalled the plugin, restarted the pc and now it works like a charm!

Thanks for this plugin, great work!
Reply With Quote
  #232  
Old 12-10-2004, 02:10 AM
mdmint's Avatar
mdmint mdmint is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Vancouver, WA USofA
Posts: 877
Quote:
Originally Posted by mdmint
Question: does anyone know how it'd be possible to use this feature if using Sage and Hibernate? In other words, how to access my Sage Server remotely if Hibernating.
Quote:
Originally Posted by nielm
simple answer: you can't!
I think I've thought of a way it may be done, WOR - wake on ring. Install a cheap modem! Call it first to wake up Server then come in via Internet. (hopefully not via modem )
Quote:
Originally Posted by nielm
IF the server is on the local network, and supports 'wake up on LAN', then you can run a program to send the 'magic wakeup packet' to ther server to wake it up...
http://gsd.di.uminho.pt/jpo/software...ini-howto.html
Unfortunately I don't think I can get any of this to work since I'm using hibernate rather than standby but am going to try. Server hardware (like raid controllers) aren't designed to support sleep mode so when I try standby all 8 HDs keep spinning and their 6 cooling fans are going too and PS(s) {redundant} on. BTW comes out & returns to and from hibernate fine for sched recordings so far.
Reply With Quote
  #233  
Old 12-10-2004, 02:27 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Some systems leave the LAN powered even on hibernate (My EPIA does, even though WOL does not work!)...
Reply With Quote
  #234  
Old 12-10-2004, 11:33 AM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Hey, Neil,...

I just came home froma trip and found the log file for the webserver had some errors in it. Everything works remotely and I saw no errors, though.

Here is the log..... can you tell what's wrong?

Stacy

[Wed Dec 08 00:01:23 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 00:05:41 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 00:08:40 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 00:10:17 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 00:11:22 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 00:11:35 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 00:11:36 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 04:07:47 EST 2004] Status-Code 414: Request-URI Too Long
[Wed Dec 08 13:46:00 EST 2004] Status-Code 414: Request-URI Too Long
[Wed Dec 08 15:15:10 EST 2004] Status-Code 414: Request-URI Too Long
[Wed Dec 08 18:50:17 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 20:29:57 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 20:30:23 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 20:30:23 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 20:30:50 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 21:15:45 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 21:15:52 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 22:59:57 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 23:14:43 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 23:16:29 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 23:21:15 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 23:21:33 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Wed Dec 08 23:25:03 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 23:26:56 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 23:31:34 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Wed Dec 08 23:43:38 EST 2004] Status-Code 414: Request-URI Too Long
[Thu Dec 09 01:48:00 EST 2004] Status-Code 400: Bad Request(empty)
[Thu Dec 09 01:48:00 EST 2004] Status-Code 414: Request-URI Too Long
[Thu Dec 09 03:12:19 EST 2004] Status-Code 414: Request-URI Too Long
[Thu Dec 09 08:42:55 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Thu Dec 09 08:43:24 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Thu Dec 09 08:43:37 EST 2004] /sage/Recordings: invalid value: 'GetShowExternalID' found for option: sagetv_recordings_sort using defaults
[Thu Dec 09 18:06:31 EST 2004] Status-Code 414: Request-URI Too Long
[Thu Dec 09 21:34:48 EST 2004] IO problem running servlet: java.net.SocketException: Connection reset by peer: socket write error
[Thu Dec 09 23:51:10 EST 2004] Status-Code 414: Request-URI Too Long
[Fri Dec 10 00:59:42 EST 2004] Status-Code 414: Request-URI Too Long
[Fri Dec 10 12:26:35 EST 2004] Status-Code 414: Request-URI Too Long
Reply With Quote
  #235  
Old 12-10-2004, 11:46 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
turn on access logging and you will see that the bad request/uri too long are hack attempts, like in my post above!

Connection reset by peer is the user cancelling the request while data is being transmitted (I should hide that, it is not really an error)
and invalid value for option means that the sort order in sage.properties or the cookie in the webserver is set to an invalid value, and it is falling back to the default value...
Reply With Quote
  #236  
Old 12-10-2004, 01:54 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Quote:
Originally Posted by nielm
turn on access logging and you will see that the bad request/uri too long are hack attempts, like in my post above!
How do you turn on access logging? Tried a forum search but couldn't find it.
Reply With Quote
  #237  
Old 12-10-2004, 02:04 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
try the docs - Advanced server configuration
Reply With Quote
  #238  
Old 12-10-2004, 02:23 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Quote:
Originally Posted by nielm
try the docs - Advanced server configuration
Reply With Quote
  #239  
Old 12-10-2004, 04:14 PM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
Last night I set up the ability to link to recordings from the details page and also setup links to files in other folders as well. I first defined an alias then a path and then added a menu item in menu.properties. This all works great and I am very impressed so I went a little further. Let me give the details first.

Added in alias.properties: from=/MP3;dir=\\192.168.1.4\MP3\
Added in paths.properties: \\192.168.1.4\MP3\=http:/MP3/
Added in menu.properties: MP3's=/MP3/

Like I said before this works perfect and gives me a directory listing of /Sage/MP3/ but I added a basic index.htm to the MP3 folder and now I get that displayed instead of a directory listing. This means A) You could set up a folder purely for a non-Sage related web site and B) You could write the index.htm to link to the MP3/Video files using the graphics and other elements from the Sage webserver and avoid the directory listing.

I want to do B) but I don't know much HTML and thus don't know how to write the code that links to the various files without knowing in advance what those files are.

For example if you were to do this in SageRecordings the current directory listing shows everything including comskip.txt and comskip.vprj files as well as the show.mpg files. I would like to show just the show.mpg files using an index.htm but here I run into the problem that the file links are static and the show.mpg files are being created and deleted constantly. Is there a way to create dynamic links to all the current show.mpg's and not to any other files?
Reply With Quote
  #240  
Old 12-11-2004, 10:10 PM
ellweber ellweber is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: SF Bay Area
Posts: 150
How to access mapped network drive

I've tried lots of different syntax for aliases and paths but I can't seem to get outside the same computer the web server is on to get to files on a locally mapped network drive.

I just want to use the Sage webserver (great job Niel) to get to some JPEGs that are in a folder on a second computer that I have shared and mapped as "Q:" on my Sage computer. I can access everything on the Sage computer successfully.

Could someone who has succeeded in doing this post some examples of the proper syntax for the aliases.properties and/or paths.properties files.

Thanks,

Lynn
Reply With Quote
Reply

Tags
web


Currently Active Users Viewing This Thread: 2 (0 members and 2 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 02:49 PM.


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