id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 7659,Determine audio properties from recorded file instead of schedule data,doug@…,danielk,"Hi All, I found that the audio properties (e.g. Dolby, Stereo, etc) in my schedule data were often different from the actual content of my recorded files. This is a patch to update the audio properties after a recording finishes with the values that are in the file as opposed to the ones passed from the listings source. The patch includes a new class called AudioPropsGenerator which works similarly to PreviewGenerator. It takes a ProgramInfo and will then determine the AudioProperties in the current thread or a new thread. I've also updated tv_rec.cpp to call this Generator after a recording ends. Finally, each decoder (avformatdecoder, nuppeldecoder, etc) is responsible for doing the actual work of determining the audio properties. The generator then takes the new value and updates the db. There are a few open issues (mainly around my ignorance):[[BR]] 1. I don't know too much about audio processing, so I guessed that the speaker layout is a good proxy for determining the audio props. This seems to prove true for my test cases, but I don't know if this applies to everyone. [[BR]] 2. I don't know too much about the hard hearing properties so I guessed on that too. [[BR]] 3. I don't know what the visual impair property is so I ignored it [[BR]] 4. I don't have any recorders that use the nuppledecoder so I wrote the code, but I couldn't test it. [[BR]] Thanks! [[BR]] Doug",enhancement,closed,minor,0.25,MythTV - Recording,Master Head,medium,Won't Fix,,,0