[mythtv-commits] Ticket #5442: MythWeb "Scan Collection" does not set inetref
MythTV
mythtv at cvs.mythtv.org
Mon Jun 16 19:31:51 UTC 2008
#5442: MythWeb "Scan Collection" does not set inetref
---------------------------------------+------------------------------------
Reporter: mike at checkthisshitout.com | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythweb | Version: 0.21
Severity: low | Mlocked: 0
---------------------------------------+------------------------------------
Hi,
I noticed that when scanning for new or changed files via the Video Manger
new files found are given a default inetref value of '00000000'. Using
the "Scan Collection" feature of MythWeb leaves this and other values in
the videometadata table blank.
Performing a select on this table for an inetref='00000000' should return
recently added and any entries without metadata. However files added via
MythWeb will not be returned. This has the potential to break some custom
scripts that may be in use.
Other fields that differ from what MythVideo would have populated by
default include: director, plot, rating, coverfile
The sql involved appears in modules/video/scan.php at line 63.
$db->query('INSERT INTO videometadata ( title, filename, showlevel,
browse )
VALUES ( ?, ?, 1, ?
)',
strlen($title) > 0 ? $title : $filename,
$file,
setting('VideoNewBrowsable', hostname)
);
The only version info I could find for my current install of MythWeb is as
follows:
mythweb.php: * @version $Revision: 15839 $
mythweb.pl:# @version $Revision: 16105 $
I am running Myth version 0.21.20080304-1 16468
Thanks,
Mike
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5442>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list