Not logged in. · Lost password · Register
Forum: Prerelease discussion RSS
external player patch
Open recording in an external player
arobro #1
User title: arobro
Member since Jun 2009 · 15 posts · Location: nz
Group memberships: Members
Show profile · Link to this post
Subject: external player patch
Below is a patch that adds an "open with external player" link to the menu. It works by feeding the player of your choice the command to open the video over a windows/samba share.

This is very useful,  when the mythtv player doesn't support a codec like aac-HE for nz hd tv or you want to open it in a player that supports mutithreading or video acceration for hd content.

http://www.yourfilehost.com/media.php?cat=other&file=e…

[Image: http://oyssgg.bay.livefilestore.com/y1pGzEusWlG1rUbdnatHwGDcv942Jcdxmkpk1SOPIp5ErDyJ6vrrE3gmvbDEScSdnJbAjD1kfUQtVjvaO2JL6UrSKmQVLXKrA1w/external.jpg]

It is more complicated to configure than i would like but first...
1. It must be installed in "C:\Program Files\mythtv player" or "D:\Program Files\mythtv player" as i couldn't figure out how to get app.path to work in c++
2. Set up samba/windows file sharing for your mythtv recordings direcotory in linux

3.open "config.xml" in mythtv player root directory and change  <WindowsShare>//Mythtv/recordings</WindowsShare> to the appropiate location.

3.open external1.bat & external2.bat in the mythtv player root directory and give the players the appropiate location.

4.try it and hope it works! (open a video and while its playing right click on open with external player)

For developers:

I havent submited this to svn as im currently using revision 206.
I also don't know c++ and ive only spent a few hours learing it, i just know the concept of a program language from other languages ive lean't. So this is why in the code some things have been done in a funny way.

If any ones's interested fell free to check this works with the lastest revision and fix up the code to a more logical way, (like app.path) and commit it to svn.
linux #2
Member since Aug 2009 · 22 posts
Group memberships: Members
Show profile · Link to this post
I like your idea as I had some recordings, mythtvplayer did not play correctly.
But I think we should change the following:

1. Path configuration of external player via the config-file - not via bat files
2. A way to disable the new menu entry for those who don't want to use the feature (for example via the config file).
arobro #3
User title: arobro
Member since Jun 2009 · 15 posts · Location: nz
Group memberships: Members
Show profile · Link to this post
yea i agree, the only reason i didn't put the settings in the config file as i didn't know how to, but i have figured it out now.
so here is the updated patch file:http://www.yourfilehost.com/media.php?cat=other&file=e…

There are the following changes:
*Updated to revision 224
*Player locations now in config file
*If <WindowsShare>//hostname/directory</WindowsShare> isn't set up the "open with external player" doesn't appear in the menu.

Im also working on a download via samba link
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20100516-dev, © 2003-10 by Yves Goergen
Page created in 215.6 ms (104.4 ms) · 43 database queries in 80 ms
Current time: 2012-02-06, 19:02:14 (UTC +01:00)