select * from mediamark where hash like "error%";
my $COUNT = 0;
my $ERR_RECORDS = 0;
my $IMPORTED = 0;
$BROWSER eq "true" and print "importing hashes, please wait...";
while (<FILE>) {
chomp($_);
# print "$_\n";
my @HASH = split(/;/, $_);
my $HASH = $HASH[0];
if (index(lc($HASH[0]),"error") >= 0) {
if ($DEBUG eq "true") {
print "Error found in log file. Skipping record # $COUNT ...\n";
}
$COUNT++;
$ERR_RECORDS++;
next;
}
if ($DEBUG eq "true") {
print "\nhash: $HASH";
}
my $CMD = "insert into mediamark (hash, time) values ('$HASH', strftime('%s','now'))";
if ($DRY eq "true") {
print "\n sql: $CMD\n";
} else {
&sql("$CMD");
}
$COUNT++;
if ($BROWSER ne "true") {
$IMPORTED = $COUNT - $ERR_RECORDS;
printf("\rinserted %d hashes out of a total %d records\t", $IMPORTED, $COUNT);
}
}
if ($BROWSER eq "true") {
printf("\ninserted %d hashes\n", $IMPORTED);
} else {
if ($COUNT > 0) { print "[ ok ]"; }
print "\n";
}
close(FILE);
if ($HASH =~ /^\w{16}$/) {
}
gpica wrote:hello
didn't find a place where to post this issue about MM internal: hope here is ok
my MM is enabled and seems it's working: in .log file i can see listed the "checked as seen" movies.
the only problem is that i can't see the checkmark in the sheet (list or wall, either)
i have to say that i modified the xml of those sheets, there is something i could check on them? any tag that reports the position of the checkmark?
thanks in advance
g.
Users browsing this forum: No registered users and 1 guest