TheaterTek sendmessage commands?

Help each other out

TheaterTek sendmessage commands?

Postby Marbles_00 on Tue Mar 18, 2008 7:22 am

Anyone have a complete list of TheaterTek sendmessage commands. I'm looking to find if there are commands for controlling aspect ratio, display configuration (gamma, contrast, brightness, etc.), and any other commands that haven't been covered in the "theatertek" eventlist. Maybe it can't be done...oh well, worth a shot.

Thanks in advance.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Re: TheaterTek sendmessage commands?

Postby S Pittaway on Tue Mar 18, 2008 8:35 am

On my list of unfinished plugins is one for controling TT via its TPC interface...


Anyway heres a list of the WM Command messages that TT is supposed to support

Code: Select all

    public enum TT_WM_COMMAND
    {
      ID_PLAY               = 32771,
      ID_STOP               = 32772,
      ID_PAUSE              = 32773,
      ID_NEXT               = 32774,
      ID_PREVIOUS           = 32775,
      ID_EXIT               = 32776,
      ID_FF                 = 32777,
      ID_RW                 = 32778,
      ID_MENU_LIST          = 32779,
      ID_TITLE_MENU         = 32780,
      ID_FF_1X              = 32782,
      ID_FF_2X              = 32784,
      ID_FF_5X              = 32785,
      ID_FF_10X             = 32786,
      ID_FF_20X             = 32787,
      ID_FF_SLOW            = 32788,
      ID_RW_1X              = 32790,
      ID_RW_2X              = 32791,
      ID_RW_5X              = 32792,
      ID_RW_10X             = 32793,
      ID_RW_20X             = 32794,
      ID_ROOT_MENU          = 32796,
      ID_AUDIO_MENU         = 32797,
      ID_SUBTITLE_MENU      = 32798,
      ID_CHAPTER_MENU       = 32799,
      ID_CC_ON              = 32804,
      ID_CC_OFF             = 32805,
      ID_ABOUT              = 32807,
      ID_SUB_OFF            = 32808,
      ID_ASPECT_DEFINE      = 32810,
      ID_ASPECT_ANAM        = 32811,
      ID_ASPECT_NONANAM     = 32812,
      ID_ASPECT_LETTERBOX   = 32813,
      ID_BOOK_ADD           = 32814,
      ID_BUTTON32819        = 32819,
      ID_BUTTON32820        = 32820,
      ID_ONSCREEN           = 32821,
      ID_VID_BRIGHTNESS     = 32824,
      ID_VID_CONTRAST       = 32825,
      ID_VID_HUE            = 32826,
      ID_VID_SATURATION     = 32827,
      ID_OVERSCAN           = 32828,
      ID_VID_GAMMA          = 32829,
      ID_MENU_CHAPTER       = 32830,
      ID_MENU_AUDIO         = 32831,
      ID_MENU_ANGLE         = 32832,
      ID_MENU_FF            = 32833,
      ID_MENU_SUBTITLES     = 32834,
      ID_CLOSED_CAPTIONS    = 32835,
      ID_BOOK_DELETE        = 32836,
      ID_ANGLE_MENU         = 32837,
      ID_RESUME             = 32838,
      ID_MENU_TITLE         = 32839,
      ID_SETUP              = 32841,
      ID_ADJUSTVIDEO        = 32842,
      ID_ASPECT_LOCK        = 32843,
      ID_SETSTARTPOINT      = 32846,
      ID_K_RETURN           = 32849,
      ID_K_UP               = 32850,
      ID_K_DOWN             = 32851,
      ID_K_LEFT             = 32852,
      ID_K_RIGHT            = 32853,
      ID_K_FF               = 32854,
      ID_K_RW               = 32855,
      ID_K_ESCAPE           = 32856,
      ID_NEXTAR             = 32857,
      ID_INFO               = 32858,
      ID_ARFIRST            = 32859,
      ID_AR2                = 32860,
      ID_AR3                = 32861,
      ID_AR4                = 32862,
      ID_AR5                = 32863,
      ID_AR6                = 32864,
      ID_AR7                = 32865,
      ID_AR8                = 32866,
      ID_AR9                = 32867,
      ID_AR11               = 32906,
      ID_AR12               = 32907,
      ID_AR13               = 32908,
      ID_AR14               = 32909,
      ID_AR15               = 32910,
      ID_AR16               = 32911,
      ID_AR17               = 32912,
      ID_AR18               = 32913,
      ID_AR19               = 32914,
      ID_AR20               = 32915,
      ID_ARLAST             = 32868,
      ID_EJECT              = 32870,
      ID_CONTEXT            = 32872,
      ID_ALTEXIT            = 32873,
      ID_MINIMIZE           = 32874,
      ID_NEXTSUB            = 32875,
      ID_NEXTAUDIO          = 32876,
      ID_REPLAY             = 32877,
      ID_JUMP               = 32878,
      ID_FRAMESTEP          = 32879,
      ID_ABREPEAT           = 32880,
      ID_CHAPTITREP         = 32881,
      ID_NEXT_ANGLE         = 32883,
      ID_OPEN               = 32884,
      ID_NEXT_TIT           = 32885,
      ID_STATS              = 32886,
      ID_CAPTURE            = 32887,
      ID_BK_RESUME          = 32888,
      ID_DEINTERLACE        = 32889,
      ID_VOLUP              = 32891,
      ID_VOLDOWN            = 32892,
      ID_NEXTDISK           = 32893,
      ID_SHOWTIME           = 32894,
      ID_CC_NUDGE_UP        = 32895,
      ID_CC_NUDGE_DOWN      = 32896,
      ID_UPGRADE            = 32897,
      ID_NEXT_FILE          = 32898,
      ID_PREVIOUS_FILE      = 32899,
      ID_TSPROG             = 32901,
      ID_PREV_TIT           = 32902,
      ID_SLOW               = 32904,
      ID_CCTOGGLE           = 32905,
      ID_VMRSTATS           = 32916,
      ID_LIPDOWN            = 32917,
      ID_LIPUP              = 32918,
      ID_MUTE               = 32919,
      ID_BLANKING           = 32920,
      ID_TOGGLE             = 32922,
      ID_MOVELEFT           = 32924,
      ID_MOVERIGHT          = 32925,
      ID_MOVEUP             = 32926,
      ID_MOVEDOWN           = 32927,
      ID_H_EXPAND           = 32928,
      ID_H_CONTRACT         = 32929,
      ID_V_EXPAND           = 32930,
      ID_V_CONTRACT         = 32931,
      ID_ZOOM_IN            = 32932,
      ID_ZOOM_OUT           = 32933,
      ID_BL_LEFT            = 32934,
      ID_BL_RIGHT           = 32935,
      ID_BT_UP              = 32936,
      ID_BT_DOWN            = 32937,
      ID_BR_LEFT            = 32938,
      ID_BR_RIGHT           = 32939,
      ID_BB_UP              = 32940,
      ID_BB_DOWN            = 32941,
      ID_STREAM             = 32943,
    } //TT_WM_COMMAND



like i said, its not much work to write a plugin that uses the tcpp/ip interface, heres a list of the commands avaialable thro that -

Code: Select all
  class CTTIpInterface
  {
    public enum TT_MEDIA_STATE
    {
      TT_MEDIA_STOPPED = 0,
      TT_MEDIA_PLAYING = 1,
      TT_MEDIA_PAUSED  = 2,
      TT_MEDIA_FF      = 3,
      TT_MEDIA_RW      = 4
    }; //TT_MEDIA_STATE


    public enum TT_SCREEN_STATE
    {
      IP_SCREEN_MINIMIZED  = 0,
      IP_SCREEN_WINDOWED   = 1,
      IP_SCREEN_FULLSCREEN = 2,
    }; //TT_SCREEN_STATE   


    public enum TT_IP_COMMAND
    {
      IP_APPLICATION      = 0,      // TT<-->AP   Application name
      IP_VERSION          = 1,      // TT<-->AP   Application version
      IP_FLASH            = 500,    // TT<-->AP   OSD Flash message
      IP_FULLSCREEN       = 510,    // TT<-->AP   Fullscreen/windowed status

      IP_MEDIASTATE       = 1000,   // TT<-->AP   State enum
      IP_MEDIATIME        = 1010,   // TT<-->AP   Media time (hh:mm:ss / hh:mm:ss)
      IP_MEDIAPOS         = 1020,   // AP->TT   Set media time (hh:mm:ss)
      IP_ENDOFMEDIA       = 1030,   // TT->AP   Signals end of media
      IP_FORMAT           = 1040,   // TT->AP   (0  =NTSC, 1  =PAL)

      IP_GETAR            = 1300,   // TT<-->AP   Return Current AR (name)
      IP_ARCOUNT          = 1310,   // AP->TT   AR Count
      IP_ARNAMES          = 1320,   // AP->TT   AR Names (name|name)
      IP_SETAR            = 1330,   // AP->TT   Set Current AR (number)

      IP_CURFILE          = 1400,   // TT<-->AP   Current file
      IP_DISKINSERTION    = 1410,   // TT->AP   Disk inserted
      IP_DISKEJECTION     = 1420,   // TT->AP   Disk ejected

      IP_DVDUNIQUEID      = 1500,   // AP->TT   DVD unique ID
      IP_DVDTITLE         = 1510,   // TT<-->AP   Current Title
      IP_DVDTITLECOUNT    = 1520,   // AP->TT   Title count
      IP_DVDPLAYTITLE     = 1530,   // AP->TT   Play Title

      IP_DVDCHAPTER       = 1600,   // TT<-->AP   Current Chapter
      IP_DVDCHAPTERCOUNT  = 1610,   // AP->TT   Chapter count
      IP_DVDPLAYCHAPTER   = 1620,   // AP->TT   Play chapter
      IP_DVDPLAYTITCHAP   = 1630,   // AP->TT   Play Chapter in Title (Chapter Title)

      IP_DVDAUDIO         = 1700,   // TT<-->AP   Current audio stream
      IP_DVDSETAUDIO      = 1710,   // AP->TT   Set audio stream
      IP_DVDAUDIOCOUNT    = 1720,   // AP->TT   Audio stream count
      IP_DVDAUDIONAMES    = 1730,   // AP->TT   Audio stream names (name|name)

      IP_DVDSUBTITLE      = 1800,   // TT<-->AP   Current subtitle stream
      IP_DVDSETSUBTITLE   = 1810,   //   AP->TT   Set subtitle stream, -1 to disable
      IP_DVDSUBTITLECOUNT =   1820,   // AP->TT   Subtitle stream count
      IP_DVDSUBTITLENAMES = 1830,   // AP->TT   Subtitle names (name|name)

      IP_DVDANGLE         = 1900,   // TT<-->AP   Current angle
      IP_DVDSETANGLE      = 1910,   // AP->TT   Set angle
      IP_DVDANGLECOUNT    = 1920,   // AP->TT   Angle count

      IP_DVDMENUMODE      = 2000,   // TT<-->AP   Menu mode
      IP_DOMAIN           = 2010,   // TT->AP   DVD Domain

      IP_GETVOLUME        = 2100,   // TT<-->AP   Get Current volume
      IP_SETVOLUME        = 2110,   // AP->TT   Set Current volume

      IP_PLAYFILE         = 3000,   // AP->TT   Play file
      IP_ADDFILE          = 3010,   // AP->TT   Add file to playlist
      IP_CLEARLIST        = 3020,   // AP->TT   Clear playlist
      IP_GETINDEX         = 3030,   // AP->TT   Current item index
      IP_PLAYATINDEX      = 3040,   // AP->TT   Play item at index
      IP_GETLISTCOUNT     = 3050,   // AP->TT   Current list count
      IP_GETLIST          = 3060,   // AP->TT   Get playlist (name|name)

      IP_SETPRIVATE       = 4000,   // AP->TT   Private app string
      IP_GETPRIVATE       = 4010,   // AP->TT   Private app string

      IP_WM_COMMAND       = 5000,   // AP->TT   Internal command
      IP_KEYPRESS         = 5010,   // AP->TT   Key code


      //Auto Killer Commands
      IP_LAUNCH           = 8000,   // AP->AK
      IP_QUIT             = 8010    // AP->AK
    }; //TT_IP_COMMAND
}
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: TheaterTek sendmessage commands?

Postby Marbles_00 on Tue Mar 18, 2008 12:53 pm

Thanks for the info. I did see the IP commands, but haven't tried them. I quickly tried the gamma, brightness and contrast send messages, but nothing seemed to happen...then I had to get going to work, so I will play somemore tonight.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Re: TheaterTek sendmessage commands?

Postby scottw on Wed Mar 19, 2008 12:28 am

Not to crap on your thread Marbles but I have been curious to hear what people like better about TT over Zoom. Have you tried Zoom, Marbles?
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Re: TheaterTek sendmessage commands?

Postby Marbles_00 on Wed Mar 19, 2008 1:31 am

I love Zoom Player. It is so configurable...and you know me, I love tweaking things. I guess that's what individuals like about TheaterTek, it's a type of player where you don't have to have a PhD in order to use it. Two reason's why I was wondering about TheaterTek Send Messages. I wanted to incorporate it into Mirage, so individuals have the chance to use one or the other. I wanted to make it easy on people. The second reason: I was having problems lately with my version of Zoom Player. I had TheaterTek sitting around and figure I'd just swap over. I was able though to figure out what was wrong with Zoom, and now I'm swapping back.

Well off to the gym.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Re: TheaterTek sendmessage commands?

Postby S Pittaway on Wed Mar 19, 2008 8:33 am

lets be honest they all use the same codecs so the picture is more or less the same with most players.

reseons i went with TT,
i think the on screen menu looks more professional when its running on my projecter.
it has sensible default values to help give a good picture.
it worked out of the box, i started off using zoomplayer but it was taking up to much time :)
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: TheaterTek sendmessage commands?

Postby Marbles_00 on Wed Mar 19, 2008 11:58 am

it worked out of the box, i started off using zoomplayer but it was taking up to much time


Pretty much assured the reason I think people like TT over Zoom. Nothing wrong with either program, as Pittaway states, each use the same codecs, so you can't go on the merit of picture quality, but Zoom requires alot of "fine tuning". Some like me, don't mind the fine tuning...others don't want to be bothered.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Re: TheaterTek sendmessage commands?

Postby scottw on Wed Mar 19, 2008 12:10 pm

Thanks to both of you!!!!
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Re: TheaterTek sendmessage commands?

Postby CiXel on Sat Apr 26, 2008 1:26 pm

My biggest reason for using TT over Zoom was the aspect ratio mode. This gives me a really easy way to go 'fullscreen' with a movie should I desire, and also for people like my brother who have a 42" widescreen plasma at a resolution of 1024x768 it allows for properly displaying a move on that screen, something we have been unable to achieve with zoom.
CiXel
 
Posts: 177
Joined: Tue Feb 22, 2005 6:27 pm
Location: New York