mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 19:28:55 +00:00
Move files around.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
//This script will update all records in the movieinfo table
|
||||
|
||||
require_once dirname(__FILE__) . '/../../www/config.php';
|
||||
|
||||
use newznab\db\DB;
|
||||
|
||||
$movie = new Movie(true);
|
||||
|
||||
$db = new DB();
|
||||
|
||||
$movies = $db->query("SELECT imdbID from movieinfo where cover = 0");
|
||||
|
||||
foreach ($movies as $mov) {
|
||||
$mov = $movie->updateMovieInfo($mov['imdbID']);
|
||||
sleep(1);
|
||||
}
|
||||
Reference in New Issue
Block a user