Ignore:
Timestamp:
02/19/13 15:55:02 (11 years ago)
Author:
obi
Message:

[titan] fix tmdb add error msg for manuel searching without imdbid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tmdb/tmdb.h

    r20034 r20120  
    944944                        debug(133, "type: 2");
    945945                        debug(133, "node->imdbid: %s",node->imdbid);
    946                         addconfigtmp("mediadbscantimeout", "0");
    947                         mediadbfindfilecb(path, file, 0, node->imdbid, 2);
    948                         delconfigtmp("mediadbscantimeout");                     
     946                        if(ostrncmp("tt", node->imdbid, 2))
     947                                textbox(_("Message"), _("Error, found result without imdbid we can't this save in MediaDB"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 10, 0);
     948                        else
     949                        {
     950                                addconfigtmp("mediadbscantimeout", "0");
     951                                mediadbfindfilecb(path, file, 0, node->imdbid, 2);
     952                                delconfigtmp("mediadbscantimeout");                     
     953                        }
    949954                        clearscreen(load);
    950955                        clearscreen(blackscreen);
Note: See TracChangeset for help on using the changeset viewer.