[mythtv-users] next step the player, any suggestions?

Hika van den Hoven hikavdh at gmail.com
Tue Oct 25 20:42:25 UTC 2022


Hoi Hika,

Tuesday, October 25, 2022, 5:51:24 PM, you wrote:


> OK, I have it working, at least on my workstation. I still have to
> emerge ffmpeg on the rPi.
> First tuning:
>   ip-address: You best use the ip-address as then you can reach the
>               hdhr on a different subnet
>   id:         The tuner number on your hdhr
>   frequency:  The frequency of the multiplex
>   channel-id: The id of the channel on the multiplex

> hdhomerun_config <ip-address> set /tuner<id>/channel <frequency>
> hdhomerun_config <ip-address> set /tuner<id>/program <channel-id>

> And then hooking onto the stream:

> hdhomerun_config <ip-address> save /tuner<id> - | ffmpeg -i - -map 0:a -f mp3 - | mpg123 -

> I found out that using a hyphen in combination with pipes is almost
> universal. Only aplay does not recognize it.

I now implemented these changes in my python shell for
hdhomerun_config. See at:
https://github.com/hikavdh/hdhr4_scan

I mostly build it for channel scanning to see if I had to update
mythtv. You can compare a fresh scan to an earlier stored one. I might
add code to differentiate between radio, SD and HD channels, but that
would mean opening every channel and would make the current quit long
scan time (15 minutes or more) even longer. However I find the
scanning capabilities of hdhomerun_config significantly beter then
those from mythtv. 

I also will in the future add more playback control functions.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list