Important changes regarding plugins for thunderblade

1 view
Skip to first unread message

Sam Saffron

unread,
Feb 16, 2010, 6:29:25 AM2/16/10
to videobro...@googlegroups.com
Hi All, 

Im kind of tired of everybody having to add 100 repositories just to get plugins so I think it makes sense to centralize. 

To facilitate this, all developer on CT now have access to an upload tab (where you can upload files / images and dlls) on your user page. 

Tomorrow I will set up a page on the MB website where you can click a button to suck in all the changes and regenerate the plugin xml file. 

To facilitate these changes I made a few interface changes to the way we generate version info.

In particular 

In your assemblyinfo.cs file add the following attribs: 

[assembly: AssemblyVersion("1.0.4.0")] 
[assembly: AssemblyFileVersion("1.0.4.0")]

[assembly: AssemblyTitle(Plugin.PluginName)]
[assembly: AssemblyDescription(Plugin.PluginDescription)]
[assembly: TestedVersion("2.2.2.0")]
[assembly: RequiredVersion("2.2.2.0")]

Also if you are a UI plugin add the following attribute 
[assembly: InstallGlobally)] 

If you do so, my utility will be able to interrogate the dll to grab the information required to generate the plugin XML. (the util is in mercurial so you can play with it) 

I will also set up a page where you can see the count of downloads per plugin which should complete the loop. 

The workflow for updating a plugin will be, upload to CT, (optionally delete the old one) and then click on the regenerate plugin xml on the MB website. 

Hope you like this, 

let me know what you think

Sam 




Sam Saffron

unread,
Feb 16, 2010, 6:43:03 AM2/16/10
to videobro...@googlegroups.com
I will probably clean this up so it grabs it off IPlugin tomorrow. im not sure about the assembly file editing, still it is a bit of a gotcha the way we are doing versioning ... especially since the Version stuff lives in that assembly info file so it is a tad confusing ... 

anyway its late here. will clean up tomorrow. in the mean time feel free to upload plugins to the tracker so I can test my automated process. 

Rob

unread,
Feb 16, 2010, 8:37:33 AM2/16/10
to VideoBrowser Devs
Hi Sam,

I uploaded Vanilla if you want to test things out, I didn't add the
additional lines, TestedVersion, RequiredVersion, InstallGlobally
because you seem to have stripped this out of the latest version at
least that's what I understood from the commit notes.

On Feb 16, 6:43 am, Sam Saffron <sam.saff...@gmail.com> wrote:
> I will probably clean this up so it grabs it off IPlugin tomorrow. im not
> sure about the assembly file editing, still it is a bit of a gotcha the way
> we are doing versioning ... especially since the Version stuff lives in that
> assembly info file so it is a tad confusing ...
>
> anyway its late here. will clean up tomorrow. in the mean time feel free to
> upload plugins to the tracker so I can test my automated process.
>

Eric Reed

unread,
Feb 17, 2010, 11:00:39 AM2/17/10
to videobro...@googlegroups.com

Plugin devs (especially you theme guys) - There is also now a new method on your plugin class you can define: RichDescURL.  It should return a string that is a fully-qualified path to an html page that can give a full description with pictures of your plug-in.  If that method returns a valid value this page will be shown in the add plugin window instead of the name and simple description.  As a warning, this will be a fully-functional html page so links will work (if someone knows how to disable them, please let me know - I haven't found a way) - BUT - I think that could be very confusing so I suggest a best practice of no links in these html description pages.

 

You can see what it looks like here: http://community.mediabrowser.tv/permalinks/r/932/5331/plugins-in-the-configurator---preview-pics-icon#5331

--
You received this message because you are subscribed to the Google Groups "VideoBrowser Devs" group.
To post to this group, send email to videobro...@googlegroups.com.
To unsubscribe from this group, send email to videobrowser-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/videobrowser-devs?hl=en.

Jas Manghera

unread,
Feb 17, 2010, 11:04:27 AM2/17/10
to videobro...@googlegroups.com
Nice feature.
 
Can we have an updated skeletal Plugin.cs and or assembly info file? This would reduce errors several fold by having an up-to-date reference for third party plugins.

Eric Reed

unread,
Feb 17, 2010, 11:14:13 AM2/17/10
to videobro...@googlegroups.com

I have updated the templates.  Here are new copies (they will also go into the root of mercurial).

MediaBrowser Theme.vsi
MediaBrowser Plugin.vsi

Jas Manghera

unread,
Feb 17, 2010, 11:16:18 AM2/17/10
to videobro...@googlegroups.com
Thx yo~!

Rob

unread,
Feb 17, 2010, 12:38:55 PM2/17/10
to VideoBrowser Devs
Should you put a restriction on width or height of this HTML page that
get's passed back otherwise the window might get pretty huge if you
post some 1200px wide image or something.

On Feb 17, 11:00 am, "Eric Reed" <s...@reedsplace.com> wrote:
> Plugin devs (especially you theme guys) - There is also now a new method on
> your plugin class you can define: RichDescURL.  It should return a string
> that is a fully-qualified path to an html page that can give a full
> description with pictures of your plug-in.  If that method returns a valid
> value this page will be shown in the add plugin window instead of the name
> and simple description.  As a warning, this will be a fully-functional html
> page so links will work (if someone knows how to disable them, please let me
> know - I haven't found a way) - BUT - I think that could be very confusing
> so I suggest a best practice of no links in these html description pages.
>

> You can see what it looks like here:http://community.mediabrowser.tv/permalinks/r/932/5331/plugins-in-the...
> urator---preview-pics-icon#5331


>
> From: Sam Saffron [mailto:sam.saff...@gmail.com]
> Sent: Tuesday, February 16, 2010 6:43 AM
> To: videobro...@googlegroups.com
> Subject: Re: Important changes regarding plugins for thunderblade
>
> I will probably clean this up so it grabs it off IPlugin tomorrow. im not
> sure about the assembly file editing, still it is a bit of a gotcha the way
> we are doing versioning ... especially since the Version stuff lives in that
> assembly info file so it is a tad confusing ...
>
> anyway its late here. will clean up tomorrow. in the mean time feel free to
> upload plugins to the tracker so I can test my automated process.
>

Eric Reed

unread,
Feb 17, 2010, 3:40:21 PM2/17/10
to videobro...@googlegroups.com
The window doesn't resize so it will just end up producing scroll bars.
Still, it won't look too hot so, yes the width at least should be limited to
what fits in the current window (which is about a normal page width).
Length can be variable and just scroll, but you should probably keep it not
too long...

justin thomas

unread,
Feb 19, 2010, 4:04:55 PM2/19/10
to videobro...@googlegroups.com
Am i missing something, i dont seem to find RichDescURL after my last update ...
thanks

Sam Saffron

unread,
Feb 19, 2010, 5:19:40 PM2/19/10
to videobro...@googlegroups.com
you need to compile against trunk

justin thomas

unread,
Feb 19, 2010, 5:29:17 PM2/19/10
to videobro...@googlegroups.com
Dam merc got me again - lol - thanks!

Craig

unread,
Feb 23, 2010, 2:29:47 PM2/23/10
to VideoBrowser Devs
Now Im missing something, its late, I'm tired. Thats my excuse and im
sticking to it.

Where can I up a theme so that its part of the "global sources"?

I found an upload tab on my profile page, but after upping the dll I'm
a bit lost.

Anyways, help appreciated as always guys.

Thanks
Craig

Eric Reed

unread,
Feb 23, 2010, 2:43:30 PM2/23/10
to videobro...@googlegroups.com
What did you upload? I don't see it in the plugin directory...

-----Original Message-----
From: Craig [mailto:crai...@gmail.com]
Sent: Tuesday, February 23, 2010 2:30 PM
To: VideoBrowser Devs
Subject: Re: Important changes regarding plugins for thunderblade

Thanks
Craig

--

Craig

unread,
Feb 23, 2010, 2:53:19 PM2/23/10
to VideoBrowser Devs
Ok, where exactly should I upload it? I logged into CT then clicked on
my name, then there was an upload tab.

???

Should I have uploaded it elsewhere?

Craig

unread,
Feb 23, 2010, 3:02:32 PM2/23/10
to VideoBrowser Devs
Just to add, here is a screen snip of what im talking about:

http://i107.photobucket.com/albums/m320/twism10111/Capture.jpg

So, I'm not sure what to do... hehe... get the feeling I've done
something dumb.

Craig

Eric Reed

unread,
Feb 23, 2010, 4:05:05 PM2/23/10
to videobro...@googlegroups.com
Nah, that looks okay. Maybe Sam has to direct where your uploads go...?

Sam Saffron

unread,
Feb 23, 2010, 5:54:56 PM2/23/10
to videobro...@googlegroups.com
its my bad, I use mono to grab the information about a plugin so im probably missing a dependency or something is flaking out, will look at it now

Craig

unread,
Feb 24, 2010, 1:44:06 PM2/24/10
to VideoBrowser Devs
Im still lost on this. I see my plugin is there, but I have destroyed
the old version and upped a new one but its not showing? does it only
update once a day? or how does it work?

> > > > videobrowser-d...@googlegroups.com<videobrowser-devs%2Bunsubscr i...@googlegroups.com>


> > .
> > > > For more options, visit this group athttp://
> > groups.google.com/group/videobrowser-devs?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "VideoBrowser Devs" group.
> > To post to this group, send email to videobro...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > videobrowser-d...@googlegroups.com<videobrowser-devs%2Bunsubscr i...@googlegroups.com>

Rob

unread,
Feb 24, 2010, 2:47:04 PM2/24/10
to VideoBrowser Devs
Did you update the plugins XML http://www.mediabrowser.tv/plugins ?

I Just did a refresh but now your plugin is gone.

Eric Reed

unread,
Feb 24, 2010, 2:48:01 PM2/24/10
to videobro...@googlegroups.com
No, it updates immediately. I'll go refresh the xml and see if that fixes
it up for you...

> > > > videobrowser-devs+%2Bunsubscr i...@googlegroups.com>


> > .
> > > > For more options, visit this group athttp://
> > groups.google.com/group/videobrowser-devs?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "VideoBrowser Devs" group.
> > To post to this group, send email to videobro...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > videobrowser-d...@googlegroups.com<videobrowser-devs%2Bu

> > videobrowser-devs+nsubscr i...@googlegroups.com>


> > .
> > For more options, visit this group at
> >http://groups.google.com/group/videobrowser-devs?hl=en.

--


You received this message because you are subscribed to the Google Groups
"VideoBrowser Devs" group.
To post to this group, send email to videobro...@googlegroups.com.
To unsubscribe from this group, send email to

videobrowser-d...@googlegroups.com.

Eric Reed

unread,
Feb 24, 2010, 2:48:52 PM2/24/10
to videobro...@googlegroups.com
oops, nevermind - chocolate is no longer there...

-----Original Message-----
From: Craig [mailto:crai...@gmail.com]

> > > > videobrowser-devs+%2Bunsubscr i...@googlegroups.com>


> > .
> > > > For more options, visit this group athttp://
> > groups.google.com/group/videobrowser-devs?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "VideoBrowser Devs" group.
> > To post to this group, send email to videobro...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > videobrowser-d...@googlegroups.com<videobrowser-devs%2Bu

> > videobrowser-devs+nsubscr i...@googlegroups.com>


> > .
> > For more options, visit this group at
> >http://groups.google.com/group/videobrowser-devs?hl=en.

--


You received this message because you are subscribed to the Google Groups
"VideoBrowser Devs" group.
To post to this group, send email to videobro...@googlegroups.com.
To unsubscribe from this group, send email to

videobrowser-d...@googlegroups.com.

Rob

unread,
Feb 24, 2010, 2:53:14 PM2/24/10
to VideoBrowser Devs
Just refreshed again its back 0.0.1.5

Craig Thomas

unread,
Feb 24, 2010, 3:04:57 PM2/24/10
to videobro...@googlegroups.com
Ok, does it refresh automatically now? or does it need to be done manually?

If manually, how would I go about doing it?

Rob

unread,
Feb 24, 2010, 3:17:27 PM2/24/10
to VideoBrowser Devs
I think its manually at least I've always gone to refresh it
manually. simply go to www.mediabrowser.tv/plugins login using the
password Sam provided and at the bottom of the plugins list you will
see a refresh button.

Craig Thomas

unread,
Feb 24, 2010, 3:20:13 PM2/24/10
to videobro...@googlegroups.com
... you happen to have the password laying around? I have been out the
loop for a while so I dont know where sam posted the password, or if he
even intended for me to get it :/

Rob

unread,
Feb 24, 2010, 3:23:50 PM2/24/10
to VideoBrowser Devs
PM sent.

On Feb 24, 3:20 pm, Craig Thomas <craig...@gmail.com> wrote:
> ... you happen to have the password laying around? I have been out the
> loop for a while so I dont know where sam posted the password, or if he
> even intended for me to get it :/
>
> Rob wrote:
> > I think its manually at least I've always gone to refresh it

> > manually.  simply go towww.mediabrowser.tv/pluginslogin using the

justin thomas

unread,
Feb 26, 2010, 10:18:54 AM2/26/10
to videobro...@googlegroups.com
How does the plugin information get extracted from the plugin you upload, does it initialize the plugin, if not mine will not work??

justin thomas

unread,
Feb 26, 2010, 10:48:46 AM2/26/10
to videobro...@googlegroups.com
nevermind i changed it to work.

i think browser cache screwed me over a bit too ... :)
Reply all
Reply to author
Forward
0 new messages