Posts: 659
Threads: 82
Joined: Nov 2007
06-07-2008, 06:27 PM
(This post was last modified: 06-07-2008, 06:29 PM by Trioxide.)
Just installed TheaterTek 3.6 and wanting to have CQC control it. Here is my command that is called from the CAB for my movies.
System::StartRemApp
P1=cqc
P2=C:\Program Files\TheaterTek DVD\TheaterTek DVD.exe
P3=/NOSPLASH
P4=C:\Program Files\TheaterTek DVD\
Devices::WaitDriverReady
P1=TheaterTek
P2=10000
Devices::FieldWrite
P1=TheaterTek.PlayMedia
P2=%(GVar:SelectedVideo)
TheaterTek starts up fine but does not play anything.
No errors on Action Trace.
TRC: Start Action
Global Vars=
GVar:Title=Brother Bear
GVar:SelectedVideo=0,1,21,1
GVar:SelectedVideoPath=\CQC\My Movies\BROTHER_BEAR\VIDEO_TS\VIDEO_TS.IFO
CMD: 001. System::StartRemApp
P1=cqc
P2=C:\Program Files\TheaterTek DVD\TheaterTek DVD.exe
P3=/NOSPLASH
P4=C:\Program Files\TheaterTek DVD\
CMD: 002. Devices::WaitDriverReady
P1=TheaterTek
P2=10000
CMD: 003. Devices::FieldWrite
P1=TheaterTek.PlayMedia
P2=0,1,21,1
TRC: End Action [Result=Success]
Looking in the TheaterTek driver fields and I see the movie title, actors names, etc. PlayMode = Unknown. CurFile, CurYear & PlayMedia are blank.
If I call TT this way it works fine but then I don't get the IP control.
System::ExecApp
P1=C:\\Program Files\\TheaterTek DVD\\TheaterTek DVD.exe
P2=/NOSPLASH /Play "\\%(GVar:SelectedVideoPath)"
P3=
P4=Maximized
What is wrong? Have tried different RTV values for P2 and %(GVar:SelectedVideo) is the only one that doesn't return any errors.
Posts: 40,483
Threads: 491
Joined: Aug 2002
The path isn't correct, which could be an issue. You are missing a leading slash (assuming CQC is a UNC share name.) You are adding that leading slash in the version where you are calling it locally.
When you store the location info to the variable, be sure to do it like this:
%(MediaRTV:LocInfo, "^1")
That will cause it not be processed once it's expanded. Otherwise \\ becomes \ because it's an escaped slash and the processing removes the escape. When you did this:
\\%(GVar:SelectedVideoPath
You added a slash at the start, so you made it right again. An any other slash could have been escaped if the next character was one of the escapeable characters, there just happened not to be any others.
Dean Roddey
Explorans limites defectum
Posts: 659
Threads: 82
Joined: Nov 2007
06-07-2008, 10:49 PM
(This post was last modified: 06-07-2008, 10:51 PM by Trioxide.)
That isn't the problem as I have tried all the variations, including "^1" & "%1"), as I saw the path only had one slash to start. But nothing worked.
Example: here it is with this
Devices::FieldWrite
P1=TheaterTek.PlayMedia
P2=\\%(GVar:SelectedVideoPath)
and this is what action trace gives me when I get a "The passed [unknown] cookie is badly formatted" error msg
TRC: Start Action
Global Vars=
GVar:Title=Ice Age
GVar:SelectedVideo=0,1,3,1
GVar:SelectedVideoPath=\CQC\My Movies\ICE_AGE\VIDEO_TS\VTS_01_0.IFO
CMD: 001. System::StartRemApp
P1=cqc
P2=C:\Program Files\TheaterTek DVD\TheaterTek DVD.exe
P3=/NOSPLASH
P4=C:\Program Files\TheaterTek DVD\
CMD: 002. Devices::WaitDriverReady
P1=TheaterTek
P2=10000
CMD: 003. Devices::FieldWrite
P1=TheaterTek.PlayMedia
P2=\\CQC\My Movies\ICE_AGE\VIDEO_TS\VTS_01_0.IFO
TRC: End Action [Result=Failure]
Posts: 40,483
Threads: 491
Joined: Aug 2002
06-08-2008, 01:35 AM
(This post was last modified: 06-08-2008, 01:37 AM by Dean Roddey.)
You are passing the path to the file, not the cookie, which is why are you getting the error. The place to use the "^1" is when you are setting the selected video path global variable.
Dean Roddey
Explorans limites defectum
Posts: 659
Threads: 82
Joined: Nov 2007
If I am not suppose to pass the file path to call up the file to play what cookie am I to call? As I have tried several and none work, curcolcookie & curtitlecookie for example. You say I am suppose to add the ^1 when I set the global variable but if I am not using that to call the file then it doesn't matter.
Posts: 40,483
Threads: 491
Joined: Aug 2002
You pass the collection cookie. And of course remember that if you have more than one repository, the target player has to be associated with the repository you are sending the cookie for.
You were using the path above, which is why I pointed out that you need to use the ^1.
Dean Roddey
Explorans limites defectum
Posts: 659
Threads: 82
Joined: Nov 2007
So the collectin cookie is the one I have my GVar:SelectedVideo pointing to right? And the value is like 0,1,3,1? Have tried it and I get no errors there but TT does not play any movie. I even pressed play after TT starts up and there is nothing there to play. Have even tried calling TT directly with those numbers with no success.
Posts: 40,483
Threads: 491
Joined: Aug 2002
That's what you would pass. If it shows up in the player driver as the currently playing file, then you did the right thing and it's just that TT didn't start up playing it correctly. There have been various issues with TT starting up when passed a file via the control interface. It works for some folks and not for others, and I'm not sure what the problem is. I'm sending it the right stuff and it seems to work for most folks.
Dean Roddey
Explorans limites defectum
Posts: 659
Threads: 82
Joined: Nov 2007
So what is the fix so I can get TT working with the IP driver? I want to be able to control the transport functions but can't if I call it manually.
Posts: 40,483
Threads: 491
Joined: Aug 2002
I'm not sure what the problem is. It's been happening to some folks for a while, but not to all. Whatever the problem is, it seems pretty clear that it's in TT itself, not in the driver. And since it doesn't really give any indication of what's wrong, it's hard to say what it's not happy about. It's been brought up on the TT support forum, but I'm not sure if they have explored it or not.
Dean Roddey
Explorans limites defectum