Opened 13 years ago

Closed 13 years ago

#9265 closed Developer Task (Fixed)

Move the video scanner into the backend

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

Description

This ticket is to track the progress of moving the video scanner into the backend.

Initial patch does this with a new mythproto command, SCAN_VIDEOS. Currently, only the scanning and insertion into the database done, I'll want to finish the work of also having metadata grabbing done there (possibly with a discrete proto command as well?) before committing.

As it stands, the mythbackend --scanvideos command isn't working quite right yet, but firing off a SCAN_VIDEOS message to the backend with the bindings seems to work nicely.

When all is said and done, we can probably use this to replace the uPnP media scanner.

Attachments (2)

backendvideoscan.diff (18.1 KB) - added by robertm 13 years ago.
Backend video scanner, version 1
backendvideoscan.2.diff (18.2 KB) - added by robertm 13 years ago.
Backend video scanner, version 2

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by robertm

Attachment: backendvideoscan.diff added

Backend video scanner, version 1

Changed 13 years ago by robertm

Attachment: backendvideoscan.2.diff added

Backend video scanner, version 2

comment:1 Changed 13 years ago by robertm

Version 2 fixes mythbackend --scanvideos to work properly and some formatting.

comment:2 Changed 13 years ago by Kenni Lund [kenni a kelu dot dk]

Status: newassigned

comment:3 Changed 13 years ago by stuartm

Version: UnspecifiedTrunk Head

comment:4 Changed 13 years ago by robertm

Resolution: Fixed
Status: assignedclosed

I'm not going to track the rest of this with the ticket, the backend can now successfully video scan.

Note: See TracTickets for help on using tickets.