Need some change in the MP ISetupForm for webinterface (3 Viewers)

pitie

Portal Member
April 4, 2006
19
0
Hi

So for the webinterface and MPI (MP installer)

I need in the ISetupForm just a version info in integer.

to get ascendant compatibily by defaut put it on 0.

Thanks
 

samuel337

Portal Pro
August 25, 2004
772
0
Melbourne, Australia
Er... I'm confused - could you please try explaining it again, in more detail if you can?

MPW (MP web-interface) does not have an ISetupForm interface; I'm assuming you mean the External Control Plugin II that MP uses, which will have a ISetupForm interface in the new version soon to be released. The ISetupForm interface however doesn't allow for version numbers - it is not designed to do that. If you want to track the version of MPW, the best way would be to use the version number on the ECP2Assembly.dll file.

What exactly are you trying to do? If you're using the web service, the web service allows you to get the version numbers of the ECP2 Plugin through that, which would be easier.

I don't know what you mean by MPI either? Are you referring to MediaPortal's installer or MPW's installer? Why do you need to know the version numbers of these? Most people delete these files after they have installed MP or MPW.

Sam
 

pitie

Portal Member
April 4, 2006
19
0
I am sorry i didn't expain it well...
The french team are working on a mediaportal setup for plugin (it includ an standalone exe for install/unistall/download plugin, a webservvice with a db with all plugin, a webinterface in MP for viewing , installing and updating pplugin and finaly a setup maker for dev.)

The main setup program (exe) is done but don't have version control because plugin don't have version property. So it is why I ask it.

If we have time we will do that but we hope you will do it ;)
 

samuel337

Portal Pro
August 25, 2004
772
0
Melbourne, Australia
I'm not sure if MPW can be distributed like that, because its setup process is a bit complex. I'd be interested to know what sort of functions are available for the dev during the setup process (MPW requires multiple external programs to be launched to configure it during setup, and also an external program to be launched if password protection is required. It is also not a true MP plugin - it has a new application that controls the server which runs independently of MP).

Anyway, from the sounds of what your doing, just use the ECP2Assembly.dll's version property.

MPW consists of multiple parts, and the version numbers are not identical - e.g. there's the PHP-code, the ECP2 Plugin, and MPW application. We have not decided on having a single version number yet - but if we do this, we'll let you know. Note that sometimes only the PHP-code is updated, while during other times, only the ECP2 Plugin is updated. This is probably very different to other MP plugins, so we have plans to have our own updating facility. But we have not finalised this yet, so if you need an answer now, just use the ECP2Assembly.dll's version property.

How are you getting the version property out of other plugins? Just getting the assembly version metadata, e.g.:
System.Reflection.AssemblyName.GetAssemblyName(MPWECP2Path).Version.ToString();
where MPWECP2Path = path to ECP2Assembly.dll?

Sam
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
As mentioned several times before, we're already working on an installer/updater/server system for MP (without rendering old already compiled plugins useless!). You might wanna upload your ideas/code to sourceforge, so we can have a look at what we can use of it. So that might save some double work & time and lets us finish work on it even earlier.

Looking forward to it, we'd be happy to see more such contributions! :wink:

FYI, it will come some time after 0.2 release, so anybody asking for a date or other details is just wasting his time. :roll:
 

pitie

Portal Member
April 4, 2006
19
0
I have contacted Baravian and Lordmessy.

Our project is next to ready.

I send you last week a mail but no reply

MPI dev start 1 month ago but stoped because lordmessy said that you was working on it but recently i ask where you are and said me that you was working for building v0.2 of MP.
So I have proposed to do it and reply that ok.

So you can stop it i think.

MP webserver and interface and installer will be out in some days...
 

samuel337

Portal Pro
August 25, 2004
772
0
Melbourne, Australia
pitie said:
MP webserver and interface and installer will be out in some days...

Er... MP webserver and interface and installer for that is NOT coming out in the next few days as far as I know - LordMessi or Maschine, please advise me otherwise.

I just wanted to clear up any confusion if there is any.

Sam
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
Not sure if we're talking about the same thing.

Anyway, I didn't get any mail. But no problem. As said, when you're done, upload your stuff to sourceforge and we'll see what we can use. That's the way it always goes, as everyone knows.

But of course, if you're talking about something completely different (I get the impression, cause of Samuel's answers), just forget what I said. Happy coding!

FYI: DMAN's the project manager, not LordMessi nor Bavarian. Only he knows who the team devs are working on. So in doubt always contact DMAN. I don't have to tell you, but work on it started more than a month ago. :wink:
If you have anything to contribute, we'd be happy to incorporate your work. As said, this saves some work & time and can never harm. Joining forces is the way to go in Open Source.

Again: When done, upload the stuff as everyone does and we'll see.
 

pitie

Portal Member
April 4, 2006
19
0
MPI (the exe standalone setup) is on the french CVS

The PHP server too

Ok for the not understand.

I retry to explain it better :D

This project is in 4 part.

1 PHP server with a db where all plugin/skin are puted, mpi file were hosted on it.
Your team will be the moderator (for approve plugins/skin)
Translator will get an access to translation
Dev will be able to upload there projects (with MPI maker)

A MP plugin allow user to install MP plugin/skin in MP (no config todo, no download todo). just have to select what they want and MPI is launched
MPI close MP and install it. At the end of the install, MPI launch configuration of the plugin/skin (with the ISetupForm) and it restart MP

the dev will have MPI maker for doing there mpi file. It allow him to create a zip file renamed in MPI, add file to extract, language to add in the strings.xml of MP, editing registry and ini file, installing dll, adding some function to an existing skin (for exemple adding automaticaly a button to skin bluetwo in the TV main page...) and all other.

and to finish the config of the plugin in MP will add button install/unistall and update button.

I hope my explain is understand ?
 

Users who are viewing this thread

Similar threads

I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D from the tags. Not that important, so I dont upload any new file. A little sad about the end time, but nothing to do about it.
I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D...
I'm trying to develop a new WebEPG grabber for sweden, but I got a few problem in parsing the html-file to get all programs. In...
Replies
9
Views
730
Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use just to control volume and standby, will no longer put my devices (TV & AVR) to sleep when the HTPC is put in standby. Also when I wake up the HTPC MP closes or crashes (not sure which) as per the example in...
Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
Ran into this problem following an otherwise sucessful upgrade from MP 1.34 x64 to MP 1.35 x64 the CEC Remote plugin which I use...
Replies
0
Views
448
Yes, all compatible with x64 ;)
Yes, all compatible with x64 ;)
Hi folks, for all those who would like to enjoy Mediaportal on the Titanskin, I have now adapted the well-known MP games package...
Replies
7
Views
999
I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios were not populated Fallback to english tagline didn't work Score / Popularity now empty instead of dummy rating and unknown popularity numbers Also I've tried to compile plugin against MP 1.34 x64 and...
I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios...
Hi! TheTVDB.com has movies in their API now. API itself looks ok now so I decided to add TVDB to Moving Pictures. Check it if you...
Replies
2
Views
807
Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
Replies
5
Views
555
Top Bottom