| | #172 (permalink) |
| Portal Member Join Date: Feb 2008
Posts: 43
Thanks: 0
Thanked 3 Times in 3 Posts
Country: | The SVN copy has to be manually compiled at the moment, and you have to check it out using the "Svn" command. I'd recommend waiting for a build if you do not have the SVN client / visual studio to compile it all. The svn repository is: URL: https://mp-plugins.svn.sourceforge.n...ins/XBMCServer |
| | |
| | #174 (permalink) |
| Portal Member Join Date: Aug 2007 Age: 43
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | This is a very interesting thread. So i downloaded the svn and compiled it with (after migration) vs2008. No errors and a very quick build. But in the /bin/release i only have an .exe no .dll. Did i miss anything during my build? For now i can play with my .exe, thats more than i ever had with my xmbc Tia John After i changed my output type to "Class library" it generated a .dll. Was this the correct way? Last edited by dutchmatrix; 2009-02-06 at 14:46.. Reason: Maybe the solution |
| | |
| | #176 (permalink) |
| Portal Member Join Date: Aug 2007 Age: 43
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Thanx for your Reply. I compiled it as dll and it works. Only a big problem with the timeshifting. - First it wont stop timeshifting after i stop watching. (for this im gonna try the patch from redth) - If i change channels, it wont play directly the new channel but plays the timeshift buffer which has the recording from the previous channel. (This is a little annoying, but i have hope because it strongly relates to the first problem) I also had a couple of times that the dll crashed, maybe if i add some more "try catch" i can tackle this. But most important it's nice to play with the source. |
| | |
| | #177 (permalink) |
| Portal User Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Hello! This is my first post in the MediaPortal forum and first I want to thank EvilDude for working on this plugin and script. I had some problems with this early version so I modified it a bit. I always return false from "IsTimeshifting", I remove Swedish letters (åäö) from program names and I have modified the rtsp URL returned to the client (I think I had to do that because om my VM ware installation). Here are a zip file containing the result if someone want to try it (use reflector if you are interested in the source). Now I can watch live TV but XBMC crash after about 10 minutes due to this bug that was fixed 5 days ago. I need a new XBMC SVN build... Thanks again EvilDude and keep up the good work! / Tomas |
| | |
| | #178 (permalink) |
| Portal Member Join Date: Jan 2006
Posts: 149
Thanks: 33
Thanked 1 Time in 1 Post
Country: | toso06: What is the purpose of always returning false from IsTimeshifting? I haven't had time to look at the source of the script yet, but I'm encountering a problem after viewing TV via XBMC - If I stop the video the timeshift still runs (unless you back out to the main tv-server menu and use the context menu to stop timeshifting) Does your change alter this behaviour in any way? The problem is I use multiple clients, so normally if I'm downstairs I get no free tuners because the client upstairs is still timeshifting even though the video had been stopped.. |
| | |
| | #179 (permalink) |
| Portal User Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Hello! I don't know Python (only C#) so the script it hard for me to read but if IsTimeshifting returns true the server plugin won't get the TimeshiftChannel command from the script. If I always return false the client sends this sequence when I try to change the channel: Handling command; IsTimeshifting Handling command; TimeshiftChannel PlayChannel result : rtsp://192.168.1.3/stream1.0 If I return true (when timeshifting has started) I get this when I try to change the channel: Handling command; IsTimeshifting Handling command; CloseConnection My change to the rtsp URL was that I just return the server address: // timeshift a channel and get the stream url public static String playChannel(int chanId) { serverIntf.StopTimeShifting(); string rtspURL = ""; TvResult result = serverIntf.StartTimeShifting(chanId, ref rtspURL); // rtspURL contains a IP address for me if (result != TvResult.Succeeded) { rtspURL = "[ERROR]:" + result.ToString(); } else { // update globals timeshiftUrl = rtspURL; timeshiftChannel = chanId; } / Tomas |
| | |
| | #180 (permalink) | |
| Portal Member Join Date: Nov 2008 Location: Melbourne
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Quote:
| |
| | |
![]() |
| Bookmarks |
| Tags |
| python, script, xbmc |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Approved] IMDB.com (default info grabber) | dukus | Submit: Movie Info Grabbers | 140 | 2009-02-14 00:17 |
| Python Plugin? | t-herweg | Plugins & Erweiterungen | 0 | 2007-10-20 23:25 |
| XMLtv Channel tag Replacer Python script. | gibman | xmlTV | 1 | 2007-09-04 19:55 |
| Video thumbnails script | MonsterM | watch/edit Videos | 5 | 2007-04-29 23:47 |