Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-media-metadata

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-media-metadata

Media metadata reader for Android

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

capacitor-media-metadata

Media metadata reader for Android

Install

npm install capacitor-media-metadata
npx cap sync

API

  • metadata(...)
  • cover(...)
  • Interfaces

metadata(...)

metadata(options: MetadataOptions) => Promise<Metadata>

get metadata for audio files

ParamType
optionsMetadataOptions

Returns: Promise<Metadata>


cover(...)

cover(options: MetadataOptionsPath) => Promise<MetadataCover>

get cover for audio files

ParamType
optionsMetadataOptionsPath

Returns: Promise<MetadataCover>


Interfaces

Metadata
PropTypeDescription
cdTrackNumberstringCD track number
artiststringartist
albumArtiststringalbum artist
albumNamestringalbum name
bitratestringbitrate
datestringdate
genrestringgenre
discNumberstringdisc number
titlestringtitle
yearstringyear
mimetypestringmimetype
composerstringcomposer
durationstringduration
numTacksstringnumber of tacks
writerstringwriter
coverstringbase64 image (if withCover is true)
MetadataOptions
PropTypeDescription
pathstringfile path
withCoverbooleanadd cover in metadata (false by default)
MetadataCover
PropTypeDescription
coverstringbase64 image
MetadataOptionsPath
PropTypeDescription
pathstringfile path

Keywords

FAQs

Package last updated on 15 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc