SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations

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
  #561  
Old 11-18-2010, 02:22 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by dlevey View Post
The point is to have one app that does it all well, like sagetv does for the end points it supports.
Well, technically SageTV makes use of a lot of third party plugins and such to try and fulfill everyone's needs, as they don't have the resources to do everything themselves and reinvent the wheel over and over. As a single developer with another dozen projects going on, I have even less resources. While I do see the interest for streaming, it is not the focus of my application.

I don't mind off-loading the streaming to another streaming server + media player, but so far the offerings have not been impressing...

Quote:
I would say that with this product you have a good start. I would just like to see it taken to the next logical level.
Which goes back to the limited resources. I am happy to fix issues, add features and so on, but some things are harder than others...
__________________
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
  #562  
Old 11-18-2010, 02:59 PM
CyRex CyRex is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Middletown, CT
Posts: 297
Quote:
Originally Posted by Fonceur View Post
Hmm, that looks interesting! So far I've had no luck when I contacted Air Video, Orb, ZumoCast and so on, but since that project is open source, I might be able to submit a patch or something to enable what I'd need, if it's not already in it...
I haven't spent too much time digging into Subsonic's API, but people have created fully functional desktop and web apps using it. Not sure what functionality you'd require - what exactly are you envisioning?

The subsonic server re-encodes the audio on-the-fly, and each "player" device can specify it's own bit rate. I've been using it for a few months now, and it has been extremely stable, not to mention lightweight and fast.

-Dan
Reply With Quote
  #563  
Old 11-18-2010, 03:27 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by CyRex View Post
Not sure what functionality you'd require - what exactly are you envisioning?
Basically, I'd like to pass a filename and get a stream back... From what I saw of the API, it expects an ID for the file (based on its own indexing), and will return a stream.
__________________
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
  #564  
Old 11-18-2010, 03:47 PM
CyRex CyRex is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Middletown, CT
Posts: 297
Quote:
Originally Posted by Fonceur View Post
Basically, I'd like to pass a filename and get a stream back... From what I saw of the API, it expects an ID for the file (based on its own indexing), and will return a stream.
Gotcha. Seems like it would be pretty easy to provide a search by path API method that would return the song ID, or just create the stream based on the path like you suggested.

-Dan
Reply With Quote
  #565  
Old 11-18-2010, 04:39 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by CyRex View Post
Gotcha. Seems like it would be pretty easy to provide a search by path API method that would return the song ID
Right, I can use their search2 method, to grab the ID, and then stream it... Assuming SageTV and Subsonic have matching metadata, which they should...

I am also looking at using an Icecast streaming server, though that does seem to require another Android app for playback.
__________________
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
  #566  
Old 11-18-2010, 04:55 PM
George M George M is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 115
Quote:
Originally Posted by Fonceur View Post
Sounds like you lost connection during the sync, or the metadata in one list choked the parsing... Something that a log could tell... I'd suggest wiping the database and to resync one section at a time.
Resyncing one at a time did the trick. Now I can spend some time playing with it.
__________________
Thanks
GM
Reply With Quote
  #567  
Old 11-18-2010, 05:31 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by TechBill View Post
I stream perfectly inside LAN but when I go out and use 3G or Wifi elsewhere it connects to my SageTV fine but it give "Video cannot be played" message when I try to stream
Just some random findings which might or might not be related:

- It seems that on some phones, to stream over 3G you still need to keep the wifi antenna on.

- The port 5554 works better than 554 on some phones...
__________________
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
  #568  
Old 11-19-2010, 08:58 AM
CyRex CyRex is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Middletown, CT
Posts: 297
Quote:
Originally Posted by Fonceur View Post
Right, I can use their search2 method, to grab the ID, and then stream it... Assuming SageTV and Subsonic have matching metadata, which they should...

I am also looking at using an Icecast streaming server, though that does seem to require another Android app for playback.
I did a little playing around with search2 and figured you might be interested in seeing the actual response from the server. This was for a query string of "Beatles She Loves You" with albumCount=0, artistCount=1, and songCount=1.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.4.0">
  <searchResult2>
    <song id="5c5c686f6d657365727665725c6d757369635c54686520426561746c65735c315c303320536865204c6f76657320596f752e6d7033" parent="5c5c686f6d657365727665725c6d757369635c54686520426561746c65735c31" title="She Loves You" isDir="false" album="1" artist="The Beatles" duration="141" bitRate="128" track="3" year="1963" genre="Pop" size="2269523" suffix="mp3" contentType="audio/mpeg" coverArt="5c5c686f6d657365727665725c6d757369635c54686520426561746c65735c315c3031204c6f7665204d6520446f2e6d7033" path="The Beatles/1/03 She Loves You.mp3"/>
  </searchResult2>
</subsonic-response>
The responses include the path to the song, so worst case you could always parse the result set and search for the correct file.

-Dan
Reply With Quote
  #569  
Old 11-19-2010, 09:37 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by CyRex View Post
I did a little playing around with search2 and figured you might be interested in seeing the actual response from the server.
Thanks! That id is impressive...
__________________
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
  #570  
Old 11-19-2010, 09:46 AM
CyRex CyRex is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Middletown, CT
Posts: 297
Quote:
Originally Posted by Fonceur View Post
Thanks! That id is impressive...
No kidding! Looks like it's a concatenation of the folder ID and the song ID, but calling it overkill would be an understatement.
Reply With Quote
  #571  
Old 11-22-2010, 11:53 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
For the streaming, the usual suspects (Air Video, Orb, ZumoCast, etc.) have not shown much interest in making it possible for a third party app to launch the streaming... OTOH, I did find a more receptive ear with the author of VLC stream & convert...

So I would suggest that you try out this Android streaming application. If the results are good, maybe drop the author a note to encourage him into adding Intent filtes making it possible for third party applications to start a stream from a file name...
__________________
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
  #572  
Old 11-25-2010, 12:09 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Version 1.28

- Fix: The TCP listening thread could come out of sleep mode in a bad state.
__________________
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
  #573  
Old 11-25-2010, 02:05 PM
blair_42's Avatar
blair_42 blair_42 is offline
Sage User
 
Join Date: Dec 2009
Location: Iowa
Posts: 13
Help getting TASageTV going

Hi, I'd like to get this going. I am a relatively new Droid2 owner. I am currently away from home and have my HD200 with me but I forgot my remote, which is highly annoying.

The TASageTV page at http://talluscorp.com/mediawiki/inde...TV_Application says that SageTV version 7 is required. I have 6.6. I don't want to upgrade if I don't have to. I don't know what version 7 would offer me that 6 does not.

The first problem I run into is with the wiki instructions at http://talluscorp.com/mediawiki//ind...=SageTCPServer which say that for version 6 SageTCPServer can be downloaded at http://www.talluscorp.com/Software/S...rver_Setup.exe This is a bad link.
Reply With Quote
  #574  
Old 11-25-2010, 03:01 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by blair_42 View Post
The TASageTV page at http://talluscorp.com/mediawiki/inde...TV_Application says that SageTV version 7 is required.
Technically, it is more highly suggested than strictly required, as it does work with SageTV 6. Eventually I do intend to make use of things only available in SageTV 7 but I'm not there yet.

Quote:
This is a bad link.
I'll poke the Tallus owner so he can fix this, but in the mean time you can get the individual files from:

SageTCPServer

and

GKusnick's Studio Tools
__________________
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
  #575  
Old 11-25-2010, 05:43 PM
blair_42's Avatar
blair_42 blair_42 is offline
Sage User
 
Join Date: Dec 2009
Location: Iowa
Posts: 13
I have placed the SageTCPServer.jar file in the JARs directory and added:

load_at_startup_runnable_classes=sagetcpserver.StartServers
sageTCPServer/clients=local.9250,001d6a4bfd3c.9260

to sage.properties. I setup taSage for the server and a HD200 extender connection. It indicates connection to both. I see information from the server. The remote control functions have no effect on the extender. Actually I think I have another problem with the extender as I get nothing past the splash screen. The extender is set to "force HDMI" mode and I have no HDMI here. I was hoping that by pressing the video button I could regain control. I would expect I could at least turn it off with the power button on the remote.

The 2nd problem is that the line added to sage.properties is overwritten once sage starts.
Reply With Quote
  #576  
Old 11-25-2010, 06:54 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by blair_42 View Post
The 2nd problem is that the line added to sage.properties is overwritten once sage starts.
Sounds like you haven't stopped the SageTV service, which would be why the settings are not sticking...
__________________
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
  #577  
Old 11-30-2010, 05:25 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Version 1.29

- Fix: was leaking an intent on shutdown.
__________________
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
  #578  
Old 12-03-2010, 05:58 PM
Surtr's Avatar
Surtr Surtr is offline
Sage Advanced User
 
Join Date: Jan 2005
Posts: 164
Maybe a little bit off topic, but anyone using this with an LG Optimus, or do you really need something with a hotter processor like an Evo or Droid X to get good results with taSageTV?
Reply With Quote
  #579  
Old 12-04-2010, 09:55 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Quote:
Originally Posted by Surtr View Post
or do you really need something with a hotter processor like an Evo or Droid X to get good results with taSageTV?
Well, technically only the streaming might require the extra processor power, since displaying lists or controlling an extender don't...
__________________
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
  #580  
Old 12-05-2010, 11:54 PM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Version 1.30

- Initial support of images in detailed view (through Sage Remote API).


This requires the Sage Remote API (Sagex service) installed. Since the full size image is sent, this is relatively inefficient and even transfers the image twice to work around some memory issue with large images. So it will get better, this is a work in progress...
__________________
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: 3 (0 members and 3 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:16 PM.


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