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
  #241  
Old 12-11-2004, 11:17 PM
Bandit Bandit is offline
Sage Advanced User
 
Join Date: Jun 2003
Location: Ohio
Posts: 224
Quote:
Originally Posted by cmaffia
I am such a geek! I hit a wi-fi spot while shopping today and programmed my sage from my Palm. Works great using my Palm's Web Pro
OMFG - I didnt even think of that idea...I just got a new Treo Cell phone so I can now program my sage no matter where I am!!!!!!!!!!
Reply With Quote
  #242  
Old 12-12-2004, 02:35 PM
atari52oo atari52oo is offline
Sage User
 
Join Date: Nov 2004
Location: Portland, OR
Posts: 5
Hack Attempt?

After looking through my sage webserver log today I came across this:

Quote:
[Sat Dec 11 20:08:58 PST 2004] /211.44.124.13 GET /cgi-bin/openwebmail/openwebmail.pl 404| null| Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
[Sat Dec 11 20:09:01 PST 2004] /211.44.124.13 GET /cgi-bin/openwebmail/openwebmail.pl 404| null| Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
[Sat Dec 11 20:09:02 PST 2004] Status-Code 400: Bad Request(empty)
[Sat Dec 11 20:09:02 PST 2004] /211.44.124.13 null null 400| null| null
[Sat Dec 11 21:22:31 PST 2004] /24.131.48.148 GET /scripts/root.exe 404| null| null
[Sat Dec 11 21:22:32 PST 2004] /24.131.48.148 GET /MSADC/root.exe 404| null| null
[Sat Dec 11 21:22:33 PST 2004] /24.131.48.148 GET /c/winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:43 PST 2004] /24.131.48.148 GET /d/winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:44 PST 2004] /24.131.48.148 GET /scripts/..%5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:45 PST 2004] /24.131.48.148 GET /_vti_bin/..%5c../..%5c../..%5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:45 PST 2004] /24.131.48.148 GET /_mem_bin/..%5c../..%5c../..%5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:46 PST 2004] /24.131.48.148 GET /msadc/..%5c../..%5c../..%5c/..Á../..Á../..Á../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:46 PST 2004] /24.131.48.148 GET /scripts/..Á../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:47 PST 2004] /24.131.48.148 GET /scripts/..À/../winnt/system32/cmd.exe 403| null| null
[Sat Dec 11 21:22:47 PST 2004] /24.131.48.148 GET /scripts/..À¯../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:48 PST 2004] /24.131.48.148 GET /scripts/..Á?../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:49 PST 2004] /24.131.48.148 GET /scripts/..5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:51 PST 2004] /24.131.48.148 GET /scripts/..5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:52 PST 2004] /24.131.48.148 GET /scripts/..%5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 21:22:53 PST 2004] /24.131.48.148 GET /scripts/..%2f../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 22:16:11 PST 2004] Status-Code 414: Request-URI Too Long
[Sat Dec 11 22:16:11 PST 2004] /24.80.111.205 null null 414| null| null
[Sat Dec 11 23:39:11 PST 2004] /24.199.122.205 GET /scripts/root.exe 404| null| null
[Sat Dec 11 23:39:11 PST 2004] /24.199.122.205 GET /MSADC/root.exe 404| null| null
[Sat Dec 11 23:39:12 PST 2004] /24.199.122.205 GET /c/winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:12 PST 2004] /24.199.122.205 GET /d/winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:12 PST 2004] /24.199.122.205 GET /scripts/..%5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:13 PST 2004] /24.199.122.205 GET /_vti_bin/..%5c../..%5c../..%5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:14 PST 2004] /24.199.122.205 GET /_mem_bin/..%5c../..%5c../..%5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:15 PST 2004] /24.199.122.205 GET /msadc/..%5c../..%5c../..%5c/..Á../..Á../..Á../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:16 PST 2004] /24.199.122.205 GET /scripts/..Á../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:16 PST 2004] /24.199.122.205 GET /scripts/..À/../winnt/system32/cmd.exe 403| null| null
[Sat Dec 11 23:39:18 PST 2004] /24.199.122.205 GET /scripts/..À¯../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:18 PST 2004] /24.199.122.205 GET /scripts/..Á?../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:19 PST 2004] /24.199.122.205 GET /scripts/..5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:20 PST 2004] /24.199.122.205 GET /scripts/..5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:20 PST 2004] /24.199.122.205 GET /scripts/..%5c../winnt/system32/cmd.exe 404| null| null
[Sat Dec 11 23:39:20 PST 2004] /24.199.122.205 GET /scripts/..%2f../winnt/system32/cmd.exe 404| null| null
Looks like someone is attempting to hack...
Would probably be a good idea for everyone to keep an eye on their logs from time to time.

FYI
__________________
It's better to have and not need, then to need and not have.
Reply With Quote
  #243  
Old 12-12-2004, 04:12 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
There are countless worms, virus and bored schoolkids constantly trying to hack IP addresses at random with no intelligence behind the attacks...

The one with /scripts/... is Nimda
The one that produces Request URI too long is Code Red...
Reply With Quote
  #244  
Old 12-12-2004, 05:19 PM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
Quote:
Originally Posted by nielm
The web server only displays what you would see in Sage Recordings, so archived shows are filtered out...

If you have mapped your video directory to a webserver path, just browsing to the directory http://localhost:8080/videos/ will give you a list of all filenames in the video directory (a messy solution but it will work).
If you put an index.htm inside /videos (in this example) that will display instead of a directory listing. You could create an html doc using the Sage web background and style sheet that links only the current video files. The links would have to be dynamic as the files may be automatically created and deleted (as in tv shows).
Reply With Quote
  #245  
Old 12-13-2004, 03:27 PM
Wheemer's Avatar
Wheemer Wheemer is offline
Sage Icon
 
Join Date: Dec 2004
Location: Deer Lake, NL, Canada
Posts: 1,493
I tried to create a shortcut to the webserver like http://useridassword@localhost:8080/sage/home but it doesn't work.

Is there a way to avoid the username and password prompt from my local computers?

Great work btw!
Reply With Quote
  #246  
Old 12-13-2004, 05:27 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Wheemer
I tried to create a shortcut to the webserver like http://userid:password@localhost:8080/sage/home but it doesn't work.
This will work in everything *EXCEPT* IE (again!) IE blocked user/passwords in URLs because it could be used for URL spoofing, such as of the form: http://www.cnn.com:cnn@sage.tv/... Other more sensible browsers prompt you with an 'Are you sure'
Reply With Quote
  #247  
Old 12-13-2004, 05:35 PM
ellweber ellweber is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: SF Bay Area
Posts: 150
Niel or anyone,

I have everything working very well including SSL encrypted user ID and password. This is really a great contribution to the community. I would sure appreciate some help with the below question. Thanks again..........

Quote:
Originally Posted by ellweber
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
  #248  
Old 12-14-2004, 02:56 AM
Wheemer's Avatar
Wheemer Wheemer is offline
Sage Icon
 
Join Date: Dec 2004
Location: Deer Lake, NL, Canada
Posts: 1,493
I switched to firefox and I am very impressed. So there's still no way to avoid having to click something? I want to set this as my home, but I don't want to have to click something everytime I open the browser.

Thanks, btw, this thing rocks!
Reply With Quote
  #249  
Old 12-14-2004, 03:51 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by ellweber
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.
I hate to say it, but it is in the docs The only problem that you might be having is that if you run the sageTV service, it cannot access mapped drives at all, and can only access network drives as UNC paths (using \\host\share\) if it is configured to start as a real user (not LocalSystem). (I have just updated the wiki to include this!)

Last edited by nielm; 12-14-2004 at 03:57 AM.
Reply With Quote
  #250  
Old 12-14-2004, 03:53 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Wheemer
So there's still no way to avoid having to click something?
Nope, not unless you completely turn off authentication!... There is no way in the webserver backend of specifying a set of hosts which do not require passwords...
Reply With Quote
  #251  
Old 12-14-2004, 11:01 AM
ellweber ellweber is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: SF Bay Area
Posts: 150
Quote:
Originally Posted by nielm
I hate to say it, but it is in the docs The only problem that you might be having is that if you run the sageTV service, it cannot access mapped drives at all, and can only access network drives as UNC paths (using \\host\share\) if it is configured to start as a real user (not LocalSystem). (I have just updated the wiki to include this!)
Thanks for responding Niel,

I am running the Sage service and do realize that the mapped drive syntax is a no-go. That was just my last try before I succumbed to the temptation to ask for help!

I have been reading and rereading the docs and trying many different syntaxes but to no avail. An example would be very helpful to me. In the alias.properties file is it correct to say:

from=/Photos/;dir=file://OtherComputer/photographs Photographs being a shared folder containing my jpegs on a computer named "OtherComputer"

Or should it be:

from=/Photos/;dir=file://192.168.3.6/photographs with 192.168.3.6 being the IP address of the other computer on the LAN

or is "=file://..." an incorrect syntax and is /Photos/ the same as the html link defined in the menu.properties file, and is the trailing "/" needed or not? Oh, in these files when is "/" appropriate and when is "\" needed.

or???

I have tried these and many others and it seems I am just missing the point somehow. I have seen more 404 Not Found messages than I can count!

Also, what do you mean by "real user" in this context?

Sorry if these are dumb questions but I seem to be terminology disadvantaged and without a known working example I am running out of experiments to try.

Best regards,

Lynn
Reply With Quote
  #252  
Old 12-14-2004, 01:58 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
The from= part is from the web page address so needs '/' forward slashes; the dir= part is the normal Windows network path, so needs '\' backslashes, ie
Code:
from=/Pictures;dir=\\OtherComputer\photographs
When I mean a real user, I mean a user account you can log in as (with a password), set up in the control panel applet. You can use your 'own' account, or create an account just for SageTV. I think this is in the sage Docs somewhere
The default configuration for the sageTV service is to use the LocalSystem administration account, which has no network access, so SageTVService would never be able to access \\OtherComputer (you can confirm this by adding \\OtherComputer\photographs as an import library, and see whether they show up in the Picture Library in Sage)

Quote:
Originally Posted by ellweber
I have been reading and rereading the docs and trying many different syntaxes but to no avail. An example would be very helpful to me. In the alias.properties file is it correct to say:

from=/Photos/;dir=file://OtherComputer/photographs Photographs being a shared folder containing my jpegs on a computer named "OtherComputer"

Also, what do you mean by "real user" in this context?
Reply With Quote
  #253  
Old 12-14-2004, 03:17 PM
ellweber ellweber is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: SF Bay Area
Posts: 150
Accessing files on another LAN-connected computer

Hooray!

I have it working now. The login problem was the clue I needed. I had to stop the SageTV Service and reset the account on the Log On tab of the service properties to an alternate account. Then, I still had some lingering syntax problems.

In case it will help someone else, here is what I found to work:

In the aliases.properties file add something like this:

from=/Photos/;dir=\\OtherComputer\Pictures

where /Photos/ corresponds to the link defined in the menu.properties file eg; Photographs=/Photos/. OtherComputer is the computer name set up in Windows and Pictures is the share name for the folder you are trying to access. I did not need to add an entry to the paths.properties file for this to work. I also found that you can substitute an IP address for the computer name, though this may have some risk if you are not using fixed addressing on your LAN.

This is really a fantastic tool. Now, when I am away from home I can still recover files or photos from the mother ship(s), using any browser that has sufficient bandwidth without having to set up a conventional web server! Thanks for all of your efforts and for the help, Niel.

Lynn
Reply With Quote
  #254  
Old 12-14-2004, 04:53 PM
gotuitdan gotuitdan is offline
Sage Advanced User
 
Join Date: Apr 2004
Posts: 105
Neilm,

Something I discovered yesterday. I set several shows to "watched" over the Web, but they didn't seem to take on the server. It was odd. I set several upcoming recordings as "watched" and the Web server properly showed them removed off of the upcoming recordings. When I got home, though, the shows were again listed to be recorded.

hmmm. Maybe it's Sage, maybe it's the Web server. Hard to tell.

thanks for a great application, though! it's been very handy.
Reply With Quote
  #255  
Old 12-15-2004, 09:48 AM
bizarro's Avatar
bizarro bizarro is offline
Sage User
 
Join Date: Sep 2004
Location: Texas
Posts: 53
Take a look at xlobby's graphical interface for pda's to control the main program. This might be something worth adding.
Reply With Quote
  #256  
Old 12-15-2004, 01:29 PM
Snuffy2 Snuffy2 is offline
Sage Advanced User
 
Join Date: Mar 2004
Posts: 93
Multiple Users, different access

I've read the doc on realms.properies, I'm trying to set up a guest account & an admin account that both have acess, but the guest is read only for everything. Below is my attempt, but it seems to give full access to both accounts. Any ideas? I'm sure I'm just doing something wrong, but I can't figure out what.

Thanx

Code:
SageTV Web Interface=/sage,admin:pass

SageTV Web Actions=/sage/Command,read-only
SageTV Web Actions=/sage/AiringCommand,read-only
SageTV Web Actions=/sage/ManualRecord,read-only
SageTV Web Actions=/sage/ResolveConflict,read-only
SageTV Web Actions=/sage/TimedRecord,read-only

SageTV Web Interface=/sage,guest:guest
Reply With Quote
  #257  
Old 12-15-2004, 04:32 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Snuffy2
I've read the doc on realms.properies, I'm trying to set up a guest account & an admin account that both have acess, but the guest is read only for everything. Below is my attempt, but it seems to give full access to both accounts. Any ideas? I'm sure I'm just doing something wrong, but I can't figure out what.
Each line is a user-password definition, so the lines with read-only are not correct (in your case they should also be admin:pass)

Last edited by nielm; 12-17-2004 at 03:45 AM.
Reply With Quote
  #258  
Old 12-15-2004, 04:48 PM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
Did anybody catch post 244 above? I thought this was interesting but I don't know how to html very well. I'd like to create dynamic links to just the *.mpg files and not the *.txt and *.vprj files.
Reply With Quote
  #259  
Old 12-16-2004, 08:54 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
If I run the web server on my client machine, can I use the web interface to start playing music on the client machine?

I'm wondering because my client machine is hooked up to my stereo, and I would like to be able to play music on it, but not have to turn on the TV (in my case projector). So I was hoping I could use my PDA to hit the web server, select the play list, or album I want to play and hit play, but have it play on the client machine.

Is this possible?


EDIT: Well after looking at the web server again, I see that you cannot even see the music on the server, just the video recordings.

Any other ideas?

thanks,
Reply With Quote
  #260  
Old 12-17-2004, 01:12 AM
ToonGal's Avatar
ToonGal ToonGal is offline
Sage Aficionado
 
Join Date: Jan 2004
Location: Bay Area, CA, USA
Posts: 306
As I finalize my packing for my upcoming vacation tomorrow (T minus 16 hours), I'm playing with the SageTV v2.1.10 / Cayars15 / webserver combination to make sure all is well while I'm on the road. So far, so great. Your webserver made it exceptionally intriguing to catch up w/ the rest of you. (Ok, so technically, v2.2.2 / Cayars16betaA are out, but bleeding edge not good for a 2 week trip...)

The webserver is perfect to solve all my needs, as-is. However, in addition to highlighting the entire cell on the grid (as mentioned earlier posts), I have one more suggestion of information that is useful.

The "System Information" screen does have some of the information from it pulled to the web server (i.e. Recording on PVR 'x'), but not all. Most of it isn't of great relevance (i.e. JVM Heap Size), but missing is the EPG update info. This is relevant because my alma mater (UC Berkeley, go Cal!) is playing a major college football bowl game on 12/30, 8pm. My guide is up to 12/28, and I wanted to know when the EPG would be updated.

Turns out I should be at my sister's house to schedule my beloved Cal well before game time, but thought the info from the screen wouldn't be hard to add to the web server.

I swore by your STV for v2.0.x, Nielm, and looks like your webserver justifies my decision to use SageTV as my PVR engine. I love it. Sad to see you're out of the STV biz (Cayars filling in admirably), but happy to see the modular development. Next on the list is an MVP once I get home. Looks like that's another benefit I'll have for getting into v2.1+.

See you in two weeks, gang! Disneyland, here we come!
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.