| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | |
| Portal Member Join Date: Dec 2004 Location: Germany
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
| I'm working on a scheduler for MP. But I have the same problem like Machine had: Quote:
Dim recording As New MediaPortal.TV.Database.TVRecording recording.Title = Description recording.Channel = CapChannel recording.Start = datetolong(StartTime) recording.End = datetolong(EndTime) recording.RecType = MediaPortal.TV.Database.TVRecording.RecordingType. Once MediaPortal.TV.Database.TVDatabase.AddRecording(re cording) The thing is that the OnRecordingsChanged are not raised in MP, because I use an external plugin. How did you solve this?[/code]
__________________ HTPC: P3-S 1133@1133@1,1V passiv ASUS TUSL2-M Skystar 2 Creative Soundblaster nVidia FX5200 120G Samsung SV1204 Toshiba SD-M1712 (Silent Firmware) -------------------------------------------- PVR Scheduler with MediaPortal Plugin http://www.pvr-scheduler.de | |
| | |
| |
| | #2 (permalink) |
| Portal Developer Join Date: Jun 2004 Location: Germany
Posts: 495
Thanks: 7
Thanked 3 Times in 3 Posts
Country: | Hi STSC, this part of the webscheduler was done by Sam (samuel337). He expanded his external control plugin to accept commands from a webservice. The php part of the webinterface just communicates with this webservice which sends the commands to the control plugin. So maybe you ask Sam directly. I'm sure, he will provide you the sourcecode of his plugin. Maschine |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Germany
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
| Does anybody know where Sam is? I wrote him a PM on January 19th, but he hasn't read it yet.
__________________ HTPC: P3-S 1133@1133@1,1V passiv ASUS TUSL2-M Skystar 2 Creative Soundblaster nVidia FX5200 120G Samsung SV1204 Toshiba SD-M1712 (Silent Firmware) -------------------------------------------- PVR Scheduler with MediaPortal Plugin http://www.pvr-scheduler.de |
| | |
| | #5 (permalink) | |
| Portal Member Join Date: Aug 2004 Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
With regards to code, are you going to do this via my plugin (like the web interface), or are you going to do this using your own plugin? Depending on the circumstance, I can give different code. Basically, what I've done is to tell MP to update a non-existent recording (e.g. one with ID 9999999). Sam | |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Germany
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi Sam, I'm writing an independent program (PVR Scheduler) that can control the recordings of MP. I can add new recordings, but they never will start, because MP doesn't update them. I also add the recordings like you do in your webinterface and then you call this function: <WebMethod(Description:="This command tells MediaPortal to refresh its recordings list.")> _ Public Function RefreshRecordingsInMP() As String Dim eMPH As ExtControlAssembly.MPHandler = GetEMPH() Return eMPH.RefreshRecordingsInMP End Function Now I would like to know which code you use in the ExtControlAssembly.dll to update the recordings. Maybe you can send me the sources. The advantages of my scheduler are: - NVRAM support (RTC Alarm) - Start recordings without MP running - Shutdown/Standby after recording - support of tvinfo.de (for german users) - support of different recording programs Right now it has its own user interface, but I also want to program a plugin for MP later, so that you can control my PVR Scheduler completely in MP. Thank you very much!
__________________ HTPC: P3-S 1133@1133@1,1V passiv ASUS TUSL2-M Skystar 2 Creative Soundblaster nVidia FX5200 120G Samsung SV1204 Toshiba SD-M1712 (Silent Firmware) -------------------------------------------- PVR Scheduler with MediaPortal Plugin http://www.pvr-scheduler.de |
| | |
| | #7 (permalink) | |
| Guest
Posts: n/a
| Quote:
this does as well mean, that recordings will/can be done by an extra recording prog like WinTVCap so directly in MPEG? Or with DVB directly to DVB-stream, so no more recording in 'DVR-MS shit' is needed? (I hate it to convert before cutting commercials out!) I love this idea... hope, we can try it out in the next days.... can't wait..... :wink: doit | |
|
| | #8 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Germany
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
| Yes, right now it still has its own user interface and it can already schedule recordings for other recording programs. But I also would like to integrate it in MP, so that you can schedule your recordings in MP. I think that I will start to do this in a couple weeks, because first of all I have to learn how to program plugins for MP.
__________________ HTPC: P3-S 1133@1133@1,1V passiv ASUS TUSL2-M Skystar 2 Creative Soundblaster nVidia FX5200 120G Samsung SV1204 Toshiba SD-M1712 (Silent Firmware) -------------------------------------------- PVR Scheduler with MediaPortal Plugin http://www.pvr-scheduler.de |
| | |
![]() |
| Bookmarks |
| Tags |
| database, make, notice |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| (original thread) US/Canadian/Mexico EPG Zap2it Plugin Released | bradsjm | zap2it (discontinued) | 513 | 2007-02-21 14:07 |
| Help with TVServer and client | rick78 | Get Support | 8 | 2006-12-12 18:48 |
| 0.2.1 and latest svn MyPictures thumbnails broken | gloomyandy | Codecs, External Players | 1 | 2006-10-24 10:01 |
| The Setup wizard crash when reaching the autotune step | Wbunaarf | The old Bugreport Forum | 19 | 2006-07-20 01:55 |
| Fusion HDTV5 Gold and external inputs | nst6563 | General Support | 7 | 2006-05-27 19:05 |