| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jul 2006 Location: Springfield, IL USA
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
| Is it possible to control the TV engine without making an actual "MediaPortal TV plugin". For instance, I develop plugins for Meedio and would like to make a Meedio plugin control the TV engine. Is this currently possible? Thanks, Josh |
| | |
| | #2 (permalink) |
| Portal Developer Join Date: Apr 2004 Location: The Netherlands Age: 36
Posts: 1,516
Thanks: 3
Thanked 119 Times in 44 Posts
Country: | Sure, thats what the tvplugin is doing after all. You might want to read the development section of the wiki it contains 2 examples showing how to control the tvserver from your own app So one can indeed make a meedio or mce 2005 or sagetv plugin which uses the tvserver |
| | |
| | #3 (permalink) |
| Portal Tester | Instead of writing a plug-in for Meedio to control the TV service... why not just use the plug-in that is already writen for MP... and then with your free time... write your meedio plug-ins for MP! The whole world would be a happier place ![]()
__________________ I SEE WHAT YOU DID THERE! |
| | |
| | #4 (permalink) | ||
| Portal Member Join Date: Jul 2006 Location: Springfield, IL USA
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Code: RemoteControl.HostName = "localhost"; string databaseConnection = RemoteControl.Instance.DatabaseConnectionString; //error gets thrown on the following line of code Gentle.Framework.ProviderFactory.SetDefaultProviderConnectionString(databaseConnection); Code: System.TypeInitializationException: The type initializer for 'Gentle.Framework.ProviderFactory' threw an exception. ---> Error: NoConfigStoreFoundUnclassified Gentle.Common.GentleException: FATAL ERROR: No configuration store was found! Gentle is unable to continue! The handlers emitted the following error messages: Unable to create GentleSectionHandler for section named \"gentle\" in file \"C:\\Program Files\\Meedio\\Meedio Essentials\\Meedio.exe.config\". Unable to create FileHandler for file Gentle.config. This usually means that the file could not be found in any of the default search locations. The handlers threw the following exceptions: Error: DeveloperErrorUnclassified Gentle.Common.GentleException: No configuration file could be located at Gentle.Common.FileHandler..ctor(String file) at Gentle.Common.Configurator.AddFileHandler(String configStoreName, String fileName) at Gentle.Common.Configurator.InitializeHandlers() at Gentle.Common.Configurator.Configure(String configStoreName, Object instance) at Gentle.Common.Configurator.Configure(Object instance) at Gentle.Framework.ProviderRegistry..ctor() at Gentle.Framework.ProviderFactory..cctor() --- End of inner exception stack trace --- at Gentle.Framework.ProviderFactory.SetDefaultProviderConnectionString(String connectionString) at MPTV.MPTVplugin.ConnectToTVserver() in E:\\MyStuff\\Visual Studio Projects\\C#\\MPTV\\MPTV\\MPTVplugin.cs:line 192" A first chance exception of type 'System.TypeInitializationException' occurred in MPTV.dll Quote:
- Josh Last edited by walts81; 2006-11-01 at 23:52. | ||
| | |
| | #7 (permalink) |
| Portal Member Join Date: Jul 2006 Location: Springfield, IL USA
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
| Thanks Frodo! I got it working. Now I have another question... In looking at ScheduleRecordingTypes, there are... Daily EveryTimeOnEveryChannel EveryTimeOnThisChannel Once Weekends Weekly WorkingDays What is "WorkingDays"? Like Mon-Fri? And is "Weekly" equivalent to "Record First Runs"? Thanks, Josh |
| | |
| | #9 (permalink) |
| Portal Member Join Date: Jul 2006 Location: Springfield, IL USA
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
| So there's no equivalent to "First Run Only"??? That's considered a "must have". Tivo, SageTV, BeyonTV all have this feature. Is this something that is planned for future, was overlooked, or not being considered?? Thanks, Josh |
| | |
![]() |
| Bookmarks |
| Tags |
| external, plugins |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 'Failed to start timeshifting, unable to create graph'.... | cashel | General Support | 3 | 2006-05-19 21:27 |
| Plugins: NOT User-friendly! MyHTPC allover again:-( | msj33 | Website/Forum/Wiki Feedback | 14 | 2006-04-11 12:08 |
| Gathering topical infos about plugins (To: authors & use | tomtom21000 | Plugins | 2 | 2006-02-04 23:20 |
| Plugins loading... problems | maniac's | General Development (no feature request here!) | 0 | 2005-01-07 09:25 |