|
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 |
#161
|
|||
|
|||
Adding comskip support.
I would love to try and make comskip support happen, but I'm in the midst of law school--so I'm pretty swamped with classwork!
If someone else was able to figure out how to get the webserver to serve the comskip EDL from predictable URLs for each recording, maybe I can figure out Python enough to add a routine that checks the config file for whether or not there *should* be comskip files, and if so, tries to download one and prepares to skip ahead as needed. Maybe Coolwave will help point me in the right direction?? |
#162
|
||||
|
||||
-Coolwave,
Any ideas on how to fix the issues I posted above? |
#163
|
|||
|
|||
has anyone got this script working in a placeshifter'ish way so you can watch tv and change channel through xbmc?
|
#164
|
|||
|
|||
Quote:
Easy fix would be: stream ongoing recordings and play finished recordings directly (i.e. not stream them). This requires a small change in the script which is currently above my python skills. Still far away from channel flipping though but getting placeshifter on xbox is not that straightforward either. Jan |
#165
|
|||
|
|||
thats what i thought, just thought i would check
|
#166
|
|||
|
|||
has anyone gotten this to work with the 2.9 webserver and the newest xbmc ?
|
#167
|
||||
|
||||
Quote:
|
#168
|
|||
|
|||
Quote:
With mine I can see my recorded shows, but when i click on anything i get nothing, and i cant back out of it, its like it freezes up or something. thanks |
#169
|
||||
|
||||
Sorry, I have been busy. If you still need this info I can post it tonight.
|
#170
|
||||
|
||||
Quote:
changed code see below. Last edited by kricker; 01-05-2007 at 12:24 PM. |
#171
|
|||
|
|||
Quote:
There is some good news as there is a pc emulator for the XBMC on which you can find more details about here: http://www.xboxmediacenter.com/forum...ad.php?t=23235. Problem for me is that I get the failed to create pixel shader error messages which is mentioned in the thread already but it looks like in the future python development will become easier for us beginners. [EDIT]Tried the emulator on a different machine now and result is in attachment (at least if that worked).[EDIT] Last edited by jhh; 01-04-2007 at 01:52 PM. |
#172
|
||||
|
||||
Quote:
Yeah sorry about that. I just noticed that last night. I plan to look at it today. I did start having problems with the script and newer builds of XBMC. The shows would no longer play and the script locks up. I posted on the XBMC forums hoping for help but I doubt it will happen. I saw the PC dev of XBMC but didnt even think about it, I figured it'd be over my head. But I guess I'll give it a shot. The webserver is on version 2.11 now. I also plan on trying the script out with that version and see what happens. We might need to team up and not duplicate each others efforts. I thought I was the only one still working on/using this. |
#173
|
||||
|
||||
OK, so try this.
Change: Code:
#Currently Recording if WebHTML.find('Record Options', re.I) > 0: if WebHTML.find('Watch (Streamed)', re.I) > 0: pcur_rec = True else: pcur_rec = False else: pcur_rec = False Code:
#Currently Recording if WebHTML.find('Record Options', re.I) > 0: if WebHTML.find('Archive', re.I) > 0: pcur_rec = False else: pcur_rec = True else: pcur_rec = False |
#174
|
||||
|
||||
I've also found how to archive something. I just do not know how to change the 'archive button' to an 'unarchive' button.
EDIT. OK, now I've got archive and unarchive commands working, just the refresh of the button isn't working right yet. Last edited by kricker; 01-05-2007 at 01:04 PM. |
#175
|
||||
|
||||
For Archiving functions change;
Code:
if self.program.recorded: if not self.program.archived: if ShowArchive: self.LeftButtonTitles.append('Archive') self.LeftButtonTitles.append('Delete') Code:
if self.program.recorded: if ShowArchive: if self.program.archived: self.LeftButtonTitles.append('UnArchive') else: self.LeftButtonTitles.append('Archive') self.LeftButtonTitles.append('Delete') Code:
elif self.LeftButtonTitles[i] == "Archive": #Archive self.message("Haven't found a way to archive through webserver...") Code:
elif self.LeftButtonTitles[i] == "Archive": #Archive if self.program.recorded: Base_URL = "http://" + webaddress + "/sage/AiringCommand?command=Archive&MediaFileId=" + str(self.program.mediafileid) else: Base_URL = "http://" + webaddress + "/sage/AiringCommand?command=Archive&AiringId=" + str(self.program.mediafileid) WebSock = urllib.urlopen(Base_URL) # Opens a 'Socket' to URL WebHTML = WebSock.read() # Reads Contents of URL and saves to Variable WebSock.close() # Closes connection to url if WebHTML.find('Applied command: Archive') > 0: self.program.archived = True self.Refresh() self.setFocus(self.buttonLeft[i]) break elif self.LeftButtonTitles[i] == "UnArchive": #UnArchive if self.program.recorded: Base_URL = "http://" + webaddress + "/sage/AiringCommand?command=Unarchive&MediaFileId=" + str(self.program.mediafileid) else: Base_URL = "http://" + webaddress + "/sage/AiringCommand?command=Unarchive&AiringId=" + str(self.program.mediafileid) WebSock = urllib.urlopen(Base_URL) # Opens a 'Socket' to URL WebHTML = WebSock.read() # Reads Contents of URL and saves to Variable WebSock.close() # Closes connection to url if WebHTML.find('Applied command: Unarchive') > 0: self.program.archived = False self.Refresh() self.setFocus(self.buttonLeft[i]) break Last edited by kricker; 01-05-2007 at 01:33 PM. |
#176
|
|||
|
|||
Quote:
ENHANCEMENTS: MediaFileDownload: Estimate total size for currently recording streaming files, allows playing while recording and seeking -> that is what allows playing currently recorded file on XBMC - Nielm was so kind to give me a preview of that one but if we want more people to be able to use it then it would be nice if they had v2.11 of the webserver. The ned to copy in files manually is then no longer there. What combination is working for you? Jan |
#177
|
||||
|
||||
The original script used to play currently recording files just fine. I wonder what happened to break that.
I'll check it out with 2.11 of the webserver later tonight. I am using XBMC build 11-13-200 from T3CH I tried XBMC-CVS-12-25-2006-T3CH and the script wouldn't play any video. So is my new script working okay for you? |
#178
|
|||
|
|||
Quote:
Quote:
Out of curiosity I tried 11-13 build with v2.11 but they did not like each other too much. Problem seems to be known though - this is what I had in xbmc.log: Keymapping error: no such action 'q:\scripts\sagetv\sagetv.py' defined Same problem is mentioned here: http://xboxmediacenter.com/forum/sho...d.php?p=119681 Anyway I now have both 11-13 and 12-25 - switching webserver version takes only a minute so experimenting is not too much of a problem. Last edited by jhh; 01-06-2007 at 03:03 PM. |
#179
|
|||
|
|||
Had some scary times - I noticed that my XMLTV was no longer updating. So I thought that was broken, now that is a bit silly as things don't just break like that but anyhow it tempted me to install the latest java runtime.
It turns out that the java version of the server actually plays a role as well. While in my setup version 2.8 of the webserver is happily running and 2.11 is not neither of them were after the java upgrade. I'd appreciate if anyone with a working combination higher than 2.8 version of the webserver could post their setup: XBMC build, version of the webserver, java version of the server, have you SageTV as a service or not ... (more out of curiosity) XBMC-CVS-12-25-2006-T3CH , webserver v2.8, J2 SE 1.4.2_06, SageTV 6.0.11.108 running as a service. BTW: it seems like the XMLTV is not broken - the datasource simply stopped offering data beyond tomorrow. Unfortunately show descriptions in the free datasource were way better than in tvtv. |
#180
|
|||
|
|||
Hi
I have problems running the sagetv xmbc script. I have Sage Webserver version 2.6 running, and i can login to the webpage. I also tried to load the page manually (http://htpc:htpc@10.1.1.40:8080/sage/) like the script should do, works perfectly. I also see in the log of the Webserver that the xbox connects. -------cut logfile------------ [Wed Jan 10 21:15:21 CET 2007] /10.1.1.60 GET /sage/Home 200| null| Python-urllib/1.16 ---------------------------- But when i start the script on the xbox i get only this errormessage (see attachment). i use the script from xbmcscripts.com and changed the default.py with the new version from http://coolwave6.googlepages.com/SageTVws2.8.py. Does someone have ideas what i can try next. Ciao Sandro Settings.xml is also attached. ps: Cool work by the way, go one this way. Will there be a new release soon ? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|