home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
XBMC Python Script
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Redth" data-source="post: 356365" data-attributes="member: 53162"><p>Yeah the more I thought about the MythTV shim idea (that's a good way to describe it), the more I realized it was a lot less practical. It appears the mythtv protocol kinda sucks and half the stuff the MythTV front end does is by connecting directly to the backend mysql database. </p><p></p><p>Here's the issue. I'd love to start making a proper front end for xbmc to tvserver, I just can't do the xbmc/python side. I can handle the TVServer plugin... The one there is a great start, and I'm confident I could make the tvserver plugin side of things do whatever the front end needed...</p><p></p><p>So, jez, I'm not sure what your capabilities here are, but would you be interested in doing the Python side of things? Or anyone else for that matter?</p><p></p><p></p><p>As for the current error I'm getting, I think I found the solution. Basically, when StartTimeShifting gets called, it gets passed a new User object, and a VirtualCard object as an out parameter. The plugin for TVServer currently does nothing with that VirtualCard when it *should* assign the user object the Id from the VirtualCard if timeshifting started successfully. This way, the User.cardId will not be -1 when StopTimeShifting is called, as this is what's causing the error.</p><p></p><p>Here's the patch I've made (I'll test it later, I can't from where I am right now, but it does compile.):</p><p>[CODE]</p><p>Index: ServerInterface.cs</p><p>===================================================================</p><p>--- ServerInterface.cs (revision 2493)</p><p>+++ ServerInterface.cs (working copy)</p><p>@@ -77,6 +77,9 @@</p><p> {</p><p> _isTimeShifting = true;</p><p> rtspURL = vcard.RTSPUrl;</p><p>+</p><p>+ //Need to keep track of the card the user is timeshifting with or StopTimeshifting breaks</p><p>+ me.CardId = vcard.Id;</p><p> }</p><p> return result;</p><p> }</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Redth, post: 356365, member: 53162"] Yeah the more I thought about the MythTV shim idea (that's a good way to describe it), the more I realized it was a lot less practical. It appears the mythtv protocol kinda sucks and half the stuff the MythTV front end does is by connecting directly to the backend mysql database. Here's the issue. I'd love to start making a proper front end for xbmc to tvserver, I just can't do the xbmc/python side. I can handle the TVServer plugin... The one there is a great start, and I'm confident I could make the tvserver plugin side of things do whatever the front end needed... So, jez, I'm not sure what your capabilities here are, but would you be interested in doing the Python side of things? Or anyone else for that matter? As for the current error I'm getting, I think I found the solution. Basically, when StartTimeShifting gets called, it gets passed a new User object, and a VirtualCard object as an out parameter. The plugin for TVServer currently does nothing with that VirtualCard when it *should* assign the user object the Id from the VirtualCard if timeshifting started successfully. This way, the User.cardId will not be -1 when StopTimeShifting is called, as this is what's causing the error. Here's the patch I've made (I'll test it later, I can't from where I am right now, but it does compile.): [CODE] Index: ServerInterface.cs =================================================================== --- ServerInterface.cs (revision 2493) +++ ServerInterface.cs (working copy) @@ -77,6 +77,9 @@ { _isTimeShifting = true; rtspURL = vcard.RTSPUrl; + + //Need to keep track of the card the user is timeshifting with or StopTimeshifting breaks + me.CardId = vcard.Id; } return result; } [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
XBMC Python Script
Contact us
RSS
Top
Bottom