INTERACT FORUM
More => Old Versions => Media Center 15 (Development Ended) => Topic started by: ChrisRainman on December 11, 2010, 07:15:44 am
-
1. Are there plans to extend the set of fields available when accessing MediaCenter by webremote?
The PlaybackInfo tag allows to display artist and album plus some more. I miss further fields like rating or the track counter in playing now.
2. Is it possible to update fields by webremote? Like rating or Genre.
3. Would it also be possible to display / update user fields ?
-
The PlaybackInfo tag allows to display artist and album plus some more. I miss further fields like rating or the track counter in playing now.
You can get full MPL for any file using a search on the file's key.
For example:
http://192.168.0.100:52199/MCWS/v1/Files/Search?Action=mpl&Query=[Key]=[62706]
2. Is it possible to update fields by webremote? Like rating or Genre.
Yes. You can use MCWS/v1/File/SetInfo.
3. Would it also be possible to display / update user fields ?
The functions above support all fields.
Thanks.
-
That sounds great...
but I have no idea how to integrate that in the playingnow.html files ?
I searched in the forum but did find nothing helpful.
Is this to be done like this: <a href="javascript:download_refresh('MCWS/v1/Playback/Next?Token=[Token]')... ?
Would be great if you can give an example for a mpl query how a command needs to look like in ajax.
-
You can get full MPL for any file using a search on the file's key.
For example:
http://192.168.0.100:52199/MCWS/v1/Files/Search?Action=mpl&Query=[Key]=[62706]
Can anybody give me a hint on how to set this up within webremote html files?
-
I need to give it one more try:
Matt, it's good to see that I can query all field values. So far, I was not able to understand how to integrate that http-string into the webremote files like playingnow.html.
I played around with it but with no success. Maybe you can give me a short example how to perform such a query in these files?
Thanks.
-
I need to give it one more try:
Matt, it's good to see that I can query all field values. So far, I was not able to understand how to integrate that http-string into the webremote files like playingnow.html.
I played around with it but with no success. Maybe you can give me a short example how to perform such a query in these files?
Thanks.
Sorry, but I'm not much help. We use a pretty standard REST-type interface and XML responses, so if you Google, hopefully you'll find some tutorials for doing web services with javascript.