Changeset 44941


Ignore:
Timestamp:
12/05/20 20:11:17 (3 years ago)
Author:
obi
Message:

mediadb create on no id files iframes backdrops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mediadb.h

    r44101 r44941  
    22102210        {
    22112211                if(type == 0)
    2212                 {               
     2212                {
    22132213                        struct imdb* imdb = NULL;
    22142214                        struct imdbapi* imdbapi = NULL;
     
    22672267                        struct skin* tmdbplugin = NULL;
    22682268
    2269                         if(flag > 0 || (isrec == 0 && iscam == 0))
     2269                        if(flag > 0 || (isrec == 0 && iscam == 0 && id != NULL))
    22702270                        {
    22712271                                if(flag == 2 && imdb != NULL && id != NULL)
     
    23172317                                if(tmdb != NULL && tmdb->mvi != NULL) backdrop = atoi(tmdb->mvi);
    23182318                        }
    2319                         else if((cmpfilenameext(file, ".ts") == 0) || (cmpfilenameext(file, ".mts") == 0))
     2319                        else if((cmpfilenameext(file, ".ts") == 0) || (cmpfilenameext(file, ".mts") == 0) || id == NULL)
    23202320                        {
    23212321                                char* poster = NULL, *plot = NULL, *timestamp = NULL, *cmd = NULL, *tmpstr1 = NULL;
     
    25062506                                free(plot); plot = NULL;
    25072507                        }
    2508                
     2508       
    25092509                        free(logdir); logdir = NULL;
    25102510                        free(logfile); logfile = NULL;
Note: See TracChangeset for help on using the changeset viewer.