Help with setting up Set Top Box and TvEngine3 (1 Viewer)

MZWiZard

Portal Member
October 31, 2006
48
0
Home Country
Denmark Denmark
Just tested it. Learning functions okay. I got it blasting correctly too, using the "test" function within serverblaster! :) But when trying to change channels manually in tvserver, it says "unable to create graph".

This is what the log contains:

07-11-2006 16:14:21 Exception :confused:ystem.IndexOutOfRangeException: Indekset lå uden for arrayets grænser.
ved TvEngine.TV3ReplacementBlaster.ProcessExternalChannel(String externalChannel, Int32 card)
ved TvEngine.TV3ReplacementBlaster.events_OnTvServerEvent(Object sender, EventArgs eventArgs)
ved TvService.TVController.Fire(Object sender, EventArgs args)
ved TvService.TVController.TuneScan(Int32 cardId, IChannel channel)
07-11-2006 16:14:21 Exception :Indekset lå uden for arrayets grænser.
07-11-2006 16:14:21 site :Boolean ProcessExternalChannel(System.String, Int32)
07-11-2006 16:14:21 source :TV3ReplacementBlaster
07-11-2006 16:14:21 stacktrace: ved TvEngine.TV3ReplacementBlaster.ProcessExternalChannel(String externalChannel, Int32 card)
ved TvEngine.TV3ReplacementBlaster.events_OnTvServerEvent(Object sender, EventArgs eventArgs)
ved TvService.TVController.Fire(Object sender, EventArgs args)
ved TvService.TVController.TuneScan(Int32 cardId, IChannel channel)
 

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Thanks to some late-night programming and msn chat with MZWiZard I've been able to correct the channel blasting problem with the TV3 Replacement Blaster plugin. We think.

    There is however one outstanding issue. You can't use this plugin and my other plugin (MCEReplacement) on the same PC at the same time. One of the limitations of using the MceIrApi is that two threads (programs, instances of the MceIrApi) can't access the remote transceiver at the same time. So for now, if your TV Server is running on the same machine as the MediaPortal client then you will only be able to run one of the plugins. To get around this you will have to revert to MediaPortal's built in MCE Remote support for now, if you are in this situation.

    I will try my best to solve this as soon as possible. But it looks like I will need to do some serious work on the MceIrApi to achieve this. I'll keep you all posted.

    In the meantime, I've attached a new version of the TV3 Replacement Blaster plugin for you to try. If everyone is happy with this version then I will release it properly on the download site.

    There will be an update to the MCEReplacement Plugin on the download site shortly too, to solve the same bug. (They share a lot of code these two plugins)

    Cheers,
     

    HTPC-Fan

    Portal Member
    August 28, 2004
    10
    0
    Hi Aaron,

    thanks a lot for your work. I am happy cause it shall be able to use external programs for tuning. So I tried. The result is very strange. Once I copy the plugin to the TV Server Plugin folder, all other plugins are no more visible when I configure.

    Deleting the TV3REplacementBlater plugin shows all other plugins again (such as TVMovie import).

    Roland
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Sorry I haven't looked at this thread in a while ...

    HTPC-Fan: All I can suggest is that maybe the plugin is crashing out and that's stopping the server. The reason, I don't know. But it could be that the MceIr.dll is not in the right place. Did you put the DRIVER folder under the folder where the plugin is? And are you running any other software that uses the MCE remote on that PC? Some other software could be interfering. The version of TV Server shouldn't matter.

    It became clear as soon as I wrote this plugin that it would cause problems if it was run on the same PC as the MediaPortal front-end and you use my other plugin at the same time. Or if you use some other software that uses the MceIrApi.

    To overcome this problem I've re-written my plugins to use a new program I've written that provides one point of access for the MceIrApi. It will let you share a single MCE transceiver between multiple programs/plugins or across a LAN. Perfect for use with the new TV Engine. I've mentioned it on my MCE Replacement Plugin thread. I'm in the middle of testing it and will release it hopefully in the next couple of weeks. But because the inherent problem with the current way the TV3 Replacement Blaster plugin works I won't be continuing it in that form. I'll leave it on this thread, but I won't be updating it until it's ready to use with the new MCE Transceiver Server I've written.

    I will continue to update the MCE Replacement Plugin in both forms however.

    Cheers,
     

    HTPC-Fan

    Portal Member
    August 28, 2004
    10
    0
    Hi Aaron,

    I put the MceIr.dll to the correct place, BUT there is no MCE. I tried your plugin cause of the function "use external progs for switching" which is mentioned in the readme. I thought that the plugin works also without MCE remote/blaster and makes it possible to use external prog for switching.

    I would be glad to hear from you if this is generally possible. I can´t check it cause it breaks something.

    Thanks a let and best regards

    Roland
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    I'll make a copy of the plugin without the MCE stuff in it. Just the external programs and serial commands abilities...

    I'll get back to you in a few days.

    Cheers,
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    ok, so I didn't want to go to bed thinking about it ...

    Try the attached plugin and see if it does what you want, if it does I'll release it to the download section.

    If you have any problems with it let me know and I'll make it work.

    Cheers,

    EDIT: The plugin is now available in the download section of this site, here:
    https://www.team-mediaportal.com/files/Download/Plugins/EPGorTV/TV3ExternalChannelChanger/
     

    HTPC-Fan

    Portal Member
    August 28, 2004
    10
    0
    Hi Aaron,

    thanks a lot. It is more than anybody can expect. The plugin is now configurable. Changing channel works with the test button of the plugin config GUI. I have to assume that it is okay now. Excellent.

    Best wishes

    Roland
     

    Users who are viewing this thread

    Top Bottom