[mythtv-users] External Recorder won't change channels

Marc Rawji mrawji at gmail.com
Tue Aug 2 05:25:40 UTC 2016


Hello all,

I am trying to write an "external recorder". I think I have the code
working, for at least one channel.

I can start on one channel, but I don't seem to be able to change channels:
2016-08-01 21:48:24.370456 E  SH(/home/mrawji/recorder/record.sh):
Programmer Error, attempted to add a listener which is already being
listened to.

Mythbackend logs:
<PLAY CHANNEL 2>
2016-08-01 22:13:05.969135 N  ApplyRecordRecGroupChange: LiveTV to LiveTV
(2)
2016-08-01 22:13:05.969857 I  TVRec[1]: TuningNewRecorder - CreateRecorder()
2016-08-01 22:13:05.971848 E  RecBase[1](/home/mrawji/recorder/record.sh):
SetStrOption(...recordingtype): Option not in profile.
2016-08-01 22:13:05.971860 E  RecBase[1](/home/mrawji/recorder/record.sh):
SetIntOption(...recordmpts): Option not in profile.

<HERE, EVERYTHING IS PLAYING FINE IN MYTHFRONTEND>

<CHANGE TO CHANNEL 1>
2016-08-01 22:13:19.128611 I  TVRec[1]: TuningFrequency
2016-08-01 22:13:19.150666 N  AutoExpire: CalcParams(): Max required Free
Space: 2.0 GB w/freq: 15 min
2016-08-01 22:13:19.152354 W  LoadFromProgram(): SQL contains LIMIT clause,
caller should be updated to use limit parameter instead
2016-08-01 22:13:19.185962 N  ApplyRecordRecGroupChange: LiveTV to LiveTV
(2)
2016-08-01 22:13:19.217122 E  SH(/home/mrawji/recorder/record.sh):
Programmer Error, attempted to add a listener which is already being
listened to.
2016-08-01 22:13:23.191216 N  AutoExpire: CalcParams(): Max required Free
Space: 2.0 GB w/freq: 15 min

For every channel, I recreate a new MPEG-TS using ffmpeg. I am using the
same stream_id for all the channels, since each TS only has a single
program in it. Would that be causing the error?

~$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.28-46-ge5ce273
MythTV Branch : fixes/0.28
Network Protocol : 88
Library API : 0.28.20160309-1
QT Version : 5.5.1
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse
using_pulseoutput using_backend using_bindings_perl using_bindings_python
using_bindings_php using_crystalhd using_dvb using_firewire using_frontend
using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv
using_joystick_menu using_libcec using_libcrypto using_libdns_sd
using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl
using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript
using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr
using_xv using_profiletype using_bindings_perl using_bindings_python
using_bindings_php using_freetype2 using_mythtranscode using_opengl
using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass
using_libxml2


Thanks!
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160801/172ff93a/attachment.html>


More information about the mythtv-users mailing list