Hello,
now I finished the basic functionalities of my planned application
and next I want to integrate this in MePo.
I need some help how to split the code to integrate it in a TVServer Plugin and a MePo PlugIn.
First a short explanation of the components and their functionallities.
My Application runs a Process (stored in TVAnytime.Process
.dll) which analyse the Program of specified Pay TV Channel and decide with some parameters if it will be recorded.
The parameters are:
- is that program allready recorded or planned?
- was the program allready handeld (recorded / rejected by system or by hand)
- is the imdb rating higher as my minimum request
Every result is stored by a central class "History" in TVAnytime.Manager.dll which is connect to a new mySQL Table on the TVServer Database.
With this "History" class I'm also able to Manage every Program which is marked to record (to reject it manually if for example the program was allready seen) or to manage the status of programs without a imdb result (these are the fewest).
Changing the "record" or "not record" flag change directly the schedule in MePo and all changes will be stored for next processing.
All these described functionins are allready working as a stand alone process (which must be started manually) and with a Windows Form to manage the results.
By now these 3 dlls, a Command Application to start the process, the Windows Form and a copy of Gentle.config are resided in "C:\Program Files\Team MediaPortal\MediaPortal TV Server" to get it work.
My goal is to include my process in a TVServer PlugIn and to get MePo Plugin to Manage the results in the MePo Gui. But the TVAnytime.Manager.dll is used by both parts?!
How should these parts be build to get a reasonable way?
Thanks you for some ideas
Nu
now I finished the basic functionalities of my planned application
and next I want to integrate this in MePo.
I need some help how to split the code to integrate it in a TVServer Plugin and a MePo PlugIn.
First a short explanation of the components and their functionallities.
My Application runs a Process (stored in TVAnytime.Process
.dll) which analyse the Program of specified Pay TV Channel and decide with some parameters if it will be recorded.
The parameters are:
- is that program allready recorded or planned?
- was the program allready handeld (recorded / rejected by system or by hand)
- is the imdb rating higher as my minimum request
Every result is stored by a central class "History" in TVAnytime.Manager.dll which is connect to a new mySQL Table on the TVServer Database.
With this "History" class I'm also able to Manage every Program which is marked to record (to reject it manually if for example the program was allready seen) or to manage the status of programs without a imdb result (these are the fewest).
Changing the "record" or "not record" flag change directly the schedule in MePo and all changes will be stored for next processing.
All these described functionins are allready working as a stand alone process (which must be started manually) and with a Windows Form to manage the results.
By now these 3 dlls, a Command Application to start the process, the Windows Form and a copy of Gentle.config are resided in "C:\Program Files\Team MediaPortal\MediaPortal TV Server" to get it work.
My goal is to include my process in a TVServer PlugIn and to get MePo Plugin to Manage the results in the MePo Gui. But the TVAnytime.Manager.dll is used by both parts?!
How should these parts be build to get a reasonable way?
Thanks you for some ideas
Nu
Last edited: