INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC as file server  (Read 1129 times)

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
MC as file server
« on: September 20, 2011, 09:45:44 pm »

Hi,

I just had a wild idea and would like your comment. In my Windows Phone 7 MC Remote App I've programmed a page called 'View'. In this page the different Views of MC can be selected and MC will be put in that view remotely (Standard, Mini, Display, Theater and Cover). For each of the views a set of buttons with a function is displayed. Pressing a button will cause a command to be issued to MC.

At the moment the buttons are hard coded but what if I could ask MC for, let's say, a XML file which contains the description of the buttons. This would potentially open a wide range of possibilities:
  • I could write a plugin for MC that mainains the XML.
  • Anyone could manipulate the XML via the plugin.
  • That way the remotes 'View' page would become programmable.

Now that would be awesome  :D

The big question is: Can I use MC as a file server? Or put in other words: Can I retrieve a XML file via MC and get access to that same file from a plugin?

Regards
Paul
Logged

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
Re: MC as file server
« Reply #1 on: September 20, 2011, 11:47:00 pm »

Could you not create your own xml file in a media center directory and maninipulate that directly?
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Re: MC as file server
« Reply #2 on: September 22, 2011, 09:57:42 am »

Hi kensn,

Yes I can but I need to get the XML to the Windows Phone somehow. If I can use the 'File' commands of the webservice the transfer is easy.

Regards
Paul
Logged
Pages: [1]   Go Up