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
  #1401  
Old 03-13-2007, 12:40 PM
bionicDan's Avatar
bionicDan bionicDan is offline
Sage User
 
Join Date: May 2004
Location: NYC
Posts: 11
Send a message via AIM to bionicDan
VLC and Firefox on Mac

Quote:
Originally Posted by FidgetyRat View Post
Maybe there is another Mac guy that can help me with this one.

I wanted to try to stream a video away from home the other day, but the web server says I need VLC to do this. I already have VLC installed. I can't find any documentation anywhere on how to get Firefox or even Safari to realize that this program does in fact exist

Any suggestions?
I'm not sure how to do this either (and curious). However, I just tested opening the stream's link directly through VLC and it worked nicely.

To do this, I:
  • In SageWeb in your browser, right click on the wvx streaming playlist link and copy it.
  • In VLC (I'm using version 0.8.6a), click File | Open network...
  • Paste the link into the MRL box and click Open.
__________________
Dan Melinger
dan.melinger.net
Reply With Quote
  #1402  
Old 03-15-2007, 08:09 AM
bug1124 bug1124 is offline
Sage User
 
Join Date: Apr 2006
Location: Plano, TX
Posts: 57
Hey everyone,

I am having a problem with the webserver. From work I like to stream music through the export playlists portion of the web interface. At first everything worked fine, the playlist would populate winamp and go through each song on the cd (I have playlists created for every cd). Gradually, songs would start disappearing off of the playlist until just the most frequently played song would remain. There didn't seem to be any pattern and sometimes it would be a song that wasn't even frequently played remaining. So now when I try to access a cd's playlist I only get one or two songs in the playlist. I checked in the local sage and the playlists are complete. I can also search individual songs and get them to play through the web interface. The playlist files themselves are fine if I load them directly (not through the web interface). Any ideas on how to fix this? Thanks!
Reply With Quote
  #1403  
Old 03-19-2007, 11:54 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Nilem,

Currently I run your webserver on all my clients. Which works great I can control each client with webremote. What I would like todo is be able to isssue the stop command to a client using my remote using Girder. I am not sure of the syntax perhaps you can assist me. Is the below correct I would prefer it not open a webbrowser. Just send the command to the client.



h**p://sageclient:8080/sage/SageCommand?context=SAGETV_PROCESS_LOCAL_UI&command=Stop&returnto=webremote.html%3Fcontext%3DSAGETV_PROCESS_LOCAL_UI%26contextname%3DLocal%2520SageTV



Edit:

I was able to do this using wget. I even was able to take it 1 step farther and created a girder GML that would control all my clients. So now at the press of the button I can use MY RF remote to control any Client I wish... with full remote commands even if no remote is attached.

example of my girder command.

C:\wget-1.10.2b\wget.exe h**p://sageclient:8080/sage/SageCommand?context=SAGETV_PROCESS_LOCAL_UI&command=Play
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 03-19-2007 at 07:01 PM.
Reply With Quote
  #1404  
Old 03-20-2007, 04:07 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
New version 2.12, now with Installer!

V2.12 Mar 20 2007 For SageTV 2.2-6.1

ENHANCEMENTS
  • Windows installer package to make installation a breeze
  • UPnP port forwarding support
  • (jreichen) Next Scheduled Recording on Home page
  • (jreichen) Mark Conflicts in Guide, Search Results, and Detailed Info
  • (emok) Added transcoding of video files with VLC for low-bandwidth video streaming (see WebserverTranscode)
BUGFIXES
  • Fixed folder rendering bug on Opera
  • (jreichen) Fix file size on Search Results page (find media file associated with airing)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1405  
Old 03-20-2007, 07:12 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Yay for updates!


1) Does the self installer operate as a working upgrade package, or should I stick with the zip?

2) You wouldn't happen to have a Mac and know how to get VLC to recognize in either Firefox or Safari. I have tried everything I could possibly think of. I had to even edit your code to get the server to recognize that VLC exists! Once I click a video, i get "<no video>" in the little player window. I think it has to do with the mac VLC plugin for firefox, but not sure. Either way, for some reason sage web server won't acknowledge a valid VLC install.
__________________
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
  #1406  
Old 03-20-2007, 08:10 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
1) yes
2) I don't have a Mac, but just download the m3u playlist instead and open it with VLC..
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1407  
Old 03-20-2007, 08:33 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
V2.13 Mar 20 2007 For SageTV 2.2-6.1

BUGFIXES
  • v2.12 only worked with SageTV6, this version should restore backward compatability.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1408  
Old 03-20-2007, 10:19 AM
Neo's Avatar
Neo Neo is online now
Sage Advanced User
 
Join Date: Jan 2005
Location: Gothenburg, Sweden
Posts: 76
Is there any update on the issue with recording quality, (post 1357) ?
__________________
i3-7100T, 8GB, Colossus, HDPVR2-GE+, BGT3620, Antec Fusion Case, Win10 64, SageTV 9.2
Reply With Quote
  #1409  
Old 03-20-2007, 09:39 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Transcode

I tried the transcoding feature and I seem to be having trouble. I Have VLC loaded on My sagebox. Here is the logs from the webserver.

I Can steam un transcoded files fine to my laptop to view through VLC.

Thx

Technazz
Attached Files
File Type: txt Copy of AWS-20070320_065706.log.txt (14.4 KB, 247 views)
Reply With Quote
  #1410  
Old 03-20-2007, 11:10 PM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
Quote:
Originally Posted by technazz View Post
I tried the transcoding feature and I seem to be having trouble. I Have VLC loaded on My sagebox. Here is the logs from the webserver.

I Can steam un transcoded files fine to my laptop to view through VLC.

Thx

Technazz
Technazz,

Do you have any firewall software running? You may need to create an exception for the port range specified in the transcode.properties file, i believe it's 8000-8100 OR allow c:\Program Files\Videolan\VLC\vlc.exe (in addition to sagetv.exe and sagetvclient.exe as an exception so the socket creation is allowed.)

Explanation: The webserver transcode feature works by selecting an available port in the specified port range and kicking off a vlc transcode process for that port. The server then connects to the vlc process on this port and returns the stream back to the requesting client as a response to the original client request.

E

Last edited by emok; 03-20-2007 at 11:16 PM.
Reply With Quote
  #1411  
Old 03-21-2007, 01:26 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Neo View Post
Is there any update on the issue with recording quality, (post 1357) ?
I did try it, but could not reproduce it on my system -- it seemed to work fine (sorry I forgot to reply).
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1412  
Old 03-21-2007, 03:04 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by bug1124 View Post
Hey everyone,

I am having a problem with the webserver. From work I like to stream music through the export playlists portion of the web interface. At first everything worked fine, the playlist would populate winamp and go through each song on the cd (I have playlists created for every cd). Gradually, songs would start disappearing off of the playlist until just the most frequently played song would remain. There didn't seem to be any pattern and sometimes it would be a song that wasn't even frequently played remaining. So now when I try to access a cd's playlist I only get one or two songs in the playlist. I checked in the local sage and the playlists are complete. I can also search individual songs and get them to play through the web interface. The playlist files themselves are fine if I load them directly (not through the web interface). Any ideas on how to fix this? Thanks!
I am not sure I understand whats happening here...

Are the songs disappearing from the playlists stored in Sage (check the playlist contents in the Sage UI), or only from the exported playlists in the webserver?

Are the playlists and exported playlists fine, but the songs are disappearing from Winamp's playlist?
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1413  
Old 03-21-2007, 06:57 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Quote:
Originally Posted by emok View Post
Technazz,

Do you have any firewall software running? You may need to create an exception for the port range specified in the transcode.properties file, i believe it's 8000-8100 OR allow c:\Program Files\Videolan\VLC\vlc.exe (in addition to sagetv.exe and sagetvclient.exe as an exception so the socket creation is allowed.)

Explanation: The webserver transcode feature works by selecting an available port in the specified port range and kicking off a vlc transcode process for that port. The server then connects to the vlc process on this port and returns the stream back to the requesting client as a response to the original client request.

E
Emok,

The windows Firewall was always turned off. I have no other Firewall software. I have a Router Firewall but Im accessing my local network directly so i think that should not affect it. As I said before I can stream no problem to VLC from the webserver but not transcoded files. Im wondering what else it could be?

Thanks

Technazz
Reply With Quote
  #1414  
Old 03-21-2007, 08:51 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Technazz: Which VLC version are you using? If not the latest, have you tried upgrading?
Is your server a bit slow? The webserver retries for 10secs for VLC to startup and generate the transcoded vid, but this may be too little. Try increasing MaxRetries in the properties file..
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1415  
Old 03-21-2007, 09:10 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Quote:
Originally Posted by nielm View Post
Technazz: Which VLC version are you using? If not the latest, have you tried upgrading?
Is your server a bit slow? The webserver retries for 10secs for VLC to startup and generate the transcoded vid, but this may be too little. Try increasing MaxRetries in the properties file..

I'm using the latest VLC .86. My server is a 3000+ AMD with 2 GIG of ram so I dont think its that.
Is there a location where the transcoded file is generated? Maybe I can see if VLC is working.

Ill try increasing the MAXRetries when I get home.

Thanks (this will null out a placeshifter purchase for me)
Technazz
Reply With Quote
  #1416  
Old 03-21-2007, 09:54 AM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
Quote:
Originally Posted by technazz View Post
I'm using the latest VLC .86. My server is a 3000+ AMD with 2 GIG of ram so I dont think its that.
Is there a location where the transcoded file is generated? Maybe I can see if VLC is working.

Ill try increasing the MAXRetries when I get home.

Thanks (this will null out a placeshifter purchase for me)
Technazz
There is actually no temporary transcoded file. The transcoding is done realtime by vlc on the server and the trancoded stream is output onto the specified port on the server.

The error we see in the logs are most likely either:
1) server VLC process could not start for some reason
a) could not create transcoding process streaming to the specified port
b) vlc could not find the specified file
c) possible invalid transcode options
2) sage webserver could not connect to server vlc process on the specified port
a) the internal URL that the webserver is using to connect to the vlc stream is invalid or unreachable

Can you specify:

1) System configuration:
OS:
SageTV version:
SageTV as service?:
Java version:

2) Steps you are using to reproduce (which link you are clicking on?).

Thanks,
E
Reply With Quote
  #1417  
Old 03-21-2007, 09:57 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
The transcoded file as such does not exist. the webserver pulls it from VLC via the loopback network, then forwards it on... The problem you are having is that the websever cannot connect to the transcoding VLC.

Sage's logging may also indicate some issues not all the logging went into the webserver logs...
[Edit: emok beat me to it!]
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #1418  
Old 03-21-2007, 10:18 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Quote:
Originally Posted by emok View Post
There is actually no temporary transcoded file. The transcoding is done realtime by vlc on the server and the trancoded stream is output onto the specified port on the server.

The error we see in the logs are most likely either:
1) server VLC process could not start for some reason
a) could not create transcoding process streaming to the specified port
b) vlc could not find the specified file
c) possible invalid transcode options
2) sage webserver could not connect to server vlc process on the specified port
a) the internal URL that the webserver is using to connect to the vlc stream is invalid or unreachable

Can you specify:

1) System configuration:
OS:
SageTV version:
SageTV as service?:
Java version:

2) Steps you are using to reproduce (which link you are clicking on?).

Thanks,
E
OS:Windows XP Pro SP2
Sage TV Ver 6.1.3
No Service
Java Version 1.6 beta (not the latest)

Im clicking on MPEG2 1 Mbps m3u file saving it and then opening it in VLC
http://192.168.0.100:8080/sagepublic...3D1%26mux%3Dts

Thx

Technazz
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client

Last edited by technazz; 03-21-2007 at 10:36 AM. Reason: signature
Reply With Quote
  #1419  
Old 03-21-2007, 10:30 AM
emok emok is offline
Sage Advanced User
 
Join Date: Jan 2006
Location: San Francisco Bay Area
Posts: 189
Quote:
Originally Posted by technazz View Post
OS:Windows XP Pro SP2
Sage TV Ver 6.1.3
No Service
Java Version 1.6 beta (not the latest)

Im clicking on MPEG2 1 Mbps m3u file saving it and then opening it in VLC
http://192.168.0.100:8080/sagepublic...3D1%26mux%3Dts

Thx

Technazz
Do you see a command window opened up by VLC on the server when you start the playlist from the client?
Reply With Quote
  #1420  
Old 03-21-2007, 10:34 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by emok View Post
Do you see a command window opened up by VLC on the server when you start the playlist from the client?
I disabled that window with the --dummy-quiet VLC option because it breaks full screen exclusive mode
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
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 09:53 PM.


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