2010-01-01, 07:04 AM
That didn't work.
Martin.
Martin.
2010-01-01, 07:04 AM
That didn't work.
Martin.
Hmmm, I'm not sure then, sorry.
Edit: I just double checked and it turns out that I have my code in the wrong file. It's actually overriding BaseButtonListUiTask.getName() so if you are not implimenting BaseButtonListUiTask, that could be the issue. BaseButtonListUiTask in turn implements IMenuTask so it looks like I have some code cleanup to do.
2010-01-01, 07:39 AM
Yes WebRadio has that and I thought it was related. I just added that to the class that doesn't implement partial and it works, I did have to move a lot of code from the BaseButtonListUiTask interface to the new module but it probably will be cleaner.
Thanks. Martin
2010-01-01, 07:55 AM
I updated the first post with the correction. Now to move my code around (after I get some sleep)...
2010-01-01, 03:17 PM
Well, I added BaseButtonListUiTask to my class, and the name in the upper-left is still "Weather2". Maybe I'm confused on what needs to be done. I don't partial implement any classes.
Author of Weather (NPVR) & Weather2 (GBPVR)
2010-01-01, 03:31 PM
Did you add override? ie
public override string getName() { return WizInfo.cfgGetString(mName, "Weather2Name", mName); } Martin
2010-01-01, 03:50 PM
Yes, I did...
Code: public class WeatherTask : BaseButtonListUiTask, IMenuTask, IUiTask, IUiPopupCallback, WizUiList.CommandCallback
Author of Weather (NPVR) & Weather2 (GBPVR)
2010-01-01, 10:50 PM
scb147 you can try return a hard code string to see if that helps. I had to take out the
BaseButtonListUiTask class because it impacted the Config.exe handling too much to dig into. In the activate event for the plugin I just use Code: SkinHelper2 skinHelper2 = new GBPVRX2.SkinHelper2(PluginIntName + @"\AnyValidSkin.xml"); and it shows up using baseskin.xml without BaseButtonListUiTask Martin
2010-01-03, 02:22 PM
Hey all, make sure this line is:
Code: args["@screenName] = getName(); Otherwise you'll have problems ![]() Thanks, whurlston!
Author of Weather (NPVR) & Weather2 (GBPVR)
2010-01-03, 08:48 PM
No problem. Glad it got sorted. I don't set that property manually when implementing BaseButtonListUiTask so I didn't catch it.
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Custom recording | tomx | 2 | 87 |
2025-02-07, 09:14 AM Last Post: tomx |
|
PIP plugin for Kodi | sgilani | 2 | 2,391 |
2022-10-17, 12:44 AM Last Post: sgilani |
|
New Systems Plugin | kirschey | 10 | 3,117 |
2020-11-14, 08:01 PM Last Post: sub |
|
custom creation of a recurring error | p37307 | 2 | 2,102 |
2017-12-19, 03:45 AM Last Post: mvallevand |
|
VIdeo playback from plugin | mvallevand | 5 | 3,313 |
2015-08-06, 10:43 PM Last Post: sub |
|
Custom recording rules | mvallevand | 58 | 20,901 |
2014-12-08, 03:28 AM Last Post: mvallevand |
|
Attention Sub: Open TV / Custom Data Grabber plugin | Benoire | 2 | 2,799 |
2014-11-14, 02:05 AM Last Post: Benoire |
|
API docs to help with plugin development? | McBainUK | 3 | 2,644 |
2013-06-08, 06:14 PM Last Post: sub |
|
Refreshing TV Guide Data (after System plugin EPG update) | imilne | 13 | 5,867 |
2013-03-24, 08:03 PM Last Post: imilne |
|
sabnzbd plugin to show processed files | Wakalaka | 1 | 1,864 |
2013-03-12, 06:48 AM Last Post: psycik |