-
Notifications
You must be signed in to change notification settings - Fork 26
MusicQueryable
Julien Amsellem edited this page Sep 30, 2017
·
2 revisions
When searching for music most of the time you'll want to use ID3 tag information, not the file name itself. This queryable interface will provide you with the following methods:
-
Album(string album)
: search for a specific album name -
Artist(string artist)
: search for a specific artist -
Genre(string genre)
: search for music genre -
Title(string title)
: search for a specific song title -
Track(uint? track)
: search for a specific song track number -
Comment(string pattern)
: search for music files with comments containing the specified pattern
var everything = new Everything();
var results = everything
.Search()
.Music
.Album("Abbey Road");
var everything = new Everything();
var results = everything
.Search()
.Music
.Artist("The Beatles");
var everything = new Everything();
var results = everything
.Search()
.Music
.Genre("pop");
var everything = new Everything();
var results = everything
.Search()
.Music
.Title("Come Together");
var everything = new Everything();
var results = everything
.Search()
.Music
.Track(1);