Open gapan opened 11 years ago
Hi @gapan ,
These changes look great!
I've updated yt to include an alternative entry point for the Pi, to simplify it for people who are less comfortable with command line options.
I was wondering what your thoughts where on having an alternative interface for the Pi and how that fits with specifying whether to use audio or hdmi output? Would it be possible to detect whether to use local audio or hdmi?
Cheers, Calum
I had this idea too... because I wanted to play videos with audio through the analog output. Changing the source code was easy... but I think it's better to pull gapan's changes in order to make the project more flexible and user-friendly.
You cannot detect whether to use local audio or hdmi. There is just no way to do it. That's why having an option for it makes sense.
Hi,
I have added the ability to read the default player from a ~/.config/yt settings file, so the user doesn't have to specify omxplayer at the command line all the time.
I also added a "--player omxplayerlocal" option, to be able to send the audio output to the local (analog) output of the raspberry pi.
Please review and pull if you like.
Regards,
George