|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#2561
|
||||
|
||||
Quote:
Code:
API sageApi = new API(this.context); MediaPlayerAPI sageApiMediaPlayer = new MediaPlayerAPI(sageApi); sageApiMediaPlayer.ChannelSet(channel);
__________________
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 |
#2562
|
|||
|
|||
Thanks,
I am wondering if I can do something similar via sagex or failing that re write everything using the tcp server |
#2563
|
|||
|
|||
Quote:
Code:
sagex.api.MediaPlayerAPI.ChannelSet(channel)
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#2564
|
|||
|
|||
Quote:
|
#2565
|
|||
|
|||
Quote:
I have tried the following url via a web browser: http://localhost:8080/sagex/api&c=Ch...t=0023a500051f but I get the following message. HTTP ERROR 404 Problem accessing /sagex/api&c=ChannelSet&1=2&context=0023a500051f. Reason: Sage Handle: api&c=ChannelSet&1=2&context=0023a500051f not found! Powered by Jetty:// All other commands for requesting data etc work and return xml formatted data, although I receive similar messages for any type of media player command such as PlayPause for example. What am I doing wrong? Andy |
#2566
|
||||
|
||||
I'm not seeing the MediaPlayerApi referenced in that call...
__________________
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 |
#2567
|
||||
|
||||
You need a question mark after 'api' rather than an ampersand.
__________________
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. |
#2568
|
|||
|
|||
Thanks I will try this when back from my holiday
|
#2569
|
||||
|
||||
Quote:
Here are the steps: Make sure that ports 8080 and 31009 in your router are forwarded to your SageTV computer's private IP address. Select "Control Panel", "Windows Firewall","Turn Windows Firewall on or off". In "Home or work (private) network location settings", Uncheck "Block all incoming connections, including those in the list of allowed programs". In "Public network location settings", uncheck "Block all incoming connections, including those in the list of allowed programs". I don't know if this is necessary. I also opened the two ports in the Windows 7 Firewall for inbound traffic. "Window Firewall", "Advanced Settings", "Inbound Rules", "Action", "Create New Rule". I created two new rules to pass incoming ports 8080 and 31009. Then check SageTV Placeshifter. Select "Setup", "Detailed Setup", "Server", "Configure Placeshifter Internet Connection", "Configure", "Test Placeshifter Connection". The result of the test should report that the connection test was successful. Check your connection from a computer away from your home with your public IP in a web browser using the url: <public ip>:8080/sage/Home Before I unchecked the two checkboxes, I just tried disabling the firewall and that worked too. When the Windows 7 firewall was not opened up,the Placeshifter test failed. Dave |
#2570
|
|||
|
|||
re Windows firewall...
As a residential user, I turn off windows firewall, and place my trust in my router's configuration. I'm 'net savvy, and watch what ports are opened. My WiFi is secure. I have no hackers on my LAN. I do let MS Security Essentials run to scan incoming stuff from the Internet. Anyone see a flaw in this logic? |
#2571
|
|||
|
|||
Need Help Setting Up
Hey guys,
Had to do a complete reinstall of my HTPC after about 3 years of solid performance, and in doing so had to (naturally) reinstall Sage and all of my plugins. Good news is that it's nice and clean now... bad news is that I can't get my Web Interface configured. I installed both the Web and Mobile interfaces, but even after reading through the WIKI I cannot find anywhere in the sage.properties file that lists nielm/webserver Did this change in the more recent releases? As I said, I haven't had to do a complete ground up build in a LONG time. Where can I find the spot to change/set the PORT and UID/PWD for the web interface? Anyone? Tried reading through the faq and this thread, but can't find what I need... A little help? Thanks! Gregg
__________________
Gregg |
#2572
|
|||
|
|||
Bump... anyone? Please don't tell me that this thread won't get updated and this plugin supported because of the Google acquisition on the weekend....
Is there anything else that I need to do other than download and install the Sage WebUI from the plugin repository? I simply get a "cannot find page" when I try to connect to the WebUI. I also have the BMT WebUI installed, and can connect to that just fine... Anyone?
__________________
Gregg |
#2573
|
|||
|
|||
Wow... that was quite a painful ordeal... LOL
I actually went through all of the jetty files looking for neilm_webserver and finally started tracing the paths back to where the properties were. In my "old" setup, I had BMT and WebUI set to different ports, which is why I did not even think about what the problem was, and why I could not connect after my rebuild. Once I was able to sift backwards and saw that the WebUI and BMT were pointing at the same "realms.properties", I simply tried changing the port number in my WebUI address and BOOM! Connected again. So I'm golden at this point... still waiting for final word on how Jeff made out.
__________________
Gregg |
#2574
|
||||
|
||||
Glad you got it working. This is the thread for running the web UI on V6, there's another for V7 if you have another problem you can post there.
In V7, nielm's web UI runs on the Jetty web server as do the mobile web ui, BMT, SRE, etc so they all use the same port number. The port number is configured in V7's Plugin Manager. Go to the Jetty plugin's configuration and set it from there. Then restart Jetty from that screen or restart Sage.
__________________
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. |
#2575
|
|||
|
|||
Quote:
ps - until this morning, I didn't even KNOW that there was a jetty config option in the plugin...
__________________
Gregg |
#2576
|
||||
|
||||
Trigger Rescan Of Media Files
Im Running Web server interface and I want to externally trigger the rescan of the medial library through a batch file when I download a file. Is there a way to do that?
Thanks Technazz
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client |
#2577
|
|||
|
|||
You can use wget
Code:
C:\wget\wget.exe --delete-after --tries=3 --directory-prefix="C:\wget" "http://user:password@servername:8080/sage/GlobalCommand?command=UpdateMediaLibrary"
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#2578
|
||||
|
||||
Password
If anyone is still looking at this thread, Can you tell me where to find the password for the web admin? I rebuilt my computer earlier this year and forgot about this app. Now I have the shortcut back on my desktop I don't remember my logon and password or which file it is stored in and of course I did not write it down any where.
Thanks Wayne
__________________
New setup 1-22 GIGABYTE B560 HD3 MB | Intel I5 6 core CPU | 500 GB WD SSD system drive | (2) 2TB Western Digital SSD drives pooled | 16 GB DDR ram | UHD 630 on board graphics| Win 10 64 bit | SageTV 9 | (5) Sage HD TV extenders | (1) HDHomeRun quad tuner HD OTA | (1) HDHomeRun Dual tuner HD OTA | (2) 1512 HD-PVR2s recording from 2 Dish Network VIP 211K's with Uirt ir control | MX-700 Home theater remote | 60" LED TV | (4) 32" Lcd TV's |
#2579
|
|||
|
|||
username -sage
password -frey |
#2580
|
|||
|
|||
Quote:
Code:
InstallDir\SageTV\webserver\realms.properties # top level user:password SageTV Web Interface=/sage,
__________________
Ben Intel Core2Duo E6600 2.4GHz - Win7 64bit Antenna: Homemade Gray-Hoverman DBGH, Channel Master 7777 pre-amp, Mid-60s CM Rotor Tuners: HDHomeRun v1, Hauppauge HVR1600 Video: BenQ W5000 1080p, ASUS ATI 6670 Storage (10TB): Seagate 2TB, Hitachi Coolspin 2TB x 4 Data Drives + 2TB x 2 Parity Drives using FlexRaid 2.0 (RAID6 T2+) SageTV: 7.1.9 Final ? |
Tags |
web |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Mobile Web Interface 1.2 | jreichen | SageTV Customizations | 281 | 06-17-2011 02:20 PM |
Can't get Web-based User Interface to install | SSBrian | SageTV Customizations | 3 | 11-04-2008 08:12 PM |
Web User interface link for the metadata file. | zzmystique | SageTV Customizations | 0 | 06-21-2008 02:26 AM |
Idea to enhance the Web User Interface: Messaging | jbarr | SageTV Customizations | 3 | 05-14-2007 03:59 PM |
Linkplayer, Linktheater with SageTV Web User Interface | fyodor | SageTV Customizations | 0 | 10-08-2006 06:03 PM |