SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Media Extender
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server.

Reply
 
Thread Tools Search this Thread Display Modes
  #561  
Old 11-30-2011, 08:40 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by drewg View Post
OK, I think I found what was starting the old webserver (load_at_startup_runnable_classes=net.sf.sageplugins.webserver.StartServer) in my Sage.properties. I've removed that, and still no joy.

I think I'm going to remove all these remote-api plugins & re-install them..

Drew
the log,
Code:
Deploy /home/sagetv/server/jetty/contexts/sagex.xml -> org.mortbay.jetty.servlet.Context@1b45e9a{/sagex,null}
would imply that you sagex is deployed. Did you check the plugin configuration for sagex-services to see if the HTTP option is checked?
Reply With Quote
  #562  
Old 11-30-2011, 09:18 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by drewg View Post
OK, I think I found what was starting the old webserver (load_at_startup_runnable_classes=net.sf.sageplugins.webserver.StartServer) in my Sage.properties. I've removed that, and still no joy.

I think I'm going to remove all these remote-api plugins & re-install them..

Drew
OK, after I removed the remote-api plugins, restarted, re-installed those plugins & restarted, I get a connection from boxee!

Now to work on the mapping stuff...

The server is a Linux box, and I'm recording to /var/media/tv.
The client is a win7 box, so I assume I must use Samba, right? Windows doesn't speak NFS..?

I'll make a read-only SAMBA share 192.168.200.2\\tv
I should then say this for the mapping, right:
/var/media/tv,192.168.200.2\\tv

Thanks,

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #563  
Old 11-30-2011, 04:02 PM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
mapping from a linux box..

I'm back.. Again, I'm trying to use the Boxee SageTV app on a Win7 box to talk to SageTV on a Linux box. Thanks to lots of great help, I can see my recordings (woot!). But I cannot play them.

I've tried to do a UNC mapping of: /video/tv,\\192.168.200.2\tv

I've verified from a cmd terminal that I can access the video at both \\DROGON\tv\*.mpg and \\192.168.200.2\tv\*.mpg. Am I doing something wrong in the re-mapping? Please see the attached screen shot of the UNC setup screen, along with a dir of the TV directory..


When I try to play them, I see this in the Boxee debug log:
Code:
16:48:43 T:1244 M:2465067008   DEBUG: MediaPathMapper: Cannot convert path "/video/tv/Bones-S07E02-TheHotDogintheCompetition-2644133
-0.mpg"
16:48:43 T:1244 M:2465067008   DEBUG: MediaPathMapper: Cannot convert path "/video/tv/Bones-S07E02-TheHotDogintheCompetition-2644133
-0.mpg"
16:48:43 T:1244 M:2465067008   DEBUG: Adding role "Actor"...
16:48:43 T:1244 M:2465067008   DEBUG: Adding role "Guest Star"...
16:48:43 T:1244 M:2465067008   DEBUG: Adding role "Executive Producer"...
16:48:43 T:1244 M:2465067008   DEBUG: MediaPathMapper: Cannot convert path "/video/tv/Bones-S07E01-TheMemoriesintheShallowGrave-2627

Thanks again for the help!

Drew
Attached Images
File Type: jpg unc.jpg (112.6 KB, 175 views)
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #564  
Old 11-30-2011, 04:54 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by drewg View Post
I'm back.. Again, I'm trying to use the Boxee SageTV app on a Win7 box to talk to SageTV on a Linux box. Thanks to lots of great help, I can see my recordings (woot!). But I cannot play them.

I've tried to do a UNC mapping of: /video/tv,\\192.168.200.2\tv

I've verified from a cmd terminal that I can access the video at both \\DROGON\tv\*.mpg and \\192.168.200.2\tv\*.mpg. Am I doing something wrong in the re-mapping? Please see the attached screen shot of the UNC setup screen, along with a dir of the TV directory..


When I try to play them, I see this in the Boxee debug log:
Code:
16:48:43 T:1244 M:2465067008   DEBUG: MediaPathMapper: Cannot convert path "/video/tv/Bones-S07E02-TheHotDogintheCompetition-2644133
-0.mpg"
16:48:43 T:1244 M:2465067008   DEBUG: MediaPathMapper: Cannot convert path "/video/tv/Bones-S07E02-TheHotDogintheCompetition-2644133
-0.mpg"
16:48:43 T:1244 M:2465067008   DEBUG: Adding role "Actor"...
16:48:43 T:1244 M:2465067008   DEBUG: Adding role "Guest Star"...
16:48:43 T:1244 M:2465067008   DEBUG: Adding role "Executive Producer"...
16:48:43 T:1244 M:2465067008   DEBUG: MediaPathMapper: Cannot convert path "/video/tv/Bones-S07E01-TheMemoriesintheShallowGrave-2627

Thanks again for the help!

Drew
Drew,

Look through the logfile for the debug statements that contain: "MediaPathMapper: Adding map " and let me know what they say.

Tom
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #565  
Old 11-30-2011, 06:42 PM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
16:44:34 T:1244 M:2455142400 DEBUG: MediaPathMapper: Adding map "video/tv" -> "DROGON/tv"...
16:48:29 T:1244 M:2463035392 DEBUG: MediaPathMapper: Adding map "video/tv" -> "192.168.200.2/tv"...


Shouldn't the slashes be going the other way...?

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #566  
Old 11-30-2011, 07:00 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by drewg View Post
The server is a Linux box, and I'm recording to /var/media/tv.
The client is a win7 box, so I assume I must use Samba, right? Windows doesn't speak NFS..?
Actually Microsoft does have NFS services for Windows 7 it just isn't installed by default - according to info here anyway. Sorry if all this does is complicate your problems. Also looks like Ultimate is needed

Last edited by BobPhoenix; 11-30-2011 at 07:08 PM. Reason: Opps got wrong link and fixed my post some too
Reply With Quote
  #567  
Old 11-30-2011, 08:20 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by drewg View Post
16:44:34 T:1244 M:2455142400 DEBUG: MediaPathMapper: Adding map "video/tv" -> "DROGON/tv"...
16:48:29 T:1244 M:2463035392 DEBUG: MediaPathMapper: Adding map "video/tv" -> "192.168.200.2/tv"...


Shouldn't the slashes be going the other way...?

Drew
Where is DROGON coming from? It looks like you have video/tv mapped to two different places. Try removing the map from video/tv to DROGON.

The slashes should be OK because you're using SMB, right?
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #568  
Old 12-01-2011, 05:40 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by tmiranda View Post
Where is DROGON coming from? It looks like you have video/tv mapped to two different places. Try removing the map from video/tv to DROGON.

The slashes should be OK because you're using SMB, right?
But I thought windows wanted its slashes to go backwards (\) for directory separators... Sorry, I basically never use windows, I just thought it would be simpler for Boxee..

DROGON is the name of the server... using it also works from the command line. I tried the name first, then guessed that the boxee software could not do the name lookup, then tried to use the IP address. Not sure how to remove it.. I guess I'll go looking for the xml file.

Thanks,
Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #569  
Old 12-01-2011, 06:53 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by drewg View Post
But I thought windows wanted its slashes to go backwards (\) for directory separators... Sorry, I basically never use windows, I just thought it would be simpler for Boxee..

DROGON is the name of the server... using it also works from the command line. I tried the name first, then guessed that the boxee software could not do the name lookup, then tried to use the IP address. Not sure how to remove it.. I guess I'll go looking for the xml file.

Thanks,
Drew
Windows uses "\" for path separators.

To get rid of the DROGON mapping just go to the config screen and edit it, isn't that were you entered it? There should be no need to edit any xml files.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.

Last edited by tmiranda; 12-01-2011 at 11:47 AM.
Reply With Quote
  #570  
Old 12-01-2011, 08:03 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
OK, I looked at the code & I think I might understand what is happening. My settings are as follows:
Code:
<registry>
    <value id="AppVersion">0.247</value>
    <value id="EpisodeSortStyle">Title</value>
    <value id="JettyPassword">frey</value>
    <value id="JettyUser">sage</value>
    <value id="MediaPathMaps">/video/tv,\\192.168.200.2\tv</value>
    <value id="SageServer">192.168.200.2:8080</value>
    <value id="UseSSL">False</value>
</registry>
When you store the path, you're stripping the leading "/", so you're storing "video/tv" (as confirmed by the debug log 'Adding map "video/tv" -> "192.168.200.2/tv"'.). The problem is that the server is presenting you with a path to play that includes a leading "/" ( as confirmed by the debug log 'Cannot convert path "/video/tv/Bones-S07E0.....'). I think this is what is preventing the match from happening.. If I similarly strip the leading / when looking up the path, we get a match.

So I took config.py and hacked it like this:

Code:
--- boxee/apps/com.googlecode.sagetvboxee.sageboxee/config.py   2011-11-29 09:59:51.372050000 -0500
+++ config.py   2011-12-01 08:49:29.357285000 -0500
@@ -313,7 +313,10 @@
                        return: A string containing the converted path, or the original path if no conversion was necessary
                '''
                origpath = path
-               path = self._preparePath(path, False)
+               if path.startswith('/'):
+                       path = self._preparePath(path, True)
+               else:
+                       path = self._preparePath(path, False)
 
                # Search for case-sensitive match first
                for k in self._sorted_keys:
Now it plays videos, but I'm sure that hack will break things for everybody else. I don't know enough about why you're stripping leading slashes to understand how to fix it right.. (zero windows fu) Hopefully this information can help you understand the problem..

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #571  
Old 12-01-2011, 08:09 AM
david1234 david1234 is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Beaverton, OR
Posts: 313
Quote:
Originally Posted by drewg View Post
But I thought windows wanted its slashes to go backwards (\) for directory separators... Sorry, I basically never use windows, I just thought it would be simpler for Boxee..
Windows does use the "\"-> d:\whatever\...
Unix uses "/"-> /bin/...

Boxee is written in Python, which like java, allows the forward slash in file paths on both windows and unix. I'm don't remember the official reason for this, but it means we don't have to "escape" the back slash.

if you have to escape the backslash, you start getting some ugly paths->
D:\\whatever\\... compared to D:/whatever/...
and it gets worse as you start to use smb
\\servername:33333\share\ttt becomes \\\\servername:33333\\...

This is of course very over-simplified, but you get the idea.
Reply With Quote
  #572  
Old 12-01-2011, 11:47 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by david1234 View Post
Windows does use the "\"-> d:\whatever\...
Unix uses "/"-> /bin/...
My bad, you are right.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #573  
Old 12-01-2011, 11:50 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by drewg View Post
When you store the path, you're stripping the leading "/", so you're storing "video/tv" (as confirmed by the debug log 'Adding map "video/tv" -> "192.168.200.2/tv"'.). The problem is that the server is presenting you with a path to play that includes a leading "/" ( as confirmed by the debug log 'Cannot convert path "/video/tv/Bones-S07E0.....'). I think this is what is preventing the match from happening.. If I similarly strip the leading / when looking up the path, we get a match.
Drew,

I didn't actually write that portion of the code, it was done by another team member. I'll look into this for you over the next few days to see why it's done that way.

FYI. You should not have to much with xml to change the settings, just use the config menu in the application.

Tom
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #574  
Old 12-01-2011, 12:20 PM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Drew,

I didn't actually write that portion of the code, it was done by another team member. I'll look into this for you over the next few days to see why it's done that way.

FYI. You should not have to much with xml to change the settings, just use the config menu in the application.

Tom
Sorry.. I wasn't trying to blame you for the problem.. I hope it didn't sound that way! I really appreciate the help you've given me, and I appreciate you looking into this!

I wanted to find the xml settings to just confirm what I'd entered in the dialog box..

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #575  
Old 12-03-2011, 07:15 PM
rmccallister rmccallister is offline
New Member
 
Join Date: Dec 2011
Location: Houston
Posts: 2
Boxee application start issue

My appologies if this has been answered in a previous post.

Just received my Boxee box and proceeded to install the SageTV app from the repository.

I have the Jetty web server and sagex - services 7.1.9.2 installed on my sagetv server (running windows XP)

I am getting the following error from the Boxee app when I launch it:

"Application can't be started.
The Sage server must be upgraded to version 7.1.8.255 or greather."

Any help would be greatly apprecitated.
Reply With Quote
  #576  
Old 12-04-2011, 07:16 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by rmccallister View Post
"Application can't be started.
The Sage server must be upgraded to version 7.1.8.255 or greather."
Looks like you are not running the latest and greatest Sage software. Look at Settings->System Information. The first item is "Software Version:", it should say "Software Version: SageTV V7.1.9.256".
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #577  
Old 12-04-2011, 08:34 AM
rmccallister rmccallister is offline
New Member
 
Join Date: Dec 2011
Location: Houston
Posts: 2
Quote:
Originally Posted by tmiranda View Post
Looks like you are not running the latest and greatest Sage software. Look at Settings->System Information. The first item is "Software Version:", it should say "Software Version: SageTV V7.1.9.256".
Thank you. You are correct, I am on 7.0.23.246. Any way to upgrade to v7.1.9.256?
Reply With Quote
  #578  
Old 12-04-2011, 08:41 AM
Slack's Avatar
Slack Slack is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 256
I had a go at this this morning. on a Boxee Box
Updated SageTV server.
Already had Jetty, and sage-x web service installed.
So, I told the Boxee Box the pertinent details and it found the recordings & meta data - but streaming was problematic. It looked good for a second, then became slow motion - frame by frame.

I checked the recordings files, and their share via a laptop (including wireless latency) and it streamed butter-smooth.

1) any ideas (short of cable or switch hardware) why Boxee Box would have trouble streaming from the Sagebox (streams well enough from a ReadyNAS in limited testing).
EDIt: Recordings are shared on an XP box 'My Recordings' and 'My Recordings2' are the network share names.

2) Boxee Box (or rather the sage app) doesn't seem to remember SageTV server IP:Port / User / or recordings locations after a restart of the Boxee Box. Am I missing something?

Last edited by Slack; 12-04-2011 at 08:55 AM.
Reply With Quote
  #579  
Old 12-04-2011, 10:12 AM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Quote:
Originally Posted by Slack View Post
1) any ideas (short of cable or switch hardware) why Boxee Box would have trouble streaming from the Sagebox (streams well enough from a ReadyNAS in limited testing).
EDIt: Recordings are shared on an XP box 'My Recordings' and 'My Recordings2' are the network share names.
You may be running into some SMB issues that the latest versions of the firmware (1.2.x) introduced. You can narrow this down a bit by going to Files from the Main Menu, then Network, then Windows Network and then navigate to the one of the recordings folder and try to play the file directly.

Quote:
2) Boxee Box (or rather the sage app) doesn't seem to remember SageTV server IP:Port / User / or recordings locations after a restart of the Boxee Box. Am I missing something?
This isn't typical but some users do seem to experience issues with the Box remembering their app settings You can try contacting support@boxee.tv for more help with this one...
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #580  
Old 12-04-2011, 12:33 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by rmccallister View Post
Thank you. You are correct, I am on 7.0.23.246. Any way to upgrade to v7.1.9.256?
Easy. Follow the links in this post: http://forums.sagetv.com/forums/showthread.php?t=56137
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
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
SageTV and XBMC/BOXEE Integration bradvido SageTV v7 Customizations 36 02-15-2011 02:31 PM
Boxee & Sage Bikeman SageTV Customizations 11 03-14-2010 03:04 PM
Played with Boxee a bit... panteragstk General Discussion 6 10-05-2009 02:14 PM
Boxee on the HD200? Brent SageTV Media Extender 8 12-11-2008 09:49 AM


All times are GMT -6. The time now is 08:48 AM.


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