Skip to content

Aftnet/TagLibUWP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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));

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published