MythTV  master
Classes | Functions
videolist.cpp File Reference
#include <algorithm>
#include <iterator>
#include <map>
#include <QFileInfo>
#include <QList>
#include <QScopedPointer>
#include <utility>
#include "mythcontext.h"
#include "mythdate.h"
#include "mythmiscutil.h"
#include "mythgenerictree.h"
#include "videometadatalistmanager.h"
#include "dbaccess.h"
#include "quicksp.h"
#include "dirscan.h"
#include "videoutils.h"
#include "parentalcontrols.h"
#include "videofilter.h"
#include "videolist.h"
#include "videodlg.h"
#include "upnpscanner.h"
Include dependency graph for videolist.cpp:

Go to the source code of this file.

Classes

class  TreeNodeDataPrivate
 
struct  metadata_sort
 metadata sort function More...
 
struct  metadata_path_sort
 
struct  to_metadata_ptr
 
class  VideoListImp
 
struct  call_tree_flat
 
class  dirhandler
 

Functions

static QString path_to_node_name (const QString &path)
 
static meta_dir_nodeAddMetadataToDir (VideoMetadata *metadata, meta_dir_node *dir, meta_dir_node *hint=nullptr)
 
static MythGenericTreeAddDirNode (MythGenericTree *where_to_add, const QString &name, QString fqPath, bool add_up_dirs, QString host="", QString prefix="")
 
static int AddFileNode (MythGenericTree *where_to_add, const QString &name, VideoMetadata *metadata)
 
static void copy_entries (meta_dir_node &dst, meta_dir_node &src, const VideoFilterSettings &filter)
 
static void copy_filtered_tree (meta_dir_node &dst, meta_dir_node &src, const VideoFilterSettings &filter)
 
void tree_view_to_flat (meta_dir_node &tree, VideoListImp::metadata_view_list &flat)
 

Function Documentation

◆ path_to_node_name()

static QString path_to_node_name ( const QString &  path)
static

Definition at line 196 of file videolist.cpp.

Referenced by VideoListImp::buildFsysList().

◆ AddMetadataToDir()

static meta_dir_node* AddMetadataToDir ( VideoMetadata metadata,
meta_dir_node dir,
meta_dir_node hint = nullptr 
)
static

Definition at line 208 of file videolist.cpp.

Referenced by VideoListImp::buildDbList().

◆ AddDirNode()

static MythGenericTree* AddDirNode ( MythGenericTree where_to_add,
const QString &  name,
QString  fqPath,
bool  add_up_dirs,
QString  host = "",
QString  prefix = "" 
)
static

Definition at line 272 of file videolist.cpp.

Referenced by VideoListImp::build_generic_tree().

◆ AddFileNode()

static int AddFileNode ( MythGenericTree where_to_add,
const QString &  name,
VideoMetadata metadata 
)
static

Definition at line 296 of file videolist.cpp.

Referenced by VideoListImp::build_generic_tree().

◆ copy_entries()

static void copy_entries ( meta_dir_node dst,
meta_dir_node src,
const VideoFilterSettings filter 
)
static

Definition at line 1069 of file videolist.cpp.

Referenced by copy_filtered_tree().

◆ copy_filtered_tree()

static void copy_filtered_tree ( meta_dir_node dst,
meta_dir_node src,
const VideoFilterSettings filter 
)
static

Definition at line 1083 of file videolist.cpp.

Referenced by VideoListImp::update_meta_view().

◆ tree_view_to_flat()

void tree_view_to_flat ( meta_dir_node tree,
VideoListImp::metadata_view_list flat 
)

Definition at line 1114 of file videolist.cpp.

Referenced by call_tree_flat::operator()(), and VideoListImp::update_meta_view().