Package net.pms.external.xbmc.folders.video

Examples of net.pms.external.xbmc.folders.video.TitleVirtualFolder


        XBMCLog.logTimeStart("discovering files for " + seasons.get(seasonId));
        Map<Integer, String> episodes = dao.getEpisodes(tvShowId, seasonId);
        XBMCLog.logTimeStop();
        for (Integer id : episodes.keySet()) {
          String title = episodes.get(id);
          TitleVirtualFolder titleFolder = new TitleVirtualFolder(id, title, dao);
          addChild(titleFolder);
        }
      }
    }
  }
View Full Code Here


        // Added Sort to Movie List
        Map<Integer, String> map = MapUtil.sortByValue(dao.getTitlesByInitial(null));
        List<VirtualFolder> list = new ArrayList<VirtualFolder>();
        for (Integer id : map.keySet()) {
          String name = map.get(id);
          TitleVirtualFolder title = new TitleVirtualFolder(id, name, dao);
          list.add(title);
        }
        return list;
      }
    };
    addChild(all);
   
    for (final String initial : initials) {
      ListFolder f = new ListFolder(initial) {
        @Override
        public List<VirtualFolder> getList() {
          XBMCLog.info("loading movie titles for: " + initial);
          // Added Sort to Movie List
          Map<Integer, String> map = MapUtil.sortByValue(dao.getTitlesByInitial(initial));
          List<VirtualFolder> list = new ArrayList<VirtualFolder>();
          for (Integer id : map.keySet()) {
            String name = map.get(id);
            TitleVirtualFolder title = new TitleVirtualFolder(id, name, dao);
            list.add(title);
          }
          return list;
        }
      };
View Full Code Here

          // Added Sort to Movie List
          Map<Integer, String> map = MapUtil.sortByValue(dao.getTitlesByYear(year));
          List<VirtualFolder> list = new ArrayList<VirtualFolder>();
          for (Integer id : map.keySet()) {
            String name = map.get(id);
            TitleVirtualFolder title = new TitleVirtualFolder(id, name, dao);
            list.add(title);
          }
          return list;
        }
      };
View Full Code Here

            // Added Sort to Movie List
            Map<Integer, String> map = MapUtil.sortByValue(dao.getTitlesBySet(setId));
            List<VirtualFolder> list = new ArrayList<VirtualFolder>();
            for (Integer id : map.keySet()) {
              String name = map.get(id);
              TitleVirtualFolder title = new TitleVirtualFolder(id, name, dao);
              list.add(title);
            }
            return list;
          }
        };
View Full Code Here

          // Added Sort to Movie List
          Map<Integer, String> map = MapUtil.sortByValue(dao.getTitlesByGenre(genre));
          List<VirtualFolder> list = new ArrayList<VirtualFolder>();
          for (Integer id : map.keySet()) {
            String name = map.get(id);
            TitleVirtualFolder title = new TitleVirtualFolder(id, name, dao);
            list.add(title);
          }
          return list;
        }
      };
View Full Code Here

TOP

Related Classes of net.pms.external.xbmc.folders.video.TitleVirtualFolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.