void EnumSources()
    {
        var Sources = PopMovie.EnumSources();

        if (Sources == null)
        {
            UpdateOutput("No sources found, error?");
            return;
        }
        string Output = "";

        foreach (string Source in Sources)
        {
            Output += Source + "\n";
        }
        UpdateOutput(Output);
        return;
    }
Ejemplo n.º 2
0
    void UpdateSources()
    {
        //	enum sources
        var Sources = PopMovie.EnumSources(IncludeFilter, ExcludeFilter, 50000, IncludeDirectory);

        if (Sources != null)
        {
            foreach (var Filename in Sources)
            {
                if (mFilenamesAndDiscoveryTime.ContainsKey(Filename))
                {
                    continue;
                }

                OnFoundFilename(Filename);
            }
        }
    }