SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #241  
Old 06-21-2010, 12:06 AM
Mythikal's Avatar
Mythikal Mythikal is offline
Sage Advanced User
 
Join Date: May 2009
Location: MN
Posts: 107
Yay! I have videos! And they stream!
Reply With Quote
  #242  
Old 06-21-2010, 12:09 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Mythikal View Post
Yay! I have videos! And they stream!
Good, only had to sacrifice some metadata...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #243  
Old 06-21-2010, 05:09 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Has this been tested with version 7.0? Are there plugin packages for the required supporting elements?

TIA

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #244  
Old 06-21-2010, 06:09 AM
wado1971's Avatar
wado1971 wado1971 is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Stamford, CT
Posts: 345
This app continued to work fine while I transitioned from v6 to v7
Rob
Reply With Quote
  #245  
Old 06-21-2010, 08:10 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by bcjenkins View Post
Has this been tested with version 7.0?
Yes, multiple reports are saying that it hasn't affected anything, they kept the backward compatibility of the API.


Quote:
Are there plugin packages for the required supporting elements?
The Studio Tool part from GKusnick has, but not the SageTCPServer part... It has been changing too fast to be worth it so far.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #246  
Old 06-21-2010, 05:16 PM
Mythikal's Avatar
Mythikal Mythikal is offline
Sage Advanced User
 
Join Date: May 2009
Location: MN
Posts: 107
Quote:
Originally Posted by Mythikal View Post
The VLC instance doesn't terminate on the server and the "Allow only one instance" setting doesn't seem to matter when calling it from taSageTV.
As a temporary workaround, could you just terminate the current instance before starting a new stream? That would eliminate the headache of having to manually terminate VLC every time.
Reply With Quote
  #247  
Old 06-21-2010, 08:37 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Mythikal View Post
As a temporary workaround, could you just terminate the current instance before starting a new stream?
The issue is that if the single instance isn't working, all I could do is terminate the new instance, not the old one... OTOH, if you add vlc:quit to the init string, that would probably close vlc once it's done streaming...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #248  
Old 06-21-2010, 09:19 PM
Mythikal's Avatar
Mythikal Mythikal is offline
Sage Advanced User
 
Join Date: May 2009
Location: MN
Posts: 107
Quote:
Originally Posted by Fonceur View Post
OTOH, if you add vlc:quit to the init string, that would probably close vlc once it's done streaming...
That might kill VLC when it's done playing, but that doesn't address the issue of multiple instances. However, lookie what I found:

--one-instance

Oh how sweet it is! Just tested it and it works perfectly. Added it to sageTCPServer/streamingVLCOptions.
Reply With Quote
  #249  
Old 06-21-2010, 11:10 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Mythikal View Post
Just tested it and it works perfectly.
Good, probably want to combine both. You could also enable the HTTP interface instead of dummy, and use VLC remote on the android...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #250  
Old 06-21-2010, 11:24 PM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Hey Guys,

I have a Motorola Droid running 2.1. I have seen mention of needing an app that does progressive streaming. Is there one that you guys are using that seems to work well? I'm not all that knowledgeable in this area, so starting with something that is known to work will probably save me a lot of aggravation Thanks!
Reply With Quote
  #251  
Old 06-21-2010, 11:59 PM
Mythikal's Avatar
Mythikal Mythikal is offline
Sage Advanced User
 
Join Date: May 2009
Location: MN
Posts: 107
Quote:
Originally Posted by Fonceur View Post
You could also enable the HTTP interface instead of dummy, and use VLC remote on the android...
I can live with one instance of VLC running. I ran into issues when there were three or four on there. Each instance takes 15%-25% of my CPU. Having three or four of those staying resident with no way to terminate them meant severe performance degradation.

I was also able to get the audio the rest of the way in sync by adding samplerate=22050 to sageTCPServer/streamingTranscodeOptions.

I did finally get VLC v1.0.5 and 1.1.0 to work with different command line options, but they seem glitchy. It's probably my fault, but I'm sticking with v1.0.0 for now until I've had a chance to play with it more.

Quote:
Originally Posted by Brent94Z View Post
I have seen mention of needing an app that does progressive streaming. Is there one that you guys are using that seems to work well?
I'm currently using the streaming app that came with my phone (HTC Streaming Media), but I did try doubleTwist and it seemed to work as well. There are a few others that claim to, but that's the only other one I've tried.
Reply With Quote
  #252  
Old 06-22-2010, 12:21 AM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Quote:
Originally Posted by Mythikal View Post
I'm currently using the streaming app that came with my phone (HTC Streaming Media), but I did try doubleTwist and it seemed to work as well. There are a few others that claim to, but that's the only other one I've tried.
I found doubletwist in the market. I'll look into this and see what it takes to get it up and running. Downloaded it to the phone and will try to figure it out Thanks!
Reply With Quote
  #253  
Old 06-22-2010, 09:15 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Version 1.01

- Updated the default VLC init string. (sageTCPServer)
- Fix: Channels were not handled uniformly.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad

Last edited by Fonceur; 06-23-2010 at 12:12 PM.
Reply With Quote
  #254  
Old 06-22-2010, 09:24 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Mythikal View Post
I was also able to get the audio the rest of the way in sync by adding samplerate=22050
I have included both of your changes + the "vlc:quit", so I would suggest that you make a copy of your current values and try the default ones (i.e. delete the lines from sage.properties)...

Quote:
but I did try doubleTwist and it seemed to work as well.
I got a report that it didn't work, so it's possible that your default HTC Evo app is adding a codec or such that doubleTwist end up using for the streaming...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #255  
Old 06-22-2010, 06:31 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
SageTCPServer version 1.4.6

- Fix: was not escaping ' in a JSON string.
- Fix: was escaping / in JSON when it didn't need to...
- Fix: version was stuck at 1.3.9 due to the lack of clean compile.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad

Last edited by Fonceur; 06-23-2010 at 08:16 AM.
Reply With Quote
  #256  
Old 06-23-2010, 12:59 AM
Mythikal's Avatar
Mythikal Mythikal is offline
Sage Advanced User
 
Join Date: May 2009
Location: MN
Posts: 107
Quote:
Originally Posted by Fonceur View Post
I have included both of your changes + the "vlc:quit", so I would suggest that you make a copy of your current values and try the default ones (i.e. delete the lines from sage.properties)...
TASageTV-1.01 + SageTCPServer-1.4.6

The syntax for vlc:quit seems to be incorrect. I can no longer start a stream. If I pull the command from sagetv_0.txt and run it from the command line, VLC pops up and starts playing the video. If I remove the vlc:quit, it streams normally. I can't seem to override that setting either from sageTCPServer/streamingVLCOptions.
Code:
Wed 6/23 1:42:01.903 [Thread-6@12b940e] [[SageTCPServer-SageServer(local:9250)]]: "C:/Program Files/VideoLAN/VLC/vlc.exe" -I dummy --no-sub-autodetect-file --one-instance "\\server\share\Wallace and Gromit - A Matter of Loaf and Death\Wallace and Gromit in _'A Matter of Loaf and Death_' (2008).divx" vlc:quit :sout=#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=300,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=192,acodec=mp4a,ab=64,samplerate=22050,vb=300,audio-sync}:rtp{dst=myserver,8000,sdp=rtsp://myserver:8000/stream.sdp,mp4a-latm}
Rolled back to taSageTV-1.00 + SageTCPServer-1.4.3 for now.

Quote:
Originally Posted by Fonceur View Post
I got a report that it didn't work, so it's possible that your default HTC Evo app is adding a codec or such that doubleTwist end up using for the streaming...
I was afraid something like that might happen. I'll have a guy at work try it tomorrow on a known working system. If it doesn't work, maybe we can find something that does.

Last edited by Mythikal; 06-23-2010 at 03:10 AM.
Reply With Quote
  #257  
Old 06-23-2010, 08:16 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Mythikal View Post
If I remove the vlc:quit, it streams normally. I can't seem to override that setting either from sageTCPServer/streamingVLCOptions.
OK, I'll get rid of it then. I'll also include the other tweaks you did to the streaming options. It seems the actual command might have been: vlc://quit, as it was changed 2 years ago...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad

Last edited by Fonceur; 06-23-2010 at 12:11 PM.
Reply With Quote
  #258  
Old 06-23-2010, 12:11 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Version 1.02

- Added a Search option.
- Moved the Favorites/Recorded shows/Schedule/Search to their own section.

SageTCPServer 1.4.8

- Fix: the ' was still not properly escaped.
- Added "vlc://quit" to the vlc streaming.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad

Last edited by Fonceur; 06-30-2010 at 09:41 AM.
Reply With Quote
  #259  
Old 06-23-2010, 01:35 PM
Mythikal's Avatar
Mythikal Mythikal is offline
Sage Advanced User
 
Join Date: May 2009
Location: MN
Posts: 107
Quote:
Originally Posted by Fonceur View Post
I got a report that it didn't work, so it's possible that your default HTC Evo app is adding a codec or such that doubleTwist end up using for the streaming...
Confirmed as working on a Hero running 2.1 with no additional players installed. Not working on a G1 running 1.6.
Reply With Quote
  #260  
Old 06-23-2010, 01:55 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Mythikal View Post
Confirmed as working on a Hero running 2.1 with no additional players installed. Not working on a G1 running 1.6.
OK, and it's not just a version problem, as someone with 2.1 was having issues too.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
Reply

Tags
android


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
webserver + vlc + android + streaming = error jrjbertram SageTV Customizations 72 04-11-2010 12:21 PM
Stream video to Android phone via sage web server? cowboyway SageTV Customizations 5 12-13-2009 02:52 PM
Remote control application exponent SageTV Software 1 01-08-2008 09:20 PM
Application Integration rschouten SageTV Studio 0 12-19-2005 11:54 AM
SageTV for Professional A/V Application tdalton SageTV Software 0 06-25-2003 01:17 PM


All times are GMT -6. The time now is 07:02 PM.


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