[mythtv-commits] Ticket #10108: Mythbackend Media scanner renames all files on every scan
MythTV
noreply at mythtv.org
Wed Oct 19 00:22:28 UTC 2011
#10108: Mythbackend Media scanner renames all files on every scan
-------------------------------------------+------------------------
Reporter: ryan@… | Owner: robertm
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 0.25
Component: Plugin - MythVideo | Version: Trunk Head
Severity: medium | Keywords: scan video
Ticket locked: 0 |
-------------------------------------------+------------------------
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
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10108>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list