|
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 |
#341
|
||||
|
||||
What does your settings file look like? Did you try it with the default settings file? The IP set at 0.0.0.0 and blank user and pass? It will ask you for the info when it first tries to connect.
|
#342
|
|||
|
|||
Update - Still Not Working
Quote:
I've tried using the default settings and adding the ipaddress/port number/ etc. manually via xbmc. Also editing the values direct into the settings file. Both options fail to work. An earlier post suggests the problem may be to do with the language settings. I've tried to change these (both at the pc and xbmc ends) but this doesn't fix the problem. Although having made the changes my date format on web browser still looks different from that given in the earlier post. My date format on a web page from the SageTV webserver is in the form: Page generated at: 31-Aug-2008 16:32:42 [Refresh] So the problem may still be something to do with the language setting. I've tried some simple edits to the script which I think disable the date format checking but again this doesn't prevent the 'no connection' problem. The SageTV webserver (v2.22) is definitely working ok so I guess the problem is something to do with xbmc end. Not sure what to do next - any ideas gratefully received. I would be happy to do some investigation on the script but have no experience of using Python. Can anyone point me to some resources that might help me get started? Is it possible to emulate the Python script on a pc to check that it is working ok before putting it onto xbmc? |
#343
|
|||
|
|||
Quote:
Page generated at: Aug 31, 2008 6:50:14 PM [Refresh] or it will never work. Also if you use a newer build of XBMC you will need to switch to new version that Kricker posted (which I did). |
#344
|
|||
|
|||
Changing Date Format ...
well, I've tried everything I can and haven't been able to change the date setting. It is almost as if it is 'hard coded' somehow?
To be clear I'm using Neilm's webserver v2.22 at the SageTV server end. I've tried changing the language and date format settings on the server (and on the pc I'm using to test the web server) but it has no effect on the display of the date format on the web page. I've even tried reinstalling the SageTV Webserver with the new language settings. Any further suggestions gratefully received - thanks... |
#345
|
|||
|
|||
Quote:
|
#346
|
|||
|
|||
Date Format Not Changing
Hi JHH thanks for your post and suggestions. I've tried that and it doesn't change the format displayed on the web page. Although changing the country setting updates the presentation of dates and times in the os it has no effect on the date format presented by SageTV. I've tried stopping and restarting SageTV and doing a complete reboot with the same result. It is almost as if the date format style is hard coded. I've looked in the sage.properties file but can't find any entry that might override the os format. The only strange thing I've noticed is that after resetting the webserver forces me to login twice before presenting the SageTV web page. I'm using SageTV 6.4.8 running on Windows Home Server with v6.22 of the webserver.
|
#347
|
||||
|
||||
I just wanted to add a plug for an REST api that I created a few weeks back. The api gives you complete access to ALL SageTV calls, remotely, using either a REST syntax, or java.
Something else that may be of interest to you, is that a part of the API project includes a generator. Currently I use it to generate a Java client API. Recently jriechen used it to create a set of jsp tag libraries. If you know a little bit of java, you could use this to generate a set of Python client libraries that wrap the REST calls.
__________________
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 |
#348
|
||||
|
||||
Quote:
|
#349
|
||||
|
||||
Quote:
So, if you wanted to get a list off all the recordings in a Sage System. (see Sage JAVA Api) Code:
http://mediaserver:8081/sagex/rpcXml/MediaFileAPI/GetMediaFiles/T Code:
<response> <header> </header> <body> <arrayRef ref="33088996" size="10"/> </body> </response> If you want to get the title for each object, you would use the following api call. Code:
http://mediaserver:8081/sagex/rpcXml/MediaFileAPI/GetMediaTitle/33088996:0 Code:
<response> <header> </header> <body> <value>Chaotic</value> </body> </response> The sage API is services based by nature and not object based, which is why when you call get media files, you don't get back an xml with all of the media file details, just a reference telling you how many. So calling a service for each operation, such a get title, can be tedious at first, but it can also be quite efficient. In a case where you are returning 100s of objects, being serialized to xml, the resulting xml can be quite large to process and stream. Using a services based model, the xml files are very small and efficient to pass. In my testing, iterating over hundreds of objects making hundreds of https calls in the process, it still quite fast. Hope this helps explain it a little better.
__________________
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 |
#350
|
|||
|
|||
Quote:
This script and the plugin are now heavily based on the webpage layout so if someone updates the web page appearance then the script will be broken. At that point using the api makes a lot of sense. If it's not broken there is not too much pressure to fix it. jhh |
#351
|
||||
|
||||
Latest script since XBMCscripts.com is down.
|
#352
|
|||
|
|||
Has anyone tried this script in Boxee?
__________________
Halstead York HTPC/Server: A8 3850; Win 7 Home x86 + Java 1.6.0_26; Sage 7.1.9; Driving Epson 8500 pj @ 1080p | Office: Core2Duo E8500 w/ EFI-X running OS X 10.5 & Win 7 Pro x64 (dual boot) + Java 1.6.0_20; Sage 7.0.23; Driving 30" Samsung 1900x1200 monitor |
#353
|
|||
|
|||
Yes and No.
I am running Boxee on windows and was able to get the script installed and running but not running well. The script starts up and you are able to move the selection box around on the screen within the plugin, but thats about it. I am unable to actually select/enter any of the buttons, and unable to quite out of it without hitting Alt-F4 to shutdown boxee. Anybody else have any luck? |
#354
|
|||
|
|||
Quote:
BTW: thanks for your efforts on the webserver! |
#355
|
||||
|
||||
Weren't you working on a plugin version?
|
#356
|
|||
|
|||
Kricker,
I did that a while ago and posted that. I no longer use the script but only the plugin - it looks like the screenshot in the attachment. I had to switch to library mode so in the Mediastream skin my movies are in the Movielibrary and SageTV recordings are in the Video section. On average I have about 200 SageTV recordings. It takes a couple of seconds to load the list but then it's nice. The icons come from the webserver - I have the favourite-id.jpg files which I retrieve and a default for manual recordings. I made a directory to host all the thumbnails and the advantage of this method is that they are always the same per favourite so it looks consistent and the kids understand. As EPG I'm using BBBs MyTV script with SageTV as a source where I also can set the occasional manual recording. Favourites I set using the Webserver. Videos and movies are now perfectly integrated and follow the XBMC skin - only the EPG is a bit less polished. Jan |
#357
|
||||
|
||||
Quote:
|
#358
|
|||
|
|||
Quote:
Also there is a bug where the pluging crashes when the recording is split over multiple files but that is so rare I did not bother to fix it. edit: I'll need to send you my MyTV then as the newest is broken because it is using a new http lib which does not like passing the usre id and pwd in the URL Jhh Last edited by jhh; 03-03-2009 at 01:59 PM. Reason: MyTV comment |
#359
|
||||
|
||||
Quote:
|
#360
|
|||
|
|||
I am very interested in this as well, that would be great if you could post your version of the plugin jhh.
__________________
Server: Rosewill RSV-L4411 server case, Core i5 4590, 16 GB RAM, 1 Hauppauge Colossus, 1 HDHomeRun, 500GB SATA recording drive, 14 TB JBOD for media, SageTV 7, Win7 Pro, Ubuntu 14.04 VM with Plex Server and Subsonic Frontend: ASUS Chromebox running Kodi with SageTV add-on |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|