Foro de elhacker.net

Foros Generales => Foro Libre => Mensaje iniciado por: bacanzito en 10 Septiembre 2017, 05:48 am



Título: Ayuda con PlayPhrase (buscador de contextos en ingles) en windows
Publicado por: bacanzito en 10 Septiembre 2017, 05:48 am
no reconoce mis peliculas  en formato  mkv    alguien que domine  python   no se que hago mal     :(

 solome detecto el srt  

Código
  1. Phrase: _init_
  2. C:\Users\user\Videos\Rocky.srt
  3. Phrase: Rocky
  4. 'Rocky' is not found in 'C:\Users\user\Videos'
  5. Phrase: phrase
  6. 'phrase' is not found in 'C:\Users\user\Videos'
  7. Phrase: Apolo
  8. 'Apolo' is not found in 'C:\Users\user\Videos'

pero no los videos eso  deberia ser asi todo en automatico :xD

ciMEY3moATU


https://github.com/kelciour/playphrase

el videogrep.bat lo tengo configurado asi

Código:
@echo off
setlocal EnableDelayedExpansion

set media_dir="C:\Users\user\Videos"

for /L %%n in (1,0,1) do (
    set /p phrase="Phrase: "
    
    if /I "!phrase!"=="q" call :stop
    if /I "!phrase!"=="x" call :stop
    if /I "!phrase!"=="quit" call :stop
    if /I "!phrase!"=="exit" call :stop

    playphrase.exe --input %media_dir% "!phrase!"
)

:stop
call :__stop 2>nul

:__stop
() creates a syntax error, quits the batch



· No hagas doble post, usa el botòn modificar
>aquí las reglas del foro (http://foro.elhacker.net/reglas.htm)
-Engel Lex