I am starting this thread to detail my progress with the MAME Plugin/Player pair that I am coding for LinuxMCE (and perhaps PlutoHome too).
I have made the first bits of necessary database changes in order to make the File list and UpdateMedia daemon start to index and list the files inside the games/ directory in the LinuxMCE structure.
I currently have to manually set attributes for now, but it does index the filename as title currently, and I am able to add pictures, and it does display on a file list on all of my orbiters.
I have assigned a MediaType of 8 (because it was available...) I hope I haven't trampled on anyone's toes for this. I will need to figure out how to use sql2cpp effectively to get the proper media ID (because I know under sqlcvs the PK_ fields will most likely change, I can't assume that they will be constant!).
There is no plugin/player combination yet, so while the new games scenario, file list, and single file/attribute views work properly, it doesn't do anything after that except say, "I have no devices in this entertainment area capable of playing this file!", and the DCERouter file currently gives the message:
08 12/10/07 1:20:00.560 Received Message from 80 (Windows XP PC/tablet (Horiz) / Bedroom (Master) #1) to 10 (Media Plug-in / Bedroom (Master) #1), type 1 id 43 Command:MH Play Media, retry none, parameters: <0x727a8b90>
08 12/10/07 1:20:00.560 Parameter 2(PK_Device): 0 <0x727a8b90>
08 12/10/07 1:20:00.560 Parameter 13(Filename): !F50880 <0x727a8b90>
08 12/10/07 1:20:00.560 Parameter 29(PK_MediaType): 0 <0x727a8b90>
08 12/10/07 1:20:00.560 Parameter 44(PK_DeviceTemplate): 0 <0x727a8b90>
08 12/10/07 1:20:00.560 Parameter 45(PK_EntertainArea): 1 <0x727a8b90>
08 12/10/07 1:20:00.560 Parameter 116(Resume): 0 <0x727a8b90>
08 12/10/07 1:20:00.560 Parameter 117(Repeat): 0 <0x727a8b90>
05 12/10/07 1:20:00.561 Play media type 8 in entertain area 1 but nothing to handle it <0x917e6b90>
01 12/10/07 1:20:00.561 Couldn't find any media handlers for type 8 <0x917e6b90>
so, at least the messages are being routed...
I need to finish putting together a stable dev environment now, so I can work on the plugin/player pairs.
I do figure out from the DCERouter logs, that I will need the Plugin AND the Player... the DCE router sends messages to the Plugin first, to determine how to route things... I suspected this, but I would like more information as to why it is separated in this manner...the source code is a little bit foggy in this area, and I am using Xine_Player/Plugin as a reference.... Does anyone know what is going on?
But for now, I am pasting the following screenshots:http://www.localeconcept.com/pub/scratch/games/media_scenarios.pnghttp://www.localeconcept.com/pub/scratch/games/file_list.pnghttp://www.localeconcept.com/pub/scratch/games/single_game.png