+
    kHàjÞ  ã                  óD   € R t ^ RIHt ^ RIt^ RIt^ RIHt R tR R ltR# )zòffmpeg discovery for Discord voice: ``tools.transcription_audio`` owns the shared lookup
(PATH + Homebrew/local prefixes); this layers an explicit ``FFMPEG_PATH`` override and a
Windows winget fallback (installs that never touch PATH) on top.)ÚannotationsN)ÚPathc                 ól   €  ^ RI Hp  V ! 4       #   \         d    \        P                  ! R4      u # i ; i)zBDelegate to the repo-wide ffmpeg discovery helper when importable.©Ú_find_ffmpeg_binaryÚffmpeg)Útools.transcription_audior   ÚImportErrorÚshutilÚwhichr   s    ÚK/home/ubuntu/.hermes/hermes-agent/plugins/platforms/discord/ffmpeg_utils.pyÚ_shared_find_ffmpegr      s5   € ð&ÝAñ Ó Ð øô ô &Ü�|Š|˜HÓ%Ò%ð&ús   ‚ �!3²3c               ó   € V ^8„  d   QhRR/# )é   ÚreturnÚstr© )Úformats   "r   Ú__annotate__r      s   € ÷ ñ  3ñ ó    c                 óò  € \         P                  ! R4      ;'       g    RP                  4       p V '       d=   \         P                  P	                  \         P                  P                  V 4      4      # \        4       ;p'       d   V# \         P                  ! R4      ;p'       dS   \        \        V4      R,          R,          R,          P                  R4      4      pV'       d   \        VR	,          4      # R# )
zBReturn an ffmpeg command that also covers common Windows installs.ÚFFMPEG_PATHÚ ÚLOCALAPPDATAÚ	MicrosoftÚWinGetÚPackageszGyan.FFmpeg_*/*/bin/ffmpeg.exer   éÿÿÿÿ)ÚosÚgetenvÚstripÚpathÚ
expandvarsÚ
expanduserr   Úsortedr   Úglobr   )ÚexplicitÚ
discoveredÚlocal_appdataÚ
candidatess       r   Úresolve_ffmpeg_executabler*      s¯   € ä—	’	˜-Ó(×.Ð.¨B×5Ñ5Ó7€HßÜ�w‰w×!Ñ!¤"§'¡'×"4Ñ"4°XÓ">Ó?Ð?Ü(Ó*Ð*€zÖ*ØÐÜŸ	š	 .Ó1Ð1€}Ö1ÜœT -Ó0°;Õ>ÀÕIÈJÕV×\Ñ\Ð]}Ó~Óˆ
ßÜ�z "•~Ó&Ð&Ùr   )	Ú__doc__Ú
__future__r   r   r
   Úpathlibr   r   r*   r   r   r   Ú<module>r.      s#   ðñDõ #ã 	Û Ý ò!÷r   