Req Advice on Flicking between v2/v3 TV Engine for testing/using (1 Viewer)

HappyTalk

Portal Pro
July 16, 2006
307
8
UK
Hi there I used to run a few different versions of mediaportal (0.2.0.4, 0.2.1.0, svn) all in seperate folders, running the following batch file in the folder of the version I wished to flick to first:-

restore.bat
Code:
regsvr32.exe /u /s "%~dp0CLDump.ax" 
regsvr32.exe /u /s "%~dp0MpgMux.ax" 
regsvr32.exe /u /s "%~dp0MPReader.ax"
regsvr32.exe /u /s "%~dp0MPTS.ax" 
regsvr32.exe /u /s "%~dp0MPSA.ax"
regsvr32.exe /u /s "%~dp0shoutcastsource.ax"
regsvr32.exe /u /s "%~dp0TSFileSource.ax"
regsvr32.exe /u /s "%~dp0MpegSplitter.ax"
regsvr32.exe /u /s "%~dp0MPTSWriter.ax"
regsvr32.exe /u /s "%~dp0cdxareader.ax"

regsvr32.exe /s "%~dp0CLDump.ax" 
regsvr32.exe /s "%~dp0MpgMux.ax" 
regsvr32.exe /s "%~dp0MPReader.ax"
regsvr32.exe /s "%~dp0MPTS.ax" 
regsvr32.exe /s "%~dp0MPSA.ax"
regsvr32.exe /s "%~dp0shoutcastsource.ax"
regsvr32.exe /s "%~dp0TSFileSource.ax"
regsvr32.exe /s "%~dp0MpegSplitter.ax"
regsvr32.exe /s "%~dp0MPTSWriter.ax"
regsvr32.exe /s "%~dp0cdxareader.ax"

However when I installed the latest svn+tv engine3 I was only able to revert to v0.2.2.0 by fully reinstalling MP it into it's original folder, this restore.bat didn't seem to work any longer.

What I'd like to do is to be able to flick between 3 folders each containing diff MP's
...\mp.204
...\mp.220
...\mp.svn (flick between tv engine 2 & 3)

Using a similar batch file. That way I can use 204 tried and tested during normal viewing time (dont wanna upset folk), while testing 220 out of hours as it seems a little bit less solid (I Think, not sure yet, but had some bad recordings + weird 500ms slowing video bits + freezes) + also comparing this to latest SVN with v2 Tv engine (so if I report bugs I can verify they're fixed), + flicking to tv engine v3 on the same svn install to test that also. Can some 'supergeek' please advise the best approach to doing this, thx.

PS- Ideally if mediaportal could take a command line option /register to force it to do all required registration prior to running for that version it would make flicking between diff versions a lot easier as I would just ALWAYS run with /register option. It would add minimal overhead as the bootime is quite long for MP anyway.
I guess if I could run the svn with /tv2 or /tv3 then testing that would be easier but I figure I'd need to uninstall/reinstall tv cards on MP config to flick between them. Maybe I should have 2 svn's one with v2 engine & one with v3 engine, though that would require installing svn twice.


T.I.A
 

Nemulate

Portal Pro
December 29, 2005
607
9
IOW
Home Country
England England
I would be keen on an easy way to do this too, I only have one pc and am forever installing/uninstalling tv engine 3 and 2. Not really an issue as don't use the machine for watching too much tv yet but will do once I get my new 40" TFT tv!
 

Frodo

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,517
    121
    54
    The Netherlands
    Home Country
    Netherlands Netherlands
    Easiest way to switch between tv2/tv3?

    1. install MP + tvserver +tvplugin
    now you run tv3
    when you want to switch back to tv2
    - stop tvservice
    - delete c:\program files\team mediaportal\mediaportal\plugins\tvplugin.dll
     

    jpskiller

    Portal Member
    May 30, 2005
    24
    1
    UK
    I was under the impression you had to remove the tv card from tv2 engine so tv3 engine can work, I would like to have tv2 engine fully setup, so i can do as frodo says to quickly flick between the two, as i use the pc full time for tv, and with tv3 engine at the moment, after about 30mins I see a flicker and then am unable to change any channels until restart, could a option be put into settings to quickly allow us to switch engines. ie disable/enable tv3 engine, this would be great
     

    Nemulate

    Portal Pro
    December 29, 2005
    607
    9
    IOW
    Home Country
    England England
    I have tve2 card still installed in setup and am using tve3. Think the tve3 installation takes control if tve2 card exists. Works for me anyway :)
     

    HappyTalk

    Portal Pro
    July 16, 2006
    307
    8
    UK
    I noticed when installing new tv client, you have to first remove old one. In add/remove programs this is called MediaPortal (same as main app), confused me a bit at first as there were 2 MediaPortal entries and No TV-Client ones
     

    HappyTalk

    Portal Pro
    July 16, 2006
    307
    8
    UK
    OK Maybe I did something wrong first time around but I am now easily flicking between diff versions of MP (0.2.2.0 & 0.2.2.0.svn v3 engine)

    Install mp0.2.2.0 and configure it all, when working

    make a copy of the MediaPortal folder renaming it MediaPortal.svn

    Install latest SVN to this folder, saying YES to making a backup to MediaPortal.bak

    copy restore.bat from MediaPortal.bak to MediaPortal & MediaPortal.svn folders

    Then install/config SQL/TV-Server/TV-Client (Client must install to MediaPortal.svn) folder

    You can now just run restore.bat from within either MediaPortal or MediaPortal.svn folder to run the mp in that folder. Also Disable TV Service for MP & Enable for MP.svn. Do this from Services (stop service and set to manual for MP, or set to automatic and start it for MP.svn)
     

    mbb

    Portal Pro
    November 20, 2004
    374
    15
    Home Country
    France France
    to stop or start service in command line use

    net stop <display name of service>

    net start <display name of service>

    if the display name of the service have space use "" like:

    net stop "display name"
     

    HappyTalk

    Portal Pro
    July 16, 2006
    307
    8
    UK
    Yer I did add that re command line from post before but removed it as if you reboot pc, service will restart and I figured people may try new tv server if probs, revert to old version then retry maybe a week or 2 later, so it might be better to have permanant disable/enable via services.

    I was gonna say you could just add relevant net start/stop and mediaportal.exe run command to end of batch files, then just always run MP via batch file, then no messing around at all. Maybe MP could use a commandline /register to forcibly re-reg what's in restore.bat.
     

    Users who are viewing this thread

    Top Bottom