MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2007-01-11, 16:02   #1 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: UK
Posts: 269
Thanks: 0
Thanked 4 Times in 3 Posts

My System

Thumbs up HowTo easily flick between diff MP versions (inc v2,v3 tv engine)

Now added to Wiki - http://wiki.team-mediaportal.com/Use...ble-svn-builds

If you wanna try out diff versions of MediaPortal eg v0.2.1.0 or v0.2.2.0 or v0.2.2.0.svn (v2/v3 tv engine) IMHO you're best off installing them into different folders and using a batch file to reconfig and run MediaPortal. This has been thoroughly tested on v0.2.0.4, v0.2.1.0, v0.2.2.0 & v0.2.2.0.svn all in different folders. What I did was:-

- Installed latest release (currently v0.2.2.0) to ...Program Files\MediaPortal.0.2.2.0 and configured it all (setup tv /media folders etc). When customised & working 100%

- Make a copy of that MediaPortal folder renaming it MediaPortal.svn

- Install latest SVN to this new MediaPortal.svn folder (re-run config f req'd)

- Install/config SQL/TV-Server/TV-Client (Client must install to MediaPortal.svn) folder. DO NOT delete tv cards from config if using v3 tv engine or won't be able to swap back to v2. You can install other versions, maybe a stable svn you like or whatever just use different folders.

- Now put a copy of the relevant batch file below in each of your different MediaPortal install folders renaming accordingly to avoid confusion (I put shortcuts to each on my desktop). Now use this file to run MediaPortal instead of the .exe. I have 4 MP versions all in diff folders with batch files stored thus:-

....Program Files\MediaPortal.0.2.0.4\MP.0.2.0.4.bat
....Program Files\MediaPortal.0.2.1.0\MP.0.2.1.0.bat
....Program Files\MediaPortal.0.2.2.0\MP.0.2.2.0.bat
....Program Files\MediaPortal.svn\MP.svn.tve2.bat
....Program Files\MediaPortal.svn\MP.svn.tve3.bat


Versions 0.2.2.0 or earlier can only use v2 of the tv engine so only first batch file is relevant. For later (svn) versions you can put both batch files in the MP install folder and run depending on which version of TV engine you wish to run. It is a good idea to to edit (a copy of) MediaPortalDirs.xml to change the path to the thumbs folder so the different installs don't duplicate them. Occasionally I've had an mpeg pin graph error when trying to view TV, but a quick reboot sorts that out.

MP.0.2.0.4.bat / MP.0.2.1.0.bat / MP.0.2.2.0.bat / MP.svn.tve2.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"

move "%~dp0\Plugins\Windows\TvPlugin.dll" "%~dp0\Plugins\Windows\TvPlugin.dll.bak"
net stop tvservice
start mediaportal

MP.svn.tve3.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"

move "%~dp0\Plugins\Windows\TvPlugin.dll.bak" "%~dp0\Plugins\Windows\TvPlugin.dll"
net start tvservice
start mediaportal

Last edited by HappyTalk; 2007-02-06 at 14:57. Reason: Clarification, simplification + added to Wiki
HappyTalk is offline   Reply With Quote
Old 2007-01-19, 13:38   #2 (permalink)
MP Donator
 
Sh4nn0w's Avatar
 
Join Date: Sep 2006
Location: Hook, Hampshire
Age: 29
Posts: 224
Thanks: 24
Thanked 6 Times in 6 Posts

Country:

My System

Default

got around my headache of reinstalling all the time! great tip
__________________
Desktop:
Intel E6750 | Patriot 4GB PC2-6400 | Gigabyte GA-P35-DS3R | BFG GeForce 8800 GTS OC 512MB | 2x WD Caviar WD5000AAKS 500GB | Pioneer DVR-109 DVD±RW | Antec P160 Case | Seasonic S12 430W PSU | Samsung SM-226BW
TV/Media Server:
Intel E2180 | 2GB Kingston PC2-5300 | Gigabyte GA-G33-DS3R | Pinnacle 3010iX TV Tuner | 2x Icy Dock MB-454SPF | 2x WD5000AAKS 500GB | 4x WD10EACS 1TB | Cooler Master Centurion 590 | Seasonic M12 600W PSU
Sh4nn0w is offline   Reply With Quote
Old 2007-01-19, 16:40   #3 (permalink)
Portal Member
 
Noelix's Avatar
 
Join Date: Feb 2006
Location: Salt Lake City, UT
Age: 26
Posts: 392
Thanks: 11
Thanked 1 Time in 1 Post

Country:

My System

Send a message via MSN to Noelix
Default

Sweet, this tip is really great. I'm going to try it out today!
__________________
Noelix is offline   Reply With Quote
Old 2007-01-29, 12:16   #4 (permalink)
MP Donator
 
Sh4nn0w's Avatar
 
Join Date: Sep 2006
Location: Hook, Hampshire
Age: 29
Posts: 224
Thanks: 24
Thanked 6 Times in 6 Posts

Country:

My System

Default

Added to Wiki: http://wiki.team-mediaportal.com/Use...ble-svn-builds

Feel free to clean up my attempt...
__________________
Desktop:
Intel E6750 | Patriot 4GB PC2-6400 | Gigabyte GA-P35-DS3R | BFG GeForce 8800 GTS OC 512MB | 2x WD Caviar WD5000AAKS 500GB | Pioneer DVR-109 DVD±RW | Antec P160 Case | Seasonic S12 430W PSU | Samsung SM-226BW
TV/Media Server:
Intel E2180 | 2GB Kingston PC2-5300 | Gigabyte GA-G33-DS3R | Pinnacle 3010iX TV Tuner | 2x Icy Dock MB-454SPF | 2x WD5000AAKS 500GB | 4x WD10EACS 1TB | Cooler Master Centurion 590 | Seasonic M12 600W PSU
Sh4nn0w is offline   Reply With Quote
Old 2007-02-01, 15:52   #5 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: UK
Posts: 269
Thanks: 0
Thanked 4 Times in 3 Posts

My System

Default

Hmmm the stuff in the wiki isn't quite correct and I don't think it'll work as there is a line missing (move "%~dp0\....). The different variations of batch file can be consolidated down to 2 files one to run old tv server and one for new. If there are non relevant batch commands for one or other version they'll just error and be ignored which is no problem.

I've updated the Original Post to simplify/clarify things. If you're able to update/replace the wiki stuff with this simpler info that'd be great

Last edited by HappyTalk; 2007-02-01 at 16:46.
HappyTalk is offline   Reply With Quote
Old 2007-02-01, 16:43   #6 (permalink)
MP Donator
 
Sh4nn0w's Avatar
 
Join Date: Sep 2006
Location: Hook, Hampshire
Age: 29
Posts: 224
Thanks: 24
Thanked 6 Times in 6 Posts

Country:

My System

Default

Thanks, I'll look at your adjustments, and clean up the wiki.

I was just trying split between using your files for SVN/Stable And TVE3, guess I should have actually tried it out
__________________
Desktop:
Intel E6750 | Patriot 4GB PC2-6400 | Gigabyte GA-P35-DS3R | BFG GeForce 8800 GTS OC 512MB | 2x WD Caviar WD5000AAKS 500GB | Pioneer DVR-109 DVD±RW | Antec P160 Case | Seasonic S12 430W PSU | Samsung SM-226BW
TV/Media Server:
Intel E2180 | 2GB Kingston PC2-5300 | Gigabyte GA-G33-DS3R | Pinnacle 3010iX TV Tuner | 2x Icy Dock MB-454SPF | 2x WD5000AAKS 500GB | 4x WD10EACS 1TB | Cooler Master Centurion 590 | Seasonic M12 600W PSU
Sh4nn0w is offline   Reply With Quote
Old 2007-02-06, 14:58   #7 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: UK
Posts: 269
Thanks: 0
Thanked 4 Times in 3 Posts

My System

Default

OK, I fixed the Wiki stuff
HappyTalk is offline   Reply With Quote
Reply

Bookmarks

Tags
diff, easily, engine, flick, howto, versions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Req Advice on Flicking between v2/v3 TV Engine for testing/using HappyTalk Get Support 10 2007-01-11 14:19


All times are GMT +1. The time now is 19:55.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden