| | 958 | smart_dir_node mdn = video_root->addSubDir(QObject::tr("Music Videos")); |
| | 959 | meta_dir_node* musicvideo_node = mdn.get(); |
| | 960 | |
| | 961 | smart_dir_node hdn = video_root->addSubDir(QObject::tr("Home Videos")); |
| | 962 | meta_dir_node* homemovie_node = hdn.get(); |
| | 963 | |
| | 964 | smart_dir_node adn = video_root->addSubDir(QObject::tr("Adult")); |
| | 965 | meta_dir_node* adult_node = adn.get(); |
| | 966 | |
| | 967 | smart_dir_node udn = video_root->addSubDir(QObject::tr("Unknown")); |
| | 968 | meta_dir_node* unknownvideo_node = udn.get(); |
| | 969 | |
| | 990 | else if ((*p)->GetContentType() == kContentMovie) |
| | 991 | { |
| | 992 | /* if ((*p)->GetCollectionref > 0) |
| | 993 | { |
| | 994 | smart_dir_node cdn = movie_node->addSubDir( |
| | 995 | QObject::tr("Collection %1").arg((*p)->GetCollectionref())); |
| | 996 | meta_dir_node* collection_node = cdn.get(); |
| | 997 | |
| | 998 | collection_node->addEntry(smart_meta_node(new meta_data_node(data))); |
| | 999 | } |
| | 1000 | |
| | 1001 | else */ movie_node->addEntry(smart_meta_node(new meta_data_node(data))); |
| | 1002 | } |
| | 1003 | else if ((*p)->GetContentType() == kContentMusicVideo) |
| | 1004 | { |
| | 1005 | musicvideo_node->addEntry(smart_meta_node(new meta_data_node(data))); |
| | 1006 | } |
| | 1007 | else if ((*p)->GetContentType() == kContentHomeMovie) |
| | 1008 | { |
| | 1009 | homemovie_node->addEntry(smart_meta_node(new meta_data_node(data))); |
| | 1010 | } |
| | 1011 | else if ((*p)->GetContentType() == kContentAdult) |
| | 1012 | { |
| | 1013 | adult_node->addEntry(smart_meta_node(new meta_data_node(data))); |
| | 1014 | } |