//// public void Category(string name, string path) { VirtualFolder folder = new VirtualFolder(provider.CreateGuid(), name); AddFolderWithLookup(this.parent, folder); string subPath = this.path + "/" + path; FolderStructure f = new FolderStructure(folder, this.provider, subPath); f.Feed("Most popular " + name, "popular"); f.Feed(name + " highlights", "highlights"); f.Feed("All " + name + " programmes", "list"); }
public void Channel(string name, string path) { VirtualFolder folder = new VirtualFolder(provider.CreateGuid(), name); folder.Thumbnail = "http://www.bbc.co.uk/iplayer/img/station_logos/" + path + ".png"; AddFolderWithLookup(this.parent, folder); string subPath = this.path + "/" + path; FolderStructure f = new FolderStructure(folder, this.provider, subPath); f.Feed("Most popular on " + name, "popular"); f.Feed(name + " highlights", "highlights"); f.Feed("All " + name + " programmes", "list"); }