SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Mac Edition

Notices

SageTV Mac Edition Discussion related to the SageTV Media Center for Mac edition. Questions, issues, problems, suggestions, etc. relating to the SageTV Mac edition should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-04-2015, 01:14 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Send a message via Skype™ to mwnswiss
Placeshifter OS/X

I started to work on the miniclient of V9 open source and wanted to share my findings and ideas:

* create the mini jar library by executing buildmini.sh in the /build/ directory
* from the old placeshifter V6 I just used the sageclient.sh script and removed all JOGL and other support

Code:
#!/bin/sh

case $0 in
/*)
   sagepath="$0"
   ;;
*)
   sagepath="$PWD/$0"
   ;;
esac

sagepath=`dirname $sagepath`
echo Changing to SageTV directory $sagepath
cd $sagepath

export LD_LIBRARY_PATH=.
java -cp MiniClient.jar:. sage.miniclient.MiniClient $1 $2 > /dev/null 2>&1
with that you can start the placeshifter and see the usual sagetv menus, however you can't play any videos.

I took the mplayer from homebrew. I will try to change the mini code which starts the mplayer to work with this brew version. See the other thread in the opensource forum on miniclient on linux 64bit which addresses those issues as well.

The first goal would be to get the mplayer from brew working (http://brew.sh/)
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #2  
Old 09-04-2015, 02:13 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
That's good progress. I've been working on migrating to a newer mplayer (for linux, so far), and I've made some progress there. SageTV doesn't work with an out of the box version of mplayer, it has to be modified to add in the communcation layer that can actually request and pull down media files from SageTV.

All of the mplayer stuff, so far, is hosted in a separate github repo, for convenience.
Reply With Quote
  #3  
Old 09-04-2015, 04:05 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Send a message via Skype™ to mwnswiss
Homebrew makes some modifications of mplayer before compiling on OS/X, so I just need to figure out what gets patched by homebrew and to see the patch from your side and it could work. Will try to find out what the patch includes.
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #4  
Old 09-07-2015, 12:18 AM
ProNoob ProNoob is offline
Sage User
 
Join Date: Mar 2011
Location: Madison, WI
Posts: 7
I am attempting to build SageTV on OS X as well and have found an issue building ~/sagetv/third_party/mplayer/libvo.

I found vo_macstv.c attempts to #include "vo_macstv_ipc.h" but this header file is not included in the GitHub repository. Interestingly, I did find it and two other files in a .cvsignore file within the same directory.

Links to both files on GitHub are below:
https://github.com/google/sagetv/blo...vo/vo_macstv.c
https://github.com/google/sagetv/blo...bvo/.cvsignore

I found this while attempting to resolve a Makefile error related to a reference to the same header file. The make error output is below:

make[1]: *** No rule to make target `vo_macstv_ipc.defs', needed by `vo_macstv_ipc.h'. Stop.
make: *** [libvo/libvo.a] Error 2
Build failed (mplayer), exiting.

Does anyone know if these three missing files can be made available for OSX builds?
1) vo_macstv_ipc.defs
2) vo_macstv_ipc.h
3) vo_macstv_user.c
Reply With Quote
  #5  
Old 10-11-2015, 03:28 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Send a message via Skype™ to mwnswiss
Quote:
Originally Posted by stuckless View Post
All of the mplayer stuff, so far, is hosted in a separate github repo, for convenience.
I took your repository used my OS/X with X11 and homebrew on it, I get an issue with ffmpeg/libavformat/libavformat.a.

If I comment out the libavformat, all the rest compiles, however the linker complains on the end on the missing libavformat objects.

I need to investigate further but actually more as I expected so far.
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 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
PlaceShifter and Blu-Ray NoodleNT SageTV Placeshifter 12 04-01-2014 09:21 PM
Can Placeshifter do This? vesciom SageTV Placeshifter 5 06-24-2009 01:14 PM
RE: Mac Placeshifter - thank you! Halstead SageTV Placeshifter 0 04-27-2007 03:42 PM
MCE & Placeshifter in 6.1.4 Mahoney SageTV Beta Test Software 0 03-13-2007 02:44 PM
MP4 and Placeshifter codacoda SageTV Beta Test Software 21 06-17-2006 01:24 PM


All times are GMT -6. The time now is 09:38 AM.


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