HelloWorld.StudioV 1.3.0

Studio V client libraries for connecting and using the Studio V host visualizer. Can be used on Studio V Spel 0.3.2 and above.

Install-Package HelloWorld.StudioV -Version 1.3.0
dotnet add package HelloWorld.StudioV --version 1.3.0
<PackageReference Include="HelloWorld.StudioV" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HelloWorld.StudioV --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

For connecting to the Studio V Spel host.

This package can be used on Studio V Spel v0.3.2

Example usage:

using StudioV.Spellista;

static class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Enter search query:");
        string query = Console.ReadLine()?.Trim();

        foreach (Song song in Spellista.Songs)
        {
            bool match = song.Name.Contains(query, StringComparison.CurrentCultureIgnoreCase) ||
                            song.Artists.Contains(query, StringComparison.CurrentCultureIgnoreCase) ||
                            song.Album.Contains(query, StringComparison.CurrentCultureIgnoreCase) ||
                            song.Length.Contains(query, StringComparison.CurrentCultureIgnoreCase) ||
                            song.ReleaseDate.ToString("yyyy-MM-dd")
                                .Contains(query, StringComparison.CurrentCultureIgnoreCase);
            
            if (match)
            {
                Console.WriteLine("Found match! {0}", song);
            }

            //Spellista.FilterSong(song, match);
            song.Filter(match);
        }

        Console.WriteLine("DONE");

        Console.WriteLine("Press ENTER to exit.");
        Console.ReadLine();
    }
}

For connecting to the Studio V Spel host.

This package can be used on Studio V Spel v0.3.2

Example usage:

using StudioV.Spellista;

static class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Enter search query:");
        string query = Console.ReadLine()?.Trim();

        foreach (Song song in Spellista.Songs)
        {
            bool match = song.Name.Contains(query, StringComparison.CurrentCultureIgnoreCase) ||
                            song.Artists.Contains(query, StringComparison.CurrentCultureIgnoreCase) ||
                            song.Album.Contains(query, StringComparison.CurrentCultureIgnoreCase) ||
                            song.Length.Contains(query, StringComparison.CurrentCultureIgnoreCase) ||
                            song.ReleaseDate.ToString("yyyy-MM-dd")
                                .Contains(query, StringComparison.CurrentCultureIgnoreCase);
            
            if (match)
            {
                Console.WriteLine("Found match! {0}", song);
            }

            //Spellista.FilterSong(song, match);
            song.Filter(match);
        }

        Console.WriteLine("DONE");

        Console.WriteLine("Press ENTER to exit.");
        Console.ReadLine();
    }
}

Release Notes

Added StudioV.Spellista assembly.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.0 150 7/12/2019
1.2.0 149 6/29/2019