The Movie Database サポート

Hello,

I think the mentioned field will come handy to check periodically if there is any new changes. Presently it only provides last 24 hours info or data of 14 days window. In some situation which is not sufficient. A summary of changes within a longer window will also be helpful I guess for some situations.

  • Sourav

4 replies (on page 1 of 1)

Jump to last post

Hi Sourav,

When you say "last updated" are you meaning the time when the last change on the media item happened? If so, another user asked about this recently here. If not, could you explain a little better for me what you're looking for?

@travisbell said: When you say "last updated" are you meaning the time when the last change on the media item happened? if so, another user asked about this recently here. If not, could you explain a little better for me what you're looking for?

I was trying to explain a bit different situation here. Say I have an old record(Say 3rd April, 2017) of "https://www.themoviedb.org/movie/10610-the-medallion/changes" movie. Now I want to know if this record is updated since 3rd April, 2017 or not. If yes then depending on change list I want to choose between incremental update or full rebuild of cached data (Primarily Core info, Credits, Images). Or if there is no change, then I can just skip the whole process. Presently to get this yes/no information I have to hit web-service multiple times. Please go through the following example for more clear picture.

Timeline of changes for this specific movie example as of today is

  • April 2, 2017 [Latest]
  • March 1, 2017
  • December 29, 2016
  • October 20, 2016

As per present design best approach is to scan for changes from 3rd April to today's date.

Is there any better way? or do you recommend any other design approach to handle this situation more efficiently?

Note: I want to check it adhoc basis, not with a periodic scheduler.

~Sourav

Is there any better way? Note: I want to check it adhoc basis, not with a periodic scheduler.

Given that design, there isn't really a better way right now. The system is designed to be hit in < 14 day windows as that is the max timespan you can get in a single query (14 days).

To meet your design requirement I would implement something like this:

/updated_since?language=en-US&date=2017-03-01

This would return true or false. Then with that information you could make the decision to walk the change log. It's not a bad idea, and it would be a simple one to add. I could even make it support a key param so you could do this:

/updated_since?language=en-US&date=2017-03-01&change_keys=cast,images

That covers everything you're asking about, ya?

That covers everything you're asking about, ya?

Yes, it will do the job. Thanks a lot :-)

映画やテレビ番組が見つかりませんか?ログインして作成してください。

全般

s 検索バーに移動する
p プロファイルメニューを開く
esc 開いているウィンドウを閉じる
? キーボードショートカットウィンドウを開く

メディアのページ

b 戻る(または該当する場合は親に)
e 編集ページに行く

テレビ番組のシーズンのページ

(右矢印)次のシーズンに行く
(左矢印)前のシーズンに戻る

テレビ番組のエピソードのページ

(右矢印)次のエピソードに進む
(左矢印)前のエピソードに戻る

全ての画像のページ

a 画像追加ウィンドウを開く

全ての編集ページ

t 翻訳選択を開く
ctrl+ s フォームを送信する

ディスカッションのページ

n 新しいディスカッションを作成する
w 監視ステータスを切り替える
p 公開/非公開を切り替える
c 閉じる/開くを切り替える
a アクティビティを開く
r ディスカッションに返信
l 最後の返事に行く
ctrl+ enter メッセージを送信する
(右矢印)次のページ
(左矢印)前のページ

設定

このアイテムを評価したり、リストに追加したりしたいですか?

ログイン

メンバーではありませんか?

登録してコミュニティに参加