Opened 8 years ago

Closed 8 years ago

#10108 closed Bug Report - General (Invalid)

Mythbackend Media scanner renames all files on every scan

Reported by: ryan@… Owned by: robertm
Priority: minor Milestone: 0.25
Component: Plugin - MythVideo Version: Master Head
Severity: medium Keywords: scan video
Cc: Ticket locked: no

Description

It appears, whenever mythbackend receives a SCAN_VIDEOS command, during scanning, it goes through and renames all files in the database to the full path, not relative to the storage group:

2011-10-19 13:17:42.321629 E  Hash 614a1f79735dcca3 already exists in the database, updating record 1478 with new filename /var/lib/mythtv/videos/TV Shows/MythBusters/Season 2/MythBusters - S02E03 - Scuba Diver, Car Capers.avi
2011-10-19 13:17:42.363171 E  Hash 5aab6febdf596b9 already exists in the database, updating record 1479 with new filename /var/lib/mythtv/videos/TV Shows/MythBusters/Season 2/MythBusters - S02E04 - Ancient Death Ray.avi
2011-10-19 13:17:42.419649 E  Hash af665f8b715e68d already exists in the database, updating record 1480 with new filename /var/lib/mythtv/videos/TV Shows/MythBusters/Season 2/MythBusters - S02E05 - Elevator of Death, Levitation Machine.avi
2011-10-19 13:17:42.452162 E  Hash 65fc6985de96f857 already exists in the database, updating record 1481 with new filename /var/lib/mythtv/videos/TV Shows/MythBusters/Season 2/MythBusters - S02E06 - Beat the Radar Detector.avi

After it has been through and completed. Running SCAN_VIDEOS again causes it to rename again, this time relative to Storage Groups

2011-10-19 13:22:29.321629 E  Hash 614a1f79735dcca3 already exists in the database, updating record 1478 with new filename TV Shows/MythBusters/Season 2/MythBusters - S02E03 - Scuba Diver, Car Capers.avi
2011-10-19 13:22:29.363183 E  Hash 5aab6febdf596b9 already exists in the database, updating record 1479 with new filename TV Shows/MythBusters/Season 2/MythBusters - S02E04 - Ancient Death Ray.avi
2011-10-19 13:22:29.419678 E  Hash af665f8b715e68d already exists in the database, updating record 1480 with new filename TV Shows/MythBusters/Season 2/MythBusters - S02E05 - Elevator of Death, Levitation Machine.avi
2011-10-19 13:22:29.452252 E  Hash 65fc6985de96f857 already exists in the database, updating record 1481 with new filename TV Shows/MythBusters/Season 2/MythBusters - S02E06 - Beat the Radar Detector.avi

Change History (1)

comment:1 Changed 8 years ago by robertm

Resolution: Invalid
Status: newclosed

You have frontend video paths and video storage groups both configured, both pointing at the same paths. This is an invalid configuration for exactly this reason.

Note: See TracTickets for help on using tickets.