It uses the 2.4 ghz range which is used by several different types of wifi as well as 5g signals - it's a very popular (aka congested) frequency range. The GLX is a digital system and is a very different beast. The range is about 90 metres, direct line of sight. For BLX you have a good range of mic capsules, a decent battery life from a couple of AA batteries and a reasonable mic balance. The choice of which you go for BLX/GLX/QLX depends on the application. Shure produce several versions for different territories. Transmission is analog, within frequency ranges that don't require a license. warn( "Keyboard interrupt: Exiting pikaraoke.The systems are all "turnkey" - you buy a pack that contains the mic, the transmitter and the base station. info( "Downloading video: " + video_url)ĭl_path = self. get_search_results( songTitle + " karaoke")ĭef download_video( self, video_url, enqueue = False, user = "Pikaraoke"): debug( "Error while executing search: " + str( e))ĭef get_karaoke_search_results( self, songTitle): If ( not "title" in j) or ( not "url" in j): debug( "Youtube-dl search command: " + " ". Yt_search = 'ytsearch%d:"%s"' % ( num_results, unidecode( textToSearch))Ĭmd = info( "Searching YouTube for: " + textToSearch) No song in queue")ĭef get_search_results( self, textToSearch): debug( "Could not render next song to splash. Next_song = next_song + "."įont_next_song = pygame. debug( "Rendering next song to splash screen") # and doesn't have an IP yet (occurs when launched from /etc/rc.local) # Generate connection URL and QR code, retry in case pi is still starting up default_logo_path if logo_path = None else logo_pathįormat = " %(levelname)s: %(message)s", hide_raspiwifi_instructions = hide_raspiwifi_instructions # override with supplied constructor args if provided Youtubedl_path = "/usr/local/bin/yt-dlp", join( base_path, "logo.png")ĭownload_path = "/usr/lib/pikaraoke/songs", exists( raspi_wifi_conf_file)ĭefault_logo_path = os. Raspi_wifi_conf_file = "/etc/raspiwifi/nf" get_platform import get_platformįrom signal import SIGALRM, alarm, signal Karaoke Class _init_ Function get_ip Function get_raspi_wifi_conf_vals Function get_youtubedl_version Function upgrade_youtubedl Function is_network_connected Function generate_qr_code Function get_default_display_mode Function initialize_screen Function Alarm Class alarm_handler Function toggle_full_screen Function render_splash_screen Function render_next_song_to_splash_screen Function get_search_results Function get_karaoke_search_results Function download_video Function get_available_songs Function delete Function rename Function filename_from_path Function find_song_by_youtube_id Function get_youtube_id_from_url Function kill_player Function play_file Function transpose_current Function is_file_playing Function is_song_in_queue Function enqueue Function queue_add_random Function queue_clear Function queue_edit Function skip Function pause Function vol_up Function vol_down Function restart Function stop Function handle_run_loop Function pygame_reset_screen Function reset_now_playing Function run Functionįrom subprocess import CalledProcessError, check_outputįrom lib.
0 Comments
Leave a Reply. |