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
Development
General Development (no feature request here!)
DJBlu's Custom Sky Data Grabber for MP1.9 onwards
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="ears" data-source="post: 1129514" data-attributes="member: 83203"><p>Thanks J. I don't actually do anything to the MePo client - the merge works perfectly for that. Which is lucky as I'd be up sh*t creek if I had to start messing around in there. I think the only thing that happens is to add the Sky series link to recording options.</p><p></p><p>The biggest pain is the SQL and getting the columns created that the Grabber needs - and checking if they exist already. Because this mod isn't official, it doesn't relate to any official database version number. So it's not like I can put it in, say, 61 and be done with it as many people don't use this installer and don't create the columns - but may want to in the future. Neither can I create a new database version number as this is not official, and could very well prevent people upgrading to future versions further down the line.</p><p></p><p>The way I've got around it is to add a checker outside of the official version numbers that, if it doesn't find the columns, calls a SQL script that creates them. The downside of this, is that it's done in code (albeit just one line added to the 'UpdateDatabaseSchema' method calling one custom method that checks for the column and, if required, sends the custom SQL into the existing executeSQL method.</p><p></p><p>The second bit just involves adding a few unofficial version numbers to a list of official version numbers in the deploy tool.</p><p></p><p>The third bit is a file copy and listing the file paths in the TVEngine setup.nsi.</p><p></p><p>That's it really.</p><p></p><p>I got it working last night I think - I've installed official 1.10 and 'upgraded' and that works, I just want to test upgrading from a grabber customised 1.9 and a clean 1.10 grabber install then I'll upload it. As it's all fresh in my mind it'll likely be quite soon after the official release of 1.11 that I put that version up.</p></blockquote><p></p>
[QUOTE="ears, post: 1129514, member: 83203"] Thanks J. I don't actually do anything to the MePo client - the merge works perfectly for that. Which is lucky as I'd be up sh*t creek if I had to start messing around in there. I think the only thing that happens is to add the Sky series link to recording options. The biggest pain is the SQL and getting the columns created that the Grabber needs - and checking if they exist already. Because this mod isn't official, it doesn't relate to any official database version number. So it's not like I can put it in, say, 61 and be done with it as many people don't use this installer and don't create the columns - but may want to in the future. Neither can I create a new database version number as this is not official, and could very well prevent people upgrading to future versions further down the line. The way I've got around it is to add a checker outside of the official version numbers that, if it doesn't find the columns, calls a SQL script that creates them. The downside of this, is that it's done in code (albeit just one line added to the 'UpdateDatabaseSchema' method calling one custom method that checks for the column and, if required, sends the custom SQL into the existing executeSQL method. The second bit just involves adding a few unofficial version numbers to a list of official version numbers in the deploy tool. The third bit is a file copy and listing the file paths in the TVEngine setup.nsi. That's it really. I got it working last night I think - I've installed official 1.10 and 'upgraded' and that works, I just want to test upgrading from a grabber customised 1.9 and a clean 1.10 grabber install then I'll upload it. As it's all fresh in my mind it'll likely be quite soon after the official release of 1.11 that I put that version up. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
DJBlu's Custom Sky Data Grabber for MP1.9 onwards
Contact us
RSS
Top
Bottom