|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
The license doesn't seem to preclude for-sale work. It specifically states that it may be used by an individual to develop and test for sale. Organizations and enterprises can only use the community edition for OSI or for educational purposes.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#22
|
||||
|
||||
i didn't mean full exclusion, I meant the magnitude of the sales.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#23
|
||||
|
||||
But will that work for the other native code, like the DirectShow filters/filtergraphs, etc?
|
#24
|
||||
|
||||
I'm pretty sure there's a .net version of JNI. There are DirectShow API's for .net (as well as the newer Media Foundation API). Media Foundation, by the way, offers protected path playback...
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 08-14-2015 at 11:33 AM. |
#25
|
||||
|
||||
Quote:
__________________
Jeffrey Kardatzke Founder of SageTV |
#26
|
||||
|
||||
My gradle builds are failing because I think it's looking for amd64 libraries instead of i386. I also see that it could not find tools.jar.
Noob question: Why can't Sage.jar be build in Eclipse? Why is gradle needed?
__________________
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. |
#27
|
||||
|
||||
It's common practice to create a build script for a project in a tool like Gradle, Ant, or Maven. It's easier to get a project up and running quickly on a dev box, or to plug it into a continuous integration build system if there is a script as opposed to an IDE project.
IDE's obviously have their advantages (graphical debugger, code completion, object browser, etc, etc), and it's fairly easy to generate IDE projects (Eclipse, IntelliJ, etc) from the scripts. If you're getting an error about missing tools.jar, chances are you're trying to compile with a JRE. Try downloading and installing a JDK.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#28
|
||||
|
||||
Quote:
I have a JDK installed. I actually have two; java 1.6 and 1.7. Something is certainly messed up because when I run "gradlew cleanEclipse eclipse" it gives me a warning about not finding the default mime table and it's looking in the java-7-openjdk-amd64 directory. When I open eclipse there are no projects in there.
__________________
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. |
#29
|
||||
|
||||
Quote:
But, as Jason said, the reason to use something like gradle is that you really can't check eclipse .project and .classpath files into source control, because they'll change frequently per developer, per environment. So, gradle creates those for you, setting up the classpaths, source dirs, etc. Quote:
Also, try setting JAVA_HOME environment variable to be where the JAVA_HOME is located... so you might try something like this... Code:
# export JAVA_HOME=PATH TO JAVA # export PATH=$JAVA_HOME/bin:$PATH # java -version # ./gradlew cleanEclipse eclipse
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient Last edited by stuckless; 08-15-2015 at 11:04 AM. |
#30
|
||||
|
||||
Quote:
The gladlew cleanEclipse command now runs successfully with a warning about not finding the default mime table but when I start eclipse it is still empty. I do see a .classpath file and a .project file. I am running the gradlew command from the directory where I found it after updating the github repo. Is this correct or should I be running the gradlew command from the Eclipse workspace directory? When I looked at the warning a little more I see it's looking for the mime table in /usr/lib/jvm/java-7-openjdk-i386/jre/lib/content-type.properties. That properties file is a symlink to /etc/java-7-openjdk/content-type.properties. When I look in the /etc/java-7-openjdk directory there is no content-type.properties file in there. All I see are three directories "images", "management", and "security". That can't be good I'm thinking I should remove all traces of every version of java on the machine and start over making sure I only have one version installed.
__________________
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. |
#31
|
||||
|
||||
Quote:
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#32
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#33
|
||||
|
||||
__________________
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. |
#34
|
||||
|
||||
Yup, I'm feeling like a complete idiot. I looked at every option under File and see no "Import" under there anywhere. I installed eclipse using apt-get and it installed version 3.8.1.
__________________
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. |
#35
|
||||
|
||||
I'm not in front of my development computer, but maybe it's File -> New Project -> Import existing project (or something like that)
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#36
|
||||
|
||||
Quote:
But, I'd actually use an eclipse download from the eclipse site. I;m using Eclipse MARS, which is the latest.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#37
|
||||
|
||||
Found it. I rarely use graphical interface programs in Linux and didn't realize you had to mouse-over the top bar before the items (like File) become visible. That's not very user friendly Anyway, I have that sorted out. Now back to seeing why the buildall.sh script fails.
__________________
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. |
#38
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#39
|
||||
|
||||
When I run ./gradlew clean, it deletes the build directory. That's probably fine for some types of projects, but on this project all the build scripts are in that folder.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#40
|
||||
|
||||
yeah, that fix is in a pull request... the default output in gradle is 'build' which is what sagetv used as well, for a staging area. Gradle will now use 'buildoutput' to avoid this issue.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any threads out there on how best to rebuild your sage server??? | MickBurke | SageTV Software | 5 | 06-07-2015 08:11 PM |
database rebuild on sage startup | comet48 | SageTV Software | 4 | 03-16-2011 06:12 PM |
Transition from Windows to Linux Sage Server | tsheal | SageTV Linux | 21 | 11-09-2010 06:57 AM |
How do I rebuild sage from scratch | rdefino | SageTV Software | 3 | 11-15-2008 04:27 PM |
Will this method work to rebuild my Sage box? | Fountainhead | SageTV Software | 6 | 05-23-2007 11:16 AM |