Kodi Community Forum
Another External Player Code, but Very Simple to Setup - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Another External Player Code, but Very Simple to Setup (/showthread.php?tid=116724)



RE: Another External Player Code, but Very Simple to Setup - bluc - 2012-10-01

I downloaded playercorefactory play iso.bat from op how do I edit for 32bit os and only play iso files with "3d" in tittle on external player? Using tmt5 here are my codes
<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\all\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>

</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>

</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>

</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>

</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filenames=" *.3d.*" filetypes="iso" player="ISO_Player"/>
<!-- Bluray BDMV -->
<rule filenames="bdmv" filetypes="bdmv" player="BDMV_Player"/>
<!-- Bluray M2TS -->
<rule filenames="m2ts" filetypes="m2ts" player="Universal_Player"/>
<!-- Bluray MKV -->
<rule filenames="mkv" filetypes="mkv" player="Universal_Player"/>
<!-- Bluray AVI -->
<rule filenames="avi" filetypes="avi" player="Universal_Player"/>
<!-- Bluray TS -->
<rule filenames="ts" filetypes="ts" player="Universal_Player"/>

<!-- Bluray Disc -->
<rule filenames="BD" name="E:\\.*" filetypes="bdmv" player="Disc_Player"/>

</rules>
</playercorefactory>



PlayISO.bat:
@echo off
"C:\Program Files\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" J:

j is my default acrsoft drive and username is all. As it is now all isos play with arcsoft. Tried the cyberlink codes in this thread for 3d only in external player. And edited it but as soon as I add "_3dbd." to end of file name it refuses to add that movie to the library.

EDIT: FIXED IT NOW WORKING Cheers


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-10-02

(2012-10-01, 08:16)bluc Wrote: I downloaded playercorefactory play iso.bat from op how do I edit for 32bit os and only play iso files with "3d" in tittle on external player?
If you want TMT5 to playback 3d ISO only, you can make the codes simpler as shown below....

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\all\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
</player>
</players>
<rules action="prepend">

<rule filetypes="iso" filename=".*3dbd." player="ISO_Player"/>

</rules>
</playercorefactory>





RE: Another External Player Code, but Very Simple to Setup - The_Smurfman - 2012-10-02

Ok, over a hundred pages of posts, a noob, and totally overwhelmed.

Is there a place where playing DVDs, Blu-ray, and ripping are covered with an up to date set of options?

My goal is simple. I just want to rip and play either at the same time or separately.

1. I have AnyDVD HD
2. I want to rip/decrypt as automatic as possible. No compression needed.
3. I want scrapers to work automagically.
4. I know the menu issue can be a problem still I think, I will go with the what works most of the time simpler approach.
5. I have PowerDVD, but not sure if that is my best option.

Huh Please help!!!




RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-10-03

(2012-10-02, 18:29)The_Smurfman Wrote: Ok, over a hundred pages of posts, a noob, and totally overwhelmed.

Is there a place where playing DVDs, Blu-ray, and ripping are covered with an up to date set of options?

My goal is simple. I just want to rip and play either at the same time or separately.

1. I have AnyDVD HD
2. I want to rip/decrypt as automatic as possible. No compression needed.
3. I want scrapers to work automagically.
4. I know the menu issue can be a problem still I think, I will go with the what works most of the time simpler approach.
5. I have PowerDVD, but not sure if that is my best option.

Huh Please help!!!
You might want to visit this thread- Welcome to AutoRipDVD!....





RE: Another External Player Code, but Very Simple to Setup - schwarznavy - 2012-10-04

Greetings. Thanks everyone for all the posts about this. It really helps the community out.
My question is when I stop a movie and close the dvd program, it reopens over and over again in an endless loop. Has anyone had this issue?


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-10-04

(2012-10-04, 18:08)schwarznavy Wrote: Greetings. Thanks everyone for all the posts about this. It really helps the community out.
My question is when I stop a movie and close the dvd program, it reopens over and over again in an endless loop. Has anyone had this issue?
It is possible that you enabled "Repeat Playback" in xbmc. You can access it by playback a movie in XBMC, and press 'M'. Then disable the "Repeat Playback" option.....




RE: Another External Player Code, but Very Simple to Setup - schwarznavy - 2012-10-05

(2012-10-04, 22:18)bluray Wrote: It is possible that you enabled "Repeat Playback" in xbmc. You can access it by playback a movie in XBMC, and press 'M'. Then disable the "Repeat Playback" option.....
Thank you for the suggestion. I checked and it is not enabled. Any other suggestions?


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-10-05

(2012-10-05, 02:54)schwarznavy Wrote:
(2012-10-04, 22:18)bluray Wrote: It is possible that you enabled "Repeat Playback" in xbmc. You can access it by playback a movie in XBMC, and press 'M'. Then disable the "Repeat Playback" option.....
Thank you for the suggestion. I checked and it is not enabled. Any other suggestions?
Did you do as shown in my screen shot below?

Image

To get to the Now Playing area:
Have at least 1 movie in Queued
Bring Up The Context Menu




RE: Another External Player Code, but Very Simple to Setup - schwarznavy - 2012-10-05

Yes! It took me a while to find that setting, but that is exactly what I did.


RE: Another External Player Code, but Very Simple to Setup - SlrG - 2012-10-05

@schwarznavy

If you are trying to play HD DVDs there is a "bug" at the moment that results in this "endless loop". Its no real one however, but the external player beeing called for every single *.evo file on the disc. A fix for this is waiting to be pulled into master branch.

If it happens for normal DVD and Blu-Ray. We'll have to take a deeper look at your playercorefactory and debug log.


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-10-05

(2012-10-05, 15:21)schwarznavy Wrote: Yes! It took me a while to find that setting, but that is exactly what I did.
Can you post your DVD playercorefactory code in here?




RE: Another External Player Code, but Very Simple to Setup - cekkk - 2012-10-05

This is my xml
Code:
<playercorefactory>
    <players>
        <player name="ISO_Player" type="ExternalPlayer" audio="false" video="false">
            <filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
            <args>"{1}" /fullscreen</args>
            <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
        </player>
                <player name="BDMV_Player" type="ExternalPlayer" audio="false" video="false">
            <filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
            <args>"{1}" /fullscreen</args>
            <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
        </player>
        <player name="Disc_Player" type="ExternalPlayer" audio="false" video="false">
            <filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
            <args>"{1}" /fullscreen</args>
            <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
                </player>
        <player name="Universal_Player" type="ExternalPlayer" audio="false" video="false">
            <filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe</filename>
            <args>"{1}" /fullscreen</args>
            <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
        </player>
    </players>
    <rules action="prepend">
        <!-- Bluray ISO -->
        <rule filename=".*iso.*" player="ISO_Player"/>
                <!-- Bluray BDMV -->
        <rule filename=".*bdmv.*" player="BDMV_Player"/>
                
                <!-- Bluray M2TS -->
                <rule filename=".*m2ts.*" player="Universal_Player"/>
                 <rule filetypes="bdmv" filename="*.bdmv" player="BDMV_Player" />
                <rule filetypes="bdmv" filename="*.m2ts" player="BDMV_Player" />

        <!-- Bluray Disc -->
        <rule protocols="bd" player="Disc_Player"/>
       </rules>
</playercorefactory>

When I click one movie, One window bring up "The external player active..." but it doesn't happens.
Why?

PlayIso.bat:
Code:
@echo off
rem you can place your PlayISO file in \Roaming\XBMC\userdata\
rem you need to put the correct VCDMount drive letter in the command below

"C:\Program Files\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" "E:"
"C:\Program Files\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u



RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-10-05

(2012-10-05, 20:21)cekkk Wrote: This is my xml
Code:
<playercorefactory>
    <players>
        <player name="ISO_Player" type="ExternalPlayer" audio="false" video="false">
            <filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
            <args>"{1}" /fullscreen</args>
            <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
        </player>
                <player name="BDMV_Player" type="ExternalPlayer" audio="false" video="false">
            <filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
            <args>"{1}" /fullscreen</args>
            <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
        </player>
        <player name="Disc_Player" type="ExternalPlayer" audio="false" video="false">
            <filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
            <args>"{1}" /fullscreen</args>
            <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
                </player>
        <player name="Universal_Player" type="ExternalPlayer" audio="false" video="false">
            <filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe</filename>
            <args>"{1}" /fullscreen</args>
            <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
        </player>
    </players>
    <rules action="prepend">
        <!-- Bluray ISO -->
        <rule filename=".*iso.*" player="ISO_Player"/>
                <!-- Bluray BDMV -->
        <rule filename=".*bdmv.*" player="BDMV_Player"/>
                
                <!-- Bluray M2TS -->
                <rule filename=".*m2ts.*" player="Universal_Player"/>
                 <rule filetypes="bdmv" filename="*.bdmv" player="BDMV_Player" />
                <rule filetypes="bdmv" filename="*.m2ts" player="BDMV_Player" />

        <!-- Bluray Disc -->
        <rule protocols="bd" player="Disc_Player"/>
       </rules>
</playercorefactory>

When I click one movie, One window bring up "The external player active..." but it doesn't happens.
Why?

PlayIso.bat:
Code:
@echo off
rem you can place your PlayISO file in \Roaming\XBMC\userdata\
rem you need to put the correct VCDMount drive letter in the command below

"C:\Program Files\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" "E:"
"C:\Program Files\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
Make sure to enable "Use fullscreen window rather than true fullscreen" in XBMC system/system/video output".......and use PlayISo.bat codes below instead.....

@echo off

"C:\Program Files\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" "E:"





RE: Another External Player Code, but Very Simple to Setup - cekkk - 2012-10-05

Make sure to enable "Use fullscreen window rather than true fullscreen" in XBMC system/system/video output".......and use PlayISo.bat codes below instead.....

@echo off

"C:\Program Files\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" "E:"



[/quote]

I use fullscreen window Sad

But dont work , bdwm, iso Confused
I do not know what the badUndecided


RE: Another External Player Code, but Very Simple to Setup - cekkk - 2012-10-05

You were right.
It is working now Smile
Thanks!