Multiple TvService Instances on the same machine (1 Viewer)

Multiple instances on machine

  • Yes - I find it interesting

    Votes: 10 55.6%
  • No - It's not needed

    Votes: 8 44.4%

  • Total voters
    18

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    could anyone please enlighten me, why i would want to have 2 instances of TV-Server on the same PC? :confused:
     

    heerfordt

    Portal Pro
    February 19, 2007
    91
    8
    Hi Chris.

    Flexibility is allways good :):)

    The main reason would be to make the TvService more flexible and give people the opportunity to test a multiserver setup on a single machine.:) My guess is that its very few people that has tried the multi server setup, and therefore it properly contains a few bugs.. this would help increasing the quality.

    Secoundly I dont like that its not possible to change the TvService Control port (31456) through configuration :-(

    A third thing and very hush hush The real reason: .... It enables MultiTuner support for the MDAPI filter:D . This can currently only be achieved by dedicating a TvServer pr. Tuner. I wont go into further details because its not appropriate to discuss it in public at this forum. Go to DVBN, if you want to know more.

    I have submitted my code changes, on the team mediaportal patch site Patch submittion

    Regards,
    Heerfordt
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    The main reason would be to make the TvService more flexible and give people the opportunity to test a multiserver setup on a single machine.:) My guess is that its very few people that has tried the multi server setup, and therefore it properly contains a few bugs.. this would help increasing the quality.
    Master Slave configurations should be tested in the enviroment it will be used. so on 2 PCs connected to a LAN.
    installing on one PC is just opening the door for more werid trouble and confusing the endusers.
    Secoundly I dont like that its not possible to change the TvService Control port (31456) through configuration :-(
    thats nice to have. but is not related to the number of instances ;)

    It enables MultiTuner support for the MDAPI filter:D . This can currently only be achieved by dedicating a TvServer pr. Tuner. I wont go into further details because its not appropriate to discuss it in public at this forum. Go to DVBN, if you want to know more.
    i knew that this would be the real reason ;)

    someone should better "fix" that filter, instead of doing major changes to the TV-Server as workaround for the flaws of that filter. :D
     

    heerfordt

    Portal Pro
    February 19, 2007
    91
    8
    Hi Chris,

    The problem is not located in the filter, because its able to handle more than one tuner at the moment. The problem lies in the actuelle MDAPI plugin you use, they can not be loaded more than once in the same process.. besides from that seperate configuration is pr. tuner.

    If I think long and hard I could properly find more good agruments to why this is a good idea.. but it might be better if we gave the people to opporunity and they could find the purpose:p

    Time will tell, I have submitted the changes on the Portal's patch site... maybe its going to be approved or maybe it's not.

    Regards.
    Heerfordt.
     

    heerfordt

    Portal Pro
    February 19, 2007
    91
    8
    Another solution

    Hi Chris.

    I found another solution, that dosent involve having to changes anything in the TeamMediaPortal TvServer.

    I have made some important changes in the PluginHandler so now it should be possible to use the MDAPI on mulitple tuners without having a deticated TvService pr. tuner.

    But I still would like to have the TvService more flexible:)


    Rgs.
    Heerfordt.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    I have made some important changes in the PluginHandler so now it should be possible to use the MDAPI on mulitple tuners without having a deticated TvService pr. tuner.
    sounds cool. especialy because the setup will be easier for the enduser then i guess. :)
     

    lkuech

    Retired Team Member
  • Premium Supporter
  • February 16, 2007
    576
    83
    51
    Hamburg
    Home Country
    Germany Germany
    Hi heerfordt.

    That sounds like a much better approach to me. Can you please share the source changes for the plugin manager improvements as well (I guess it makes sense to keep this changes independent from the multiple instance changes). Hopefully someone from our tv server developers can free some time to have a look at it.

    Thx

    Lars
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    The changes seems to be in agarwal's directshow filter solely.

    /Gibman
     

    lkuech

    Retired Team Member
  • Premium Supporter
  • February 16, 2007
    576
    83
    51
    Hamburg
    Home Country
    Germany Germany
    :oops:
    Oh.. ok... than I misunderstood something. I was thinking that the mentioned "PluginHandler" is a part of the tvserver...

    Bye
    Lars
     

    Users who are viewing this thread

    Similar threads

    It took a while but loading the three updates and waiting, (I wandered off doing other things), while the Win 7 searched for updates eventually brought about 170 available updates. I picked the latest, largest and Cumulative ones and everything burst into action enough to re-install MediaPortal 1.33 which is running very well. I let...
    It took a while but loading the three updates and waiting, (I wandered off doing other things), while the Win 7 searched for...
    Hi Running MP1 - 1.39 for long while, no issues. 10th April [same time as 2024-KB5037036 Cumulative Update for .NET Framework...
    Replies
    11
    Views
    2K
    For me, a clean install of 1.34 x64 TV server only on a fresh Windows 11 Pro device failed because the installation of MySQL in the background never completed, hence no database to connect to. A manual installation of MySQL worked fine, but I didn't know how to prepare MySQL for the TV server database. In the end, I opted for the...
    For me, a clean install of 1.34 x64 TV server only on a fresh Windows 11 Pro device failed because the installation of MySQL in the...
    Hi, went from a 1.29 install (working, reinstalled for other reasons) on a fairly fresh and fully updated Windows 10 system for a...
    Replies
    4
    Views
    871
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work. Spotify desktop app installed on same computer as you are going to use with MediaPortal Getting ready Create an app at spotify, use this link: Dashboard | Spotify for Developers, you have to login. Click...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Replies
    0
    Views
    2K
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem - unable to connect to any of the specified MySQL hosts. And Hostname is still in red. I don't understand - this is a dedicated TV computer. Unless an update did this I don't know why there's a problem in the...
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem -...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    2
    Views
    789
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP and set logs and rebooted and ran TVServer. Didn't do anything in regard to S Loopback adapter. I've been using NextPvr since the problem became insurmountable. Only reason it's not a good long term...
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    24
    Views
    3K
    Top Bottom