libtvdb

A small library to fetch TV series information from the thetvdb.com web service
Download

libtvdb Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL v3
  • Publisher Name:
  • Sebastian Trueg
  • Publisher web site:
  • http://nepomuk.kde.org

libtvdb Tags


libtvdb Description

A small library to fetch TV series information from the thetvdb.com web service libtvdb is a small Qt-based C++ library which allows to fetch TV series information from thetvdb.com.Usage is straight-forward. Create an instance of Tvdb::Client, connect to the necessary signals, and use Tvdb::Client::getSeriesByName() or Tvdb::Client::getSeriesById() methods to fetch the information: Tvdb::Client* client = new Tvdb::Client(); connect(client, SIGNAL(finished(Tvdb::Series)), SLOT(myFinishedSlot(Tvdb::Series))); connect(client, SIGNAL(multipleResultsFound(QList< Tvdb::Series >)), SLOT(myMultipleResultsSlot(QList< Tvdb::Series >))); client->getSeriesByName( "Lost" );Then in the slot connected to the Tvdb::Client::multipleResultsFound() signal decide which series you meant (typically by asking the user) and then call Tvdb::Client::getSeriesById() to fetch all details on the series: void myMultipleResultsSlot(const QList< Tvdb::Client::Series >& series) { int i = askUserWhichSeriesToUse(series); client->getSeriesById(series.id()); }


libtvdb Related Software