<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get properties of a music file from metadata (Swift 5) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-properties-of-a-music-file-from-metadata-Swift-5/m-p/448187#M23338</link>
    <description>&lt;P&gt;The&amp;nbsp;Dropbox API does not extract and return media information such as artwork and duration for audio files,&amp;nbsp;but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, to access this information, you'd need to &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:13SwiftyDropbox11FilesRoutesC8download4path3revAA21DownloadRequestMemoryCyAA0C0C22FileMetadataSerializerCAJ0h5ErrorM0CGSS_SSSgtF" target="_self"&gt;download&lt;/A&gt; the file and extract the desired information from the audio file data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Dropbox API does return file size information, but you'll need to cast the &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/Metadata.html" target="_self"&gt;Metadata&lt;/A&gt; as &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/FileMetadata.html" target="_self"&gt;FileMetadata&lt;/A&gt; first, like in &lt;A href="https://github.com/dropbox/SwiftyDropbox#response-handling-edge-cases" target="_self"&gt;this example&lt;/A&gt;, to access the properties specific to &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/FileMetadata.html" target="_self"&gt;FileMetadata&lt;/A&gt;. Then you can access&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/FileMetadata.html#/s:13SwiftyDropbox5FilesC12FileMetadataC4sizes6UInt64Vvp" target="_self"&gt;FileMetadata.size&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2020 14:01:41 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-08-25T14:01:41Z</dc:date>
    <item>
      <title>How to get properties of a music file from metadata (Swift 5)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-properties-of-a-music-file-from-metadata-Swift-5/m-p/448051#M23337</link>
      <description>&lt;P&gt;I'd like to get such properties of a music file as its artwork, duration, file size. But I do not find these properties in "entry" in the "result.entries" array.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-08-25 at 09.53.58.png" style="width: 288px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/17507i9DAF98300ADFF891/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-08-25 at 09.53.58.png" alt="Screen Shot 2020-08-25 at 09.53.58.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 10:16:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-properties-of-a-music-file-from-metadata-Swift-5/m-p/448051#M23337</guid>
      <dc:creator>VyacheslavB</dc:creator>
      <dc:date>2020-08-25T10:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get properties of a music file from metadata (Swift 5)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-properties-of-a-music-file-from-metadata-Swift-5/m-p/448187#M23338</link>
      <description>&lt;P&gt;The&amp;nbsp;Dropbox API does not extract and return media information such as artwork and duration for audio files,&amp;nbsp;but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, to access this information, you'd need to &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:13SwiftyDropbox11FilesRoutesC8download4path3revAA21DownloadRequestMemoryCyAA0C0C22FileMetadataSerializerCAJ0h5ErrorM0CGSS_SSSgtF" target="_self"&gt;download&lt;/A&gt; the file and extract the desired information from the audio file data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;Dropbox API does return file size information, but you'll need to cast the &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/Metadata.html" target="_self"&gt;Metadata&lt;/A&gt; as &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/FileMetadata.html" target="_self"&gt;FileMetadata&lt;/A&gt; first, like in &lt;A href="https://github.com/dropbox/SwiftyDropbox#response-handling-edge-cases" target="_self"&gt;this example&lt;/A&gt;, to access the properties specific to &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/FileMetadata.html" target="_self"&gt;FileMetadata&lt;/A&gt;. Then you can access&amp;nbsp;&lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/Files/FileMetadata.html#/s:13SwiftyDropbox5FilesC12FileMetadataC4sizes6UInt64Vvp" target="_self"&gt;FileMetadata.size&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 14:01:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-get-properties-of-a-music-file-from-metadata-Swift-5/m-p/448187#M23338</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-08-25T14:01:41Z</dc:date>
    </item>
  </channel>
</rss>

