Пример #1
0
        static void Main_EPGLookup( string[] args )
        {
            // Create the server
            using (VCRServer server = new VCRServer( new DirectoryInfo( @"C:\temp\VCR.NET 3.9 Alpha\Jobs" ) ))
            {
                // Create filter
                GuideEntryFilter filter =
                    new GuideEntryFilter
                        {
                            MaximumEntriesPerStation = 30,
                            MinimumDateTime = DateTime.UtcNow,
                            MinimumIsCurrent = true,
                            Profile = null,
                            Station = "ZDF [ZDFvision]",
                            ContentFilter = null
                        };

                // Load a bit of events
                ProgramGuideEntry[] entries = server.GetProgramGuideEntries( filter );
            }
        }
Пример #2
0
        static void Main_EPGLookup(string[] args)
        {
            // Create the server
            using (VCRServer server = new VCRServer(new DirectoryInfo(@"C:\temp\VCR.NET 3.9 Alpha\Jobs")))
            {
                // Create filter
                GuideEntryFilter filter =
                    new GuideEntryFilter
                {
                    MaximumEntriesPerStation = 30,
                    MinimumDateTime          = DateTime.UtcNow,
                    MinimumIsCurrent         = true,
                    Profile       = null,
                    Station       = "ZDF [ZDFvision]",
                    ContentFilter = null
                };

                // Load a bit of events
                ProgramGuideEntry[] entries = server.GetProgramGuideEntries(filter);
            }
        }