[2008/03/21 01:00:15] <TSCHAK> yes
[2008/03/21 01:00:15] <TSCHAK> quite literally
[2008/03/21 01:00:15] <bmac2> wait
[2008/03/21 01:00:15] <hari> and the designobj itself have layout hints?
[2008/03/21 01:00:15] <bmac2> where do you see UI3
[2008/03/21 01:00:18] <bmac2> UI2
[2008/03/21 01:00:27] <TSCHAK> bmac2, you don't, I'm telling you that.
[2008/03/21 01:00:32] <bmac2> oh ok
[2008/03/21 01:00:33] <TSCHAK> external information
[2008/03/21 01:00:39] <bmac2> I thought the table showed that
[2008/03/21 01:00:50] <bmac2> you just figured that out doing mame
[2008/03/21 01:00:50] <TSCHAK> so basically, if you look at 4964 in HADesigner
[2008/03/21 01:00:51] <bmac2> ok
[2008/03/21 01:00:53] <bmac2> continue
[2008/03/21 01:00:59] <TSCHAK> you see the left hand menu
[2008/03/21 01:01:03] <TSCHAK> which, with video contains
[2008/03/21 01:01:05] <TSCHAK> Aspect Ratio
[2008/03/21 01:01:08] <TSCHAK> Thumbnail
[2008/03/21 01:01:10] <TSCHAK> Random
[2008/03/21 01:01:11] <TSCHAK> etc.etc.etc..
[2008/03/21 01:01:13] <bmac2> k
[2008/03/21 01:01:16] <hari> k
[2008/03/21 01:01:24] <TSCHAK> it's what you see when you mouse over the left hand big square
[2008/03/21 01:01:29] <TSCHAK> make sense?
[2008/03/21 01:01:33] * bmac2 thinks his three dual head machines aren't enough, need a windows box too
[2008/03/21 01:01:35] <bmac2> yes
[2008/03/21 01:01:40] <bmac2> with you on that
[2008/03/21 01:01:43] <shaggy71875_lmce> yikes
[2008/03/21 01:01:45] <TSCHAK> okay...
[2008/03/21 01:01:53] <hari> no
[2008/03/21 01:02:00] <TSCHAK> hari, ?
[2008/03/21 01:02:04] <TSCHAK> hari, question?
[2008/03/21 01:02:11] <hari> left hand big square?
[2008/03/21 01:02:15] <shaggy71875_lmce> okay where are the images it displays located (looks to break somthing
[2008/03/21 01:02:19] <TSCHAK> hari, you don't use UI2 do you?
[2008/03/21 01:02:21] <hari> i do
[2008/03/21 01:02:24] <TSCHAK> hari, it's the left most menu in UI2
[2008/03/21 01:02:34] <TSCHAK> hari, the one that changes with the media
[2008/03/21 01:02:37] <hari> ah
[2008/03/21 01:02:39] <hari> ok
[2008/03/21 01:02:46] <TSCHAK> okay... continuing
[2008/03/21 01:02:56] <TSCHAK> FK_Screen_FileList
[2008/03/21 01:03:07] <TSCHAK> this is what is displayed, when you send an orbiter, a Show File List command
[2008/03/21 01:03:10] <TSCHAK> go ahead and do that
[2008/03/21 01:03:13] <TSCHAK> from the web admin
[2008/03/21 01:03:15] <bmac2> 47
[2008/03/21 01:03:21] <bmac2> is the value for that
[2008/03/21 01:03:24] <TSCHAK> yes.
[2008/03/21 01:03:40] <TSCHAK> if you look at Screen, you'll see it's the file list used for jsut about everything else
[2008/03/21 01:03:56] <TSCHAK> and if you do a Show File List command
[2008/03/21 01:04:00] <TSCHAK> the parameter it asks you for is
[2008/03/21 01:04:02] <TSCHAK> guess what?
[2008/03/21 01:04:04] <TSCHAK> MediaType
[2008/03/21 01:04:06] <hari> do i have to select a file?
[2008/03/21 01:04:11] <hari> in the send command?
[2008/03/21 01:04:16] <bmac2> wait one opening webmin
[2008/03/21 01:04:21] <TSCHAK> hari, no no no
[2008/03/21 01:04:24] <hari> k
[2008/03/21 01:04:32] <TSCHAK> just enter a media type in that list.. in our case, just enter 7
[2008/03/21 01:04:42] <TSCHAK> and you should see "LinuxMCE Pictures"
[2008/03/21 01:04:43] <hari> AWESOME

[2008/03/21 01:04:48] <bmac2> wait
[2008/03/21 01:04:54] <bmac2> where in webmin do I send that command?
[2008/03/21 01:05:01] <TSCHAK> bmac2, Advanced->Devices
[2008/03/21 01:05:02] <hari> bmac2: choose any orbiter
[2008/03/21 01:05:07] <TSCHAK> bmac2, select one of your orbiters
[2008/03/21 01:05:12] <TSCHAK> bmac2, the closest one to you
[2008/03/21 01:05:14] <hari> go to advanced and then select send command to device
[2008/03/21 01:05:18] <TSCHAK> bmac2, such as, i guess.. #20
[2008/03/21 01:05:31] <TSCHAK> bmac2, then you can select Send Command to Device
[2008/03/21 01:05:58] <bmac2> I have no choices from the pulldown
[2008/03/21 01:06:05] <bmac2> once I click on send command
[2008/03/21 01:06:10] <shaggy71875_lmce> advanced >config>devices?
[2008/03/21 01:06:10] <bmac2> my core is all that is r4unning right now
[2008/03/21 01:06:14] <TSCHAK> then you have the wrong device
[2008/03/21 01:06:21] <TSCHAK> choose device #20
[2008/03/21 01:06:23] <TSCHAK> Onscreen ORbiter
[2008/03/21 01:07:02] <hari>
http://vt100.at/images/Screenshot-13.png[2008/03/21 01:07:19] <bmac2> ok now media type?
[2008/03/21 01:07:42] <hari>
http://vt100.at/images/Screenshot-14.png[2008/03/21 01:07:50] <hari> simply enter 7
[2008/03/21 01:07:57] <hari> in the data field
[2008/03/21 01:08:13] <bmac2> wait
[2008/03/21 01:08:17] <bmac2> I am on #20
[2008/03/21 01:08:22] <bmac2> the onscreen orbiter
[2008/03/21 01:08:30] <bmac2> I click on send command at the top
[2008/03/21 01:08:36] <bmac2> I get another window
[2008/03/21 01:08:45] <bmac2> I click on send to this device the command
[2008/03/21 01:08:47] <bmac2> and get a list
[2008/03/21 01:08:52] <bmac2> but I don't see media type
[2008/03/21 01:08:58] <TSCHAK> no no no
[2008/03/21 01:09:00] <TSCHAK> show file list
[2008/03/21 01:09:05] <hari> you have to select "Show File List"
[2008/03/21 01:09:21] <bmac2> got you
[2008/03/21 01:09:22] <hari> as seen on the screenshot
[2008/03/21 01:09:36] <bmac2> so this should show up ON the core screen?
[2008/03/21 01:09:40] <TSCHAK> bmac2, yes
[2008/03/21 01:09:44] <bmac2> k
[2008/03/21 01:09:49] <TSCHAK> bmac2, because you're sending the command to the core's on-screen orbiter
[2008/03/21 01:09:53] <bmac2> ok with you
[2008/03/21 01:09:54] <hari> bmac2: you need a N800

[2008/03/21 01:09:55] <shaggy71875_lmce> got it
[2008/03/21 01:10:04] <bmac2> I need a LOT of hardware
[2008/03/21 01:10:07] <TSCHAK> bmac2, see what happened?
[2008/03/21 01:10:14] <shaggy71875_lmce> send me a n800 lol
[2008/03/21 01:10:17] <bmac2> I understand
[2008/03/21 01:10:22] <TSCHAK> bmac2, okay now
[2008/03/21 01:10:27] <TSCHAK> back to that table row
[2008/03/21 01:16:06] <TSCHAK> MediaType_DesignObj
[2008/03/21 01:16:17] <TSCHAK> we're going to crawl through ALL of it
[2008/03/21 01:16:18] <TSCHAK> we have to
[2008/03/21 01:16:38] <TSCHAK> notice the next one is FK_Screen_OSD ?
[2008/03/21 01:16:48] <hari> null
[2008/03/21 01:16:52] <TSCHAK> yup
[2008/03/21 01:16:55] <TSCHAK> it is
[2008/03/21 01:17:00] <TSCHAK> and we will change that
[2008/03/21 01:17:03] <TSCHAK> but not now
[2008/03/21 01:17:16] <TSCHAK> to compare
[2008/03/21 01:17:18] <bmac2> yes
[2008/03/21 01:17:27] <TSCHAK> look at MediaType 5
[2008/03/21 01:17:35] <TSCHAK> SELECT * from MediaType WHERE PK_MediaType = 5
[2008/03/21 01:17:38] <TSCHAK> this is for Videos
[2008/03/21 01:17:38] <hari> 140
[2008/03/21 01:17:52] <TSCHAK> this is the screen
[2008/03/21 01:17:56] <TSCHAK> that is shown on on-screen orbiters
[2008/03/21 01:17:59] <TSCHAK> any time you see _OSD
[2008/03/21 01:18:03] <TSCHAK> this means On screen orbiter
[2008/03/21 01:18:06] <TSCHAK> 140 in our case
[2008/03/21 01:18:08] <hari> ah
[2008/03/21 01:18:17] <hari> thought it was On Screen Display to overlay sth

[2008/03/21 01:18:19] <TSCHAK> is also what we want
[2008/03/21 01:18:29] <TSCHAK> because in the case of UI1
[2008/03/21 01:18:37] <TSCHAK> it will display the orbiter stuff with the little window
[2008/03/21 01:18:44] <TSCHAK> on the TV
[2008/03/21 01:18:51] <TSCHAK> in the case of UI2, it just displays the whole window
[2008/03/21 01:18:57] <TSCHAK> this is defined in HADesigner
[2008/03/21 01:19:04] <TSCHAK> but am I making sense?
[2008/03/21 01:19:15] <hari> yes
[2008/03/21 01:19:16] <TSCHAK> we'll most likely use Screen 140
[2008/03/21 01:19:25] <bmac2> ok I am not seeing the 140
[2008/03/21 01:19:38] <TSCHAK> bmac SELECT * from MediaType WHERE MediaType = 5
[2008/03/21 01:19:44] <hari> bmac2: the FK_Screen_OSD field
[2008/03/21 01:19:46] <TSCHAK> that's the Video media type
[2008/03/21 01:19:56] <bmac2> I did the select mediatype = 5
[2008/03/21 01:20:05] <bmac2> and got pluto_StoredVideo
[2008/03/21 01:20:08] <TSCHAK> yup
[2008/03/21 01:20:09] <bmac2> as the second line
[2008/03/21 01:20:14] <bmac2> where is the 140?
[2008/03/21 01:20:16] <TSCHAK> we're going to be using the same screen...
[2008/03/21 01:20:20] <TSCHAK> FK_Screen_OSD
[2008/03/21 01:20:28] <hari> mysql> select * from MediaType_DesignObj where FK_Mediatype=5;
[2008/03/21 01:20:41] <hari> 1 | 5 | 70 | 4964 | 47 | 140 | 50 | 143 | 224 | 230 | NULL | NULL | 1
[2008/03/21 01:20:54] <hari> 6th field,
[2008/03/21 01:21:35] <hari> TSCHAK: your query missed the _DesignObj
[2008/03/21 01:22:21] <TSCHAK> do SELECT * from Screen WHERE PK_Screen = 140;
[2008/03/21 01:22:33] <TSCHAK> and you'll see, that it is indeed the Full Screen Videos remote
[2008/03/21 01:22:36] <hari> k
[2008/03/21 01:22:43] <hari> yes
[2008/03/21 01:23:00] <TSCHAK> bmac2, make sense?
[2008/03/21 01:23:16] <bmac2> yep
[2008/03/21 01:23:20] <bmac2> if i could spell where
[2008/03/21 01:23:22] <bmac2> lol
[2008/03/21 01:23:22] <TSCHAK> so basically what we are doing at this very moment, is giving information to the media plugin
[2008/03/21 01:23:31] <TSCHAK> as to what remote control screens to use in which cases
[2008/03/21 01:23:51] <TSCHAK> okay, now NEXT screen
[2008/03/21 01:23:55] <TSCHAK> erm, next column
[2008/03/21 01:23:59] <TSCHAK> in MediaType_DesignObj
[2008/03/21 01:24:00] <shaggy71875_lmce> looks to buy a n800
[2008/03/21 01:24:05] <TSCHAK> see FK_Screen_Alt ?
[2008/03/21 01:24:14] <bmac2> 50
[2008/03/21 01:24:37] <TSCHAK> now look up THAT screen
[2008/03/21 01:24:40] <TSCHAK> see what screen that is?
[2008/03/21 01:24:51] <bmac2> dvd menu
[2008/03/21 01:24:53] <TSCHAK> yup
[2008/03/21 01:25:11] <TSCHAK> when you view a DVD menu, what happens is the alt screen is sent, and this screen is sent back
[2008/03/21 01:25:25] <TSCHAK> it provides a way to provide a second UI that can easily be switched by the media plugin
[2008/03/21 01:25:34] <bmac2> k
[2008/03/21 01:25:38] <hari> k
[2008/03/21 01:25:39] <TSCHAK> you can see me use this in mame plugin and mame player
[2008/03/21 01:25:48] <hari> remember that from your screenshots
[2008/03/21 01:25:49] <TSCHAK> but i'll discuss that at some other time
[2008/03/21 01:25:50] <bmac2> ok
[2008/03/21 01:26:05] <TSCHAK> now back again
[2008/03/21 01:26:09] <TSCHAK> FK_Screen_Alt_OSD
[2008/03/21 01:26:12] <TSCHAK> same thing
[2008/03/21 01:26:18] <TSCHAK> except for the on-screen orbiters
[2008/03/21 01:26:59] <bmac2> ohh 143
[2008/03/21 01:27:06] <hari> DVD menu full screen remote
[2008/03/21 01:27:34] <TSCHAK> now, NEXT COLUMN
[2008/03/21 01:27:46] <hari> Speed?
[2008/03/21 01:27:51] <TSCHAK> OSD_Speed and OSD track
[2008/03/21 01:27:52] <bmac2> fk_screen osd speed
[2008/03/21 01:27:59] <bmac2> 224 and 230
[2008/03/21 01:28:00] <TSCHAK> those, are what you get, when you use the gyro remote
[2008/03/21 01:28:32] <TSCHAK> you can define those as needed.. we will leave them as is
[2008/03/21 01:28:53] <TSCHAK> the rest of it doesn't matter
[2008/03/21 01:28:58] <TSCHAK> we can move on
[2008/03/21 01:28:58] <bmac2> k
[2008/03/21 01:29:03] <TSCHAK> but you see
[2008/03/21 01:29:06] <TSCHAK> even at this point
[2008/03/21 01:29:12] <TSCHAK> we have enough to display a file list
[2008/03/21 01:29:15] <TSCHAK> however
[2008/03/21 01:29:22] <TSCHAK> if we actually tried to display something at this point
[2008/03/21 01:29:23] <bmac2> not to display the files
[2008/03/21 01:29:30] <bmac2> just the list
[2008/03/21 01:29:32] <TSCHAK> it would say
[2008/03/21 01:29:33] <TSCHAK> yes
[2008/03/21 01:29:33] <hari> there is no handler for the media type i assume
[2008/03/21 01:29:34] <TSCHAK> it would say
[2008/03/21 01:29:41] <bmac2> unknown file type
[2008/03/21 01:29:45] <TSCHAK> "There is no device in this entertainment area capable of playing it"
[2008/03/21 01:30:00] <TSCHAK> because the system doesn't know, what plugin to pair
[2008/03/21 01:30:05] <bmac2> soo we need to modify player to "play" the files
[2008/03/21 01:30:24] <TSCHAK> we have to tell the system which device template will handle this media type
[2008/03/21 01:30:32] <TSCHAK> on to the next table
[2008/03/21 01:30:39] <hari> TSCHAK: one day we will control all our pictureframes with that

[2008/03/21 01:30:51] <TSCHAK> :-)
[2008/03/21 01:30:51] <bmac2> you and those damn picture frames
[2008/03/21 01:30:52] <bmac2> lol
[2008/03/21 01:30:56] <TSCHAK> i want one too
[2008/03/21 01:30:58] <TSCHAK> ok moving on
[2008/03/21 01:31:07] <shaggy71875_lmce> have one
[2008/03/21 01:31:17] <bmac2> what is the next table?
[2008/03/21 01:31:17] <hari> that was meant seriously

[2008/03/21 01:31:28] <bmac2> I know that is what scares me hari
[2008/03/21 01:31:32] <hari> hehehe
[2008/03/21 01:31:41] <TSCHAK> the next table is DeviceTemplate_MediaType
[2008/03/21 01:31:54] <shaggy71875_lmce> hmm pictureframe that plays video
[2008/03/21 01:32:09] <bmac2> ok 62 rows in that table
[2008/03/21 01:32:12] <bmac2> which row do we need?
[2008/03/21 01:32:20] <TSCHAK> select * from DeviceTemplate_MediaType WHERE FK_MediaType = '5';
[2008/03/21 01:33:01] <bmac2> ok
[2008/03/21 01:33:05] <bmac2> got the table
[2008/03/21 01:33:07] <TSCHAK> the first row is what we want
[2008/03/21 01:33:07] <bmac2> not what hari has
[2008/03/21 01:33:25] <hari> bmac2: thats some output from "Describe DeviceTEmplate_Mediatype"
[2008/03/21 01:33:56] <TSCHAK> now
[2008/03/21 01:34:02] <TSCHAK> open Device Template 5 in the web admin
[2008/03/21 01:34:07] <TSCHAK> see which one it is?
[2008/03/21 01:34:08] <hari> 4 | 5 | 5 | 1 | 1 | 1 | 1 | 1 | NULL
[2008/03/21 01:34:41] <hari> xine player
[2008/03/21 01:34:54] <TSCHAK> this becomes the device template of our Picture Player
[2008/03/21 01:35:18] <TSCHAK> and we use the same Can* properties as the video type
[2008/03/21 01:35:24] <TSCHAK> hopefully that's self explanatory so far?
[2008/03/21 01:35:34] <hari> so it implements media player commands..
[2008/03/21 01:36:54] <TSCHAK> bmac2, configuration->Device templates
[2008/03/21 01:37:20] <bmac2> got it
[2008/03/21 01:37:23] <bmac2> xine
[2008/03/21 01:37:33] <bmac2> under media players dce software wrappers
[2008/03/21 01:38:09] <TSCHAK> so the media plugin knows that this media type is associated with this device type
[2008/03/21 01:38:11] <TSCHAK> okay
[2008/03/21 01:38:45] <bmac2> so we need to edit this to add types to it?
[2008/03/21 01:38:55] <bmac2> or is that done in the src code for this?
[2008/03/21 01:38:57] <hari> look at the "Commands section"
[2008/03/21 01:39:17] <TSCHAK> bmac2, we need to make our own new player
[2008/03/21 01:39:20] <hari> and press "edit commands" besides "media player commands"
[2008/03/21 01:39:21] <TSCHAK> bmac2, called Picture Player
[2008/03/21 01:39:22] <bmac2> k
[2008/03/21 01:39:30] <bmac2> but we copy this one? and use xine to show pics?
[2008/03/21 01:39:31] <TSCHAK> bmac2, which duplicates the majority of what's in this
[2008/03/21 01:39:32] <TSCHAK> yes
[2008/03/21 01:39:33] <TSCHAK> no
[2008/03/21 01:39:41] <hari> bmac2: you then see some of the media player commands the xine template implements
[2008/03/21 01:39:45] <TSCHAK> we're doing a new player, grabbing code out of pluto_screen_saver
[2008/03/21 01:39:50] <bmac2> k
[2008/03/21 01:39:52] <bmac2> with you
[2008/03/21 01:39:56] <bmac2> what does flickr use?
[2008/03/21 01:40:01] <bmac2> it shows pics?
[2008/03/21 01:40:11] <TSCHAK> the flickr screensaver is photo screensaver
[2008/03/21 01:40:15] <bmac2> oh ok
[2008/03/21 01:40:15] <TSCHAK> but since this is a new media type
[2008/03/21 01:40:20] <TSCHAK> it needs to implement media player commands
[2008/03/21 01:40:20] <bmac2> kinda
[2008/03/21 01:40:23] <bmac2> ok
[2008/03/21 01:40:28] <bmac2> so part of xine code
[2008/03/21 01:40:35] <bmac2> part of screensaver
[2008/03/21 01:40:42] <bmac2> part of mediatypes in database
[2008/03/21 01:40:47] <bmac2> with you so far
[2008/03/21 01:40:55] <TSCHAK> nothing from xine... we just use this database entry
[2008/03/21 01:40:58] <TSCHAK> as a boilerplate
[2008/03/21 01:41:00] <bmac2> yes
[2008/03/21 01:41:04] <bmac2> to me that is some of it
[2008/03/21 01:41:07] <TSCHAK> ok
[2008/03/21 01:41:08] <bmac2> using it as a template
[2008/03/21 01:41:20] <TSCHAK> so we get a new device template #, and put THAT into the database...
[2008/03/21 01:41:26] <TSCHAK> if you dig around in the template
[2008/03/21 01:41:31] <TSCHAK> you'll see all sorts of commands implemented
[2008/03/21 01:41:38] <bmac2> yes
[2008/03/21 01:41:40] <TSCHAK> stop media, start media, play, etc..etc...
[2008/03/21 01:41:56] <TSCHAK> these are all the bits of C++ codeage that are skeletoned by DCEGen
[2008/03/21 01:41:58] <TSCHAK> that you fill in
[2008/03/21 01:42:08] <bmac2> yes
[2008/03/21 01:42:13] <bmac2> and I see all the stuff
[2008/03/21 01:42:19] <TSCHAK> yup
[2008/03/21 01:42:20] <bmac2> like select highlighted item
[2008/03/21 01:42:24] <bmac2> move select
[2008/03/21 01:42:25] <bmac2> etc
[2008/03/21 01:42:27] <TSCHAK> yup
[2008/03/21 01:42:32] <TSCHAK> tons of possible commands
[2008/03/21 01:42:34] <bmac2> lots and lots and lots of stuff
[2008/03/21 01:42:37] <TSCHAK> you pick what you need
[2008/03/21 01:42:39] <bmac2> k
[2008/03/21 01:42:43] <TSCHAK> okay
[2008/03/21 01:42:46] <TSCHAK> now close those off for now
[2008/03/21 01:43:01] <TSCHAK> now...
[2008/03/21 01:43:08] <TSCHAK> this gives us enough info for the media plugin
[2008/03/21 01:43:11] <TSCHAK> to be able to function
[2008/03/21 01:43:13] <TSCHAK> almost
[2008/03/21 01:43:16] <bmac2> lol
[2008/03/21 01:43:20] <bmac2> and he says almost
[2008/03/21 01:43:20] <TSCHAK> see, we still need to create a media stream
[2008/03/21 01:43:24] <bmac2> I knew that was coming
[2008/03/21 01:43:26] <shaggy71875_lmce> HAH
[2008/03/21 01:43:36] <TSCHAK> the player needs something to play, right?
[2008/03/21 01:43:44] <TSCHAK> okay peoples
[2008/03/21 01:43:46] <bmac2> media stream is in the media_plugin stuff
[2008/03/21 01:43:51] <bmac2> ?
[2008/03/21 01:43:52] <TSCHAK> yup
[2008/03/21 01:43:54] <bmac2> k
[2008/03/21 01:43:56] <bmac2> so I am with you
[2008/03/21 01:43:59] <bmac2> sorta kinda
[2008/03/21 01:44:00] <TSCHAK> do you guys have the latest SVN checkout?
[2008/03/21 01:44:02] <TSCHAK> or recent?
[2008/03/21 01:44:07] <bmac2> mine is a couple of weeks old
[2008/03/21 01:44:08] <TSCHAK> so you can see MAME_Plugin ?
[2008/03/21 01:44:11] <bmac2> yes
[2008/03/21 01:44:12] <bmac2> I got hat