| |||||||
| General Support Post problems you have when using MediaPortal, or pre installation questions in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Jan 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi all! I'm using MediaPortal Version 0.2.2.0 but I have issues with mp4 subtitles. For this reason, and many others, I'd like to use VLC to play certain files. Since most of the files are fine, I messed around the "My Programs" plugin, but lauching VLC thorugh that doesn't work: on the screen I still see the browsed directory, I can hear the audio of the file being played and the remote does not control either MP or VLC. So I came up with a hacked solution by calling a bat file which shuts down MP and starts VLC: Code: taskkill /F /IM Mediaportal.exe "C:\Program Files\VideoLAN\VLC\VLC.exe" "%~f1" taskkill /F /IM explorer.exe explorer.exe Is there a more "elegant" solution? Do you know why the VLC video is hidden behind MP? |
| | |
| | #4 (permalink) |
| Portal Member Join Date: Aug 2005 Location: Herxheim Age: 47
Posts: 359
Thanks: 1
Thanked 0 Times in 0 Posts
Country: | exclusive directx! thanks+regards WeWe (more elegant solution: use the inbuild funtion "external player" of MP)
__________________ Hard: ASUS K8M-VX, Sempron 3100+, MSI NX6200AX-TD256, Spinpoint SP2004C, WinTV PVR 150, MCE Remote + Keyboard / Soft: Win XP MCE, MP 0.2.1.0 |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Dec 2006 Location: Houston, TX
Posts: 90
Thanks: 1
Thanked 2 Times in 2 Posts
Country: | Here is what I do... I don't use built in MP video player because I need to use different players for different file types (and MP only allows one external player to be set up), so I use a small VB script. The script is called MoviePlayer.vbs, and that is the "program" I set up as an external player in MP. The contents of the script is as follows: Set oArgs = WScript.Arguments sFilePath = oArgs(0) Set oShell = CreateObject("WScript.Shell") iRC = oShell.Run("""" & sFilePath & """") Wscript.Quit iRC This will take the file name of the movie file and launch it. The beauty of this is two-fold. First, when you use a regular batch file, it opens up a Command prompt window. This does not happen with this script, so your external player gains focus directly. Second, it does not launch the external player directly, it launches the movie file, so you have to use file associations in Windows. I have Zoom Player associated with AVI files in windows, and QuickTime player associated with M4V files (iTunes downloads). So all I do in MP is click on the movie, the script launches the associated movie in the right player. Zoom Player launches directly into full-screen, so you don't even notice it's there. QuickTime launches in a window, but I have mapped a key to my remote that switches it to full-screen with a key press. Btw, I don't take credit for writing that script, I found it using Google, I've just modified it for my needs. |
| | |
| | #6 (permalink) | |
| Portal Member Join Date: Jan 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Thnx to samundsen for the alternative solution! | |
| | |
![]() |
| Bookmarks |
| Tags |
| vlc |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| System requirements for HDTV with MediaPortal | Tech Geek | Hardware Selection Help | 62 | 2007-08-08 08:20 |
| MediaPortal GET YOU GOING GUIDE | aal | Tips and Tricks | 19 | 2007-06-22 19:39 |
| A perfect HTPC with MP & PVR Scheduler & faster XP | STSC | Tips and Tricks | 16 | 2007-01-30 23:40 |
| PVR Scheduler: cant make it work | ethanx | Codecs, External Players | 1 | 2006-03-20 00:42 |
| Compile problems | Anonymous | General Development (no feature request here!) | 1 | 2004-04-28 22:49 |