Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#5442 closed defect (wontfix)

MythWeb "Scan Collection" does not set inetref

Reported by: mike@… Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: mythweb Version: 0.21
Severity: low Keywords: scan collection
Cc: Ticket locked: no



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 $ @version $Revision: 16105 $

I am running Myth version 0.21.20080304-1 16468

Thanks, Mike

Change History (3)

comment:1 Changed 13 years ago by Rob Smith

Owner: changed from xris to Rob Smith
Status: newaccepted

use the svn info command to get your version information

comment:2 Changed 13 years ago by Rob Smith

Resolution: wontfix
Status: acceptedclosed

I agree with Michael Dean, if it should be always auto-filled to that value, it should be the column defaults. What happens to the scripts if 000000 is a valid value for a site? It's not just used for imdb numbers, it's also used for other sites as well.

I'm not going to change it unless the mythtv video plugin devs say otherwise.

comment:3 Changed 11 years ago by xris

Fixed in [23864] and probably also by changes from #8243

Note: See TracTickets for help on using tickets.