Opened 10 years ago
Closed 10 years ago
#12240 closed Bug Report - General (Invalid)
Mythvidexport.py forces local Fanart, Coverart storage groups on slave backends
Reported by: | Owned by: | sphery | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | Contributed Scripts & Apps | Version: | 0.27-fixes |
Severity: | medium | Keywords: | Storage Groups |
Cc: | Ticket locked: | no |
Description
Mythvidexport.py fails with downloadfile_directory_not_found when there is no directory matching the storage group in the database for Fanart and Coverart on the slave backend hosting the video to be exported.
The effect is if the video targeted for export resides on a slave backend, the export job will fail.
A debug log on the slave shows the sql search in "FindEmptyStorageGroup?" is limited to the slave backend hostname.
A minimal fix is to document that a local storage directory on each slave backend for fanart and coverart must exist, or this script will fail. A real fix is to create a debug message that explains what to do, as those without programming skills have no hope of figuring out what to do in response to such an obscure failure message.
Notice also that this script is included by default in the job list for the backend, but the script itself does not appear to be installed in the directory named there /usr/share/doc/mythtv-backend/contrib/userjobs/...
Mythvidexport is an external script, not managed by this project. If you have it as a job list on your backend, it's because you configured such. Note that the job list is global, and not configured per-backend.