Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9308 closed Bug Report (Fixed)

Specific Video Metadata is removed upon scanning for changes

Reported by: yianniv Owned by: robertm
Priority: minor Milestone: unknown
Component: Plugin - MythVideo Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Raymond Wagner)

My setup again: 2 Backends, both opensuse 11.2 x86_64, storage groups. The MB has some videos locally but accesses most through nfs mounts from the SB. The SB offers some other video folders locally.

The last commit when the problem wasn't occurring was 27282. Then I updated to 27315 and the problem manifested: If I scan for videos from the SB, the videos that are on the local filesystem of the MB get removed from the database. The nfs mounted ones remain (thankfully!!!)

To add them back, I have to scan for changes from the MB. This doesn't affect the SB video folders.

I can reproduce it every time!

MB:

MythTV Version   : 27385M
MythTV Branch    : trunk
Network Protocol : 64
Library API      : 0.25.20101127-1
QT Version       : 4.6.3

SB:

MythTV Version   : 27385M
MythTV Branch    : trunk
Network Protocol : 64
Library API      : 0.25.20101127-1
QT Version       : 4.7.0

Attachments (1)

scanfix.diff (486 bytes) - added by robertm 9 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by robertm

Status: newassigned

Issue already reported, you can try this patch.

Changed 9 years ago by robertm

Attachment: scanfix.diff added

comment:2 Changed 9 years ago by robertm

Status: assignedinfoneeded

comment:3 Changed 9 years ago by yianniv

Thank you, Robert.

I applied the patch first on the SB, scanned with no problem, then on the MB, and scanned again with no problem.

Thanks for the quick reply!

comment:4 Changed 9 years ago by robertm

Resolution: Fixed
Status: infoneededclosed

This has been fixed for a while, but in the absence of post-commit hooks, it sat open. Are we ever getting the post commit hooks back?

comment:5 Changed 9 years ago by Raymond Wagner

Description: modified (diff)
Note: See TracTickets for help on using tickets.