<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Upload files to DMP local storage</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>Upload files to DMP local storage</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-19T14:28:51Z</updated>
  <dc:date>2013-05-19T14:28:51Z</dc:date>
  <entry>
    <title>RE: Auto select a Live channel from Cisco Cast.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2934932" />
    <author>
      <name>Eddie Chow</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2934932</id>
    <updated>2011-01-18T18:13:01Z</updated>
    <published>2011-01-18T18:13:01Z</published>
    <summary type="html">I noticed that after a short time Cast will only show the preview of the 1st channel, but not full screen of the first channel.
 
As suggested, adding the item to the media library like udp://... certainly works if we have one channel.  But what if we have 2 or more channels and the user would like to change channel with the remote?
 
That is... if we have two or more live channels set in Cisco Cast. By default when the player plays the presentation, the player will play the first channel full screen.  And the user may change to another channel anytime using a remote.
 
How can this be achieved?
 
[quote]
After a short time CAST will automatically show the first channel.After that, the user must change the ch
 
If all you want is the video to play video without any end user control, just add an item to your media library like udp://mcastaddress:mcastport  then put it in an all-media playlist in the DMD like any other assett. 
 
 [/quote]</summary>
    <dc:creator>Eddie Chow</dc:creator>
    <dc:date>2011-01-18T18:13:01Z</dc:date>
  </entry>
  <entry>
    <title>Auto select a Live channel from Cisco Cast.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2934223" />
    <author>
      <name>Eddie Chow</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2934223</id>
    <updated>2011-01-18T06:13:25Z</updated>
    <published>2011-01-18T06:13:25Z</published>
    <summary type="html">I have created a live channel in Cisco Cast and to show it I've created an ETV object using DMD.

When the presentation being played by the DMP, the ETV only shows the Main Menu and someone must use the remote controller to select a channel.

Are there any ways to auto select a live channel to full screen as soon as a presentation being played?</summary>
    <dc:creator>Eddie Chow</dc:creator>
    <dc:date>2011-01-18T06:13:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: upload an asset dynamically with PHP or ASP etc.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2930432" />
    <author>
      <name>Eddie Chow</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2930432</id>
    <updated>2011-01-17T08:56:46Z</updated>
    <published>2011-01-17T08:56:22Z</published>
    <summary type="html">I've just tried changing content type to "multipart/form-data" and it returned the following error...
 
[quote]HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: application/xml;charset=UTF-8
Content-Length: 466
Date: Mon, 17 Jan 2011 07:54:18 GMT
Connection: close
failure&lt;code&gt;Internal Server Error&lt;/code&gt;Could
 not parse multipart servlet request; nested exception is 
org.apache.commons.fileupload.FileUploadException: the request was 
rejected because no multipart boundary was found[/quote]
 
 </summary>
    <dc:creator>Eddie Chow</dc:creator>
    <dc:date>2011-01-17T08:56:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: DMP add asset from URL - HTTP 500 error</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2890602" />
    <author>
      <name>Eddie Chow</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2890602</id>
    <updated>2011-01-11T07:08:49Z</updated>
    <published>2011-01-11T07:08:49Z</published>
    <summary type="html">Elaine,
 
Can you please share your sample code which 
sends HTTP POST to DMM to create an asset? I was trying to do similar 
things but failed.
 
Thanks
Eddie
 
[quote]I was sending the HTTP POST out programatically through the .NET HTTP APIs.  I found the issue with the form boundary field and I can create the asset successfully now.  Thanks for your help!
 [/quote]</summary>
    <dc:creator>Eddie Chow</dc:creator>
    <dc:date>2011-01-11T07:08:49Z</dc:date>
  </entry>
  <entry>
    <title>upload an asset dynamically with PHP or ASP etc.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2852709" />
    <author>
      <name>Eddie Chow</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2852709</id>
    <updated>2011-01-04T12:30:31Z</updated>
    <published>2010-12-24T11:45:22Z</published>
    <summary type="html">Does anyone know how I can upload an asset dynamically?
E.g. using php to build the xml string and then post the request to the DMM.

I've tried the following but I always get an error message




[quote]
&lt;?php
$xml = '&lt;n1:asset xmlns:n1="http://www.cisco.com/dms/xml/ns/dsm/contentManagement"&gt;
&lt;title&gt;Testing&lt;/title&gt;
&lt;fileName&gt;http://192.168.11.30:8080/temp/dr_1.html&lt;/fileName&gt;
&lt;description&gt;dr_1description&lt;/description&gt;
&lt;fileType&gt;HTML&lt;/fileType&gt;
&lt;estimatedDuration&gt;
&lt;Hours&gt;0&lt;/Hours&gt;
&lt;Minutes&gt;0&lt;/Minutes&gt;
&lt;Seconds&gt;10&lt;/Seconds&gt;
&lt;/estimatedDuration&gt;
&lt;categoryIdList&gt;&lt;id&gt;5&lt;/id&gt;&lt;/categoryIdList&gt;
&lt;assetOwner&gt;admin&lt;/assetOwner&gt;
&lt;storageType&gt;url&lt;/storageType&gt;
&lt;downloadurl&gt;true&lt;/downloadurl&gt;
&lt;/n1:asset&gt;';

$url = "http://dmst.xxxx.com:8080/xTAS-core/services/content/assets/";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/xml'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, false );
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_HEADER, TRUE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_USERPWD, "admin:Cisco123");
$result = curl_exec($ch);
curl_close($ch); 
echo $result;
?&gt;


[/quote]



Error message...



[quote]
HTTP/1.1
 415 Unsupported Media Type Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=UTF-8 Content-Length: 0 Date: Fri, 24 Dec 2010 05:23:22 GMT 


[/quote]



Anyone got any clue what's wrong with the script?</summary>
    <dc:creator>Eddie Chow</dc:creator>
    <dc:date>2010-12-24T11:45:22Z</dc:date>
  </entry>
  <entry>
    <title>Upload files to DMP local storage</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2785598" />
    <author>
      <name>Eddie Chow</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2785598</id>
    <updated>2010-11-30T20:43:17Z</updated>
    <published>2010-11-30T20:43:17Z</published>
    <summary type="html">Hello there,

I have a few questions regarding uploading files (HTML and images) to our DMP-4400.

We want to display some HTML pages with images using the DMP. 

One constraint we have is bandwidth, so the amount of data transfer between the DMP and DMM must kept to a minimal. And because of this, we must upload the HTML files and image files in the local storage of the DMP.  The HTML files needs to be updated daily whereas the image files does not need updating. Once updated files has been uploaded to the DMP, the DMP should play the updated content.

These are the problems we having, hopefully somebody can guide me to the right direction.

1) Everytime when I upload the playlist(with HTML files) from DMM (using Advanced Task - File Transfer to DMP or server), the DMP reboots! Are there any ways to upload the HTML files to the local storage of the DMP without it to reboot?

2) I would like to use the local storage of the DMP to store the images, however I couldn't write any files into the local storage of the DMP via FTP. Is this normal? If so, are there any ways to get around this so the image files gets stored locally?


One out of the scope question - Are there any ways to create a schedule in DMM using an API? I know how to edit an existing schedule using an API, but I can't see creating schedule being documented in the DMS API v0.8.5.


Thanks in advance.
Eddie</summary>
    <dc:creator>Eddie Chow</dc:creator>
    <dc:date>2010-11-30T20:43:17Z</dc:date>
  </entry>
</feed>

