SageTV Community  

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

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-16-2009, 10:10 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
STV Import: Send to Extender

Download Link

This STVImport for SageMC adds a "Send To..." menu to the stop dialog (shown in screenshot below). This menu will allow the currently playing media to be sent to another running media extender. The media file is loaded on the remote extender and paused. The media file is stopped on the local extender.

The MAC address of the extender is show in the menu by default. This can be over-ridden with any chosen name by creating a properties file that maps MAC addresses to names in <Sage Install Dir>/SageTv/clients/clientmap.properties

My general use case for this is watching something in the living room, I stop it, send it to the bedroom, walk to the bedroom, and unpause it.
Attached Images
File Type: jpg send-to-ss.jpg (58.2 KB, 413 views)

Last edited by Opus4; 12-16-2009 at 10:31 PM. Reason: inline display of this post's own attachment removed due to image being too wide to be inline
Reply With Quote
  #2  
Old 12-16-2009, 11:18 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by skiingwiz View Post
Download Link

This STVImport for SageMC adds a "Send To..." menu to the stop dialog (shown in screenshot below). This menu will allow the currently playing media to be sent to another running media extender. The media file is loaded on the remote extender and paused. The media file is stopped on the local extender.

The MAC address of the extender is show in the menu by default. This can be over-ridden with any chosen name by creating a properties file that maps MAC addresses to names in <Sage Install Dir>/SageTv/clients/clientmap.properties

My general use case for this is watching something in the living room, I stop it, send it to the bedroom, walk to the bedroom, and unpause it.
I like it. If I only used extenders... I will someday though.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #3  
Old 12-17-2009, 05:41 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Wow very nice addition I will have to give it a go. Sounds great and even greater idea not sure how you accomplished this but impressed...

Question does the extender you are sending too have to be on?
Reply With Quote
  #4  
Old 12-17-2009, 08:11 AM
joenobody33 joenobody33 is offline
Sage User
 
Join Date: Oct 2007
Posts: 10
This is a really cool idea. Can you please provide a sample of what the mapping config file should look like?
Reply With Quote
  #5  
Old 12-17-2009, 11:32 AM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by PLUCKYHD View Post
Wow very nice addition I will have to give it a go. Sounds great and even greater idea not sure how you accomplished this but impressed...

Question does the extender you are sending too have to be on?
Yes, the extender does have to be on. I use the GetUIContextNames() call to determine the runing extenders.
As for how I accomplished it, it wasn't that hard. I use apiUI calls to start the media file, pause it, etc.

Quote:
Originally Posted by joenobody33 View Post
This is a really cool idea. Can you please provide a sample of what the mapping config file should look like?
It is a standard properties file as created by java.util.Properties. Basically MACADDRESS=name or MACADDRESS:name.

An example would be:
Code:
001122334455=Living Room
001122334466=Bedroom
001122334477=Laptop
001122334488=Exercise Room
Reply With Quote
  #6  
Old 12-17-2009, 12:12 PM
Clift Clift is offline
Sage Expert
 
Join Date: Aug 2008
Location: North Carolina
Posts: 555
You have Laptop listed... does that mean you can send to a SageTV Client?
__________________
Server:W7 Ultimate, SageTV 7.1.9
Capture Devices: HVR-2250, 2x HD PVR 1212
Clients:
1x STX-HD100
3x STP-HD200
@cliftpompee
Reply With Quote
  #7  
Old 12-17-2009, 01:57 PM
kmp14 kmp14 is offline
Sage Aficionado
 
Join Date: May 2008
Location: Chicago, IL
Posts: 264
VERY cool idea. I will check it out tonight.
__________________
HP m9040n Quad Core 2.4Ghz, Windows7 Ultimate, Ceton 4 tuner CableCard with SageDCT, 2 HDHomeRun QAM, Netgear 24 Port GiGE Switch, Linksys WRT600N Router, 3 HD200 Extenders, 2 SageTV Clients

Server: SageTV 7
Reply With Quote
  #8  
Old 12-17-2009, 01:59 PM
briands briands is offline
Sage Icon
 
Join Date: Aug 2004
Location: Bloomington, IN
Posts: 1,093
It would be great if you could do this from any screen (guide, music, etc) with a "Play on" button similar to the webui.
Reply With Quote
  #9  
Old 12-17-2009, 02:11 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by Clift View Post
You have Laptop listed... does that mean you can send to a SageTV Client?
No, but you can send to a placeshifter. I am looking into the possibility of sending to clients, but it's not something that I've figured out how to do yet. The API makes it very easy for things running from the server (i.e. extenders and placeshifters), but less so among clients.

Quote:
Originally Posted by briands View Post
It would be great if you could do this from any screen (guide, music, etc) with a "Play on" button similar to the webui.
On my list of things to do with this STVi is to add the functionality to more places. This was the first place, because this is where I use it.
Reply With Quote
  #10  
Old 12-17-2009, 04:10 PM
pedz25 pedz25 is offline
Sage User
 
Join Date: Dec 2006
Posts: 29
Nice addition! I can definitely see myself using this regularly. Can't wait to try this out later.
Reply With Quote
  #11  
Old 12-19-2009, 03:09 AM
deanm deanm is offline
Sage Aficionado
 
Join Date: Apr 2005
Location: North East, UK
Posts: 309
Wow you beat me to it. Been trying to work something out like this myself.

It would be nice if you could add this to the SEND TO button with in SageMC. That is how I was going to add it.

Thanks for you hard work. Can't wait to test it
Reply With Quote
  #12  
Old 12-19-2009, 12:52 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by deanm View Post
It would be nice if you could add this to the SEND TO button with in SageMC. That is how I was going to add it.
That's next on my todo list. As soon as I find some free time for it.
Reply With Quote
  #13  
Old 12-20-2009, 06:44 AM
deanm deanm is offline
Sage Aficionado
 
Join Date: Apr 2005
Location: North East, UK
Posts: 309
Quote:
Originally Posted by skiingwiz View Post
That's next on my todo list. As soon as I find some free time for it.
Thanks for that.

One other thing I would like to see is the Extender names picked up form Webserver extenders.properties think that would be much easier.

Dean
Reply With Quote
  #14  
Old 12-20-2009, 07:54 AM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
For now both the extenders.properties and clientmap.properties use the same format so I just copied my extenders file to the right location and name and it worked like a champ.
Reply With Quote
  #15  
Old 12-20-2009, 02:12 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
I thought about using the extenders.properties (of couse, after I was done). I wasn't sure about piggybacking on that file. Since then I've thought about it more and I don't see any problems. (after all, who doesn't have the webserver installed?)

The next release will probably have this change in it. (If you wanted to change it now, it's just a single replacement in studio.)
Reply With Quote
  #16  
Old 12-21-2009, 02:02 AM
mickp's Avatar
mickp mickp is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 468
Music too?

Cool. Do you think that this would work for music playlists, albums and individual tracks (probably without the pause)?

Mick.
Reply With Quote
  #17  
Old 12-21-2009, 09:07 AM
scm scm is offline
Sage Advanced User
 
Join Date: Aug 2005
Posts: 179
Quote:
Originally Posted by mickp View Post
....Do you think that this would work for music ......
I second the music request! Even more, if you could send the music to another extender while the current one kept playing and somehow sync them we could have whole house media integrations!!

Infact, is it possible with what you are doing to have a TV show playing synced in both locations at the same time?
Reply With Quote
  #18  
Old 12-21-2009, 09:32 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by scm View Post
I second the music request! Even more, if you could send the music to another extender while the current one kept playing and somehow sync them we could have whole house media integrations!!

Infact, is it possible with what you are doing to have a TV show playing synced in both locations at the same time?
Just fyi when you talk synching songs/tv shows it is a whole new ball game and would require a major coding challenge imho.
Reply With Quote
  #19  
Old 12-21-2009, 11:26 AM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by scm View Post
I second the music request! Even more, if you could send the music to another extender while the current one kept playing and somehow sync them we could have whole house media integrations!!

Infact, is it possible with what you are doing to have a TV show playing synced in both locations at the same time?
I have no idea if this would work for music (as I haven't tried it). I can try it, but (like Plucky said) I think there is no way that it would sync. I doubt there is anything an STVi could even do about this. Even if I tell each extender to play the song and send the notifications at the same time, there is virtually no chance that they will sync. I suspect there would have to be something done in the core to support this (like scheduled execution of commands and a real-time scheduler. I doubt we'll see that anytime soon.)

I will look at adding music support to this (just know that it won't sync).
Reply With Quote
  #20  
Old 12-21-2009, 03:22 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
If possible it would also be nice if the Send To menu in the Program Information screen had this ability as well. I'm using this to set up my kids shows without having to go all the way to the other end of the house and doing it manually. Yeah I know I'm lazy, but that's what having 3 very active kids is all about.
Reply With Quote
Reply


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
STV Import: Comskip Playback for Default STV (v1.5.4 30/August/2008 for SageTV 5/6) JREkiwi SageTV Customizations 600 11-23-2011 07:58 AM
STV Import: MovieTimes Movie Listings Import v0.57 Beta aperry SageTV Customizations 670 10-02-2010 12:07 AM
STV Import: SageMC Enhancements (incuding Import Folder Fix in 6.2.x) twieder SageMC Custom Interface 59 05-06-2008 01:42 PM
STV Import: Multispeed Continuous FF/REW Import for SageMC MeInMaui SageMC Custom Interface 20 12-16-2007 04:27 AM


All times are GMT -6. The time now is 06:35 PM.


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