我是否有现成的免费API /服务来获取视频元数据?

时间:2017-05-04 12:51:44

标签: php jquery api web soap

所以我有一个内部网主页服务器(使用XAMPP在我的PC上托管。它的一个组件是一个媒体库/服务器,它将包含我在本地存储的所有视频,特别是系列和电影。媒体通过基于网络的界面/通过互联网浏览器。我希望能够获得有关系列或电影的元数据,并使用它来充实我的媒体服务器。所以我想要类型,发布日期,语言等信息。获取元数据将基于每个新文件。新视频文件>获取元数据>存储>转换>利用

1 个答案:

答案 0 :(得分:0)

我找到了我要找的东西。 Omdbapi.com。用法:将所有请求发送到http://www.omdbapi.com/?在计算机端附加参数。 E.g http://www.omdbapi.com/?t=Deadpool&r=xml将以xml格式返回有关电影死池的元数据。这是回复:

<?xml version="1.0" encoding="UTF-8"?><root response="True"><movie title="Deadpool" year="2016" rated="R" released="12 Feb 2016" runtime="108 min" genre="Action, Adventure, Comedy" director="Tim Miller" writer="Rhett Reese, Paul Wernick" actors="Ryan Reynolds, Karan Soni, Ed Skrein, Michael Benyaer" plot="A fast-talking mercenary with a morbid sense of humor is subjected to a rogue experiment that leaves him with accelerated healing powers and a quest for revenge." language="English" country="USA" awards="Nominated for 2 Golden Globes. Another 19 wins & 57 nominations." poster="https://images-na.ssl-images-amazon.com/images/M/MV5BMjQyODg5Njc4N15BMl5BanBnXkFtZTgwMzExMjE3NzE@._V1_SX300.jpg" metascore="65" imdbRating="8.0" imdbVotes="612,933" imdbID="tt1431045" type="movie"/></root>