2010-01-31, 20:22
tim- Wrote:I am trying to gather the info for MC2XML... having some weird issuesIt would appear that it won't give you the file name without database processing. Reenable that to get the file name. Change GuideDataType=SchedulesDirect, then rerun the mythicalLibrarian job Sorry, I didn't realize it would do that without proper GuideDataType, I've never run with anything except SchedulesDirect data.
http://pastebin.com/mdf1de5d
it never even lists the filename
barney_1 Wrote:Any idea how I can have mythicalLibrarian delete the recording from the MythTV database after it moves the file?That would be outside the scope of mythicalLibrarian's field, which is to preserve the file handling. You may want to check on the mythtv forums for that. It sounds like you need a separate user job. You can disable SYMLINK mode and that will remove the ability to control the file from mythtv.
I'd like to go completely away from using the Myth frontend and manually delete files from XBMC after I watch them.
Actually, on seccond thought you could do something like this with a one-liner as a user job to be run after mythicalLibrarian.
Code:
test -L "%DIR%/%FILE%" && mysql -uUSERNAME -pPASSWORD "use 'mythconverg' ; DELETE * from recorded where basename like %FILE%; "; *DO THE SAME FOR EACH OF THE DATABASES*; test -L "%DIR%/%FILE%" && rm "%DIR%/%FILE%"