SkillAgentSearch skills...

TagLibUWP

No description available

Install / Use

/learn @Aftnet/TagLibUWP
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TagLibUWP

Build status NuGet version

Port of TagLib to UWP WinRT component. Uses WinRT's new file IO API to work with the sandboxed app model. Right now, only basic tag data is exposed (Album, Artist, Genre, Title, Track number, Year).

TagLibUWP is distributed under the Mozilla Public License

Usage

IStorageFile file = GetFromWherever();

//Read tag from file
//IO operations are done synchronously, never use TagManager from the UI thread.
var fileInfo = await Task.Run(() => TagManager.ReadFile(file));
var tag = fileInfo.Tag;
string Album = tag.Album; //And so forth for other tag data

//Modify and save tags
tag.Album = "NewAlbum";
await Task.Run(() => TagManager.WriteFile(file, tag));

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated3y ago
Forks1

Languages

C++

Security Score

55/100

Audited on Aug 4, 2022

No findings