Files
iptv/run_digi_manual.bat
2025-10-10 20:23:35 +03:00

74 lines
1.5 KiB
Batchfile

@echo off
title DIGI Online - Manual Token Extractor
echo ========================================
echo DIGI ONLINE - MANUAL TOKEN EXTRACTOR
echo ========================================
echo.
REM Verifica daca Python este instalat
python --version >nul 2>&1
if errorlevel 1 (
echo Python nu este instalat!
echo.
echo Descarca Python de aici:
echo https://www.python.org/downloads/
echo.
pause
exit /b 1
)
echo Python gasit!
echo.
REM Verifica daca libraria requests este instalata
python -c "import requests" >nul 2>&1
if errorlevel 1 (
echo Libraria 'requests' nu este instalata!
echo Instalare automata...
echo.
pip install requests
if errorlevel 1 (
echo Eroare la instalare!
pause
exit /b 1
)
echo Libraria 'requests' instalata cu succes!
echo.
)
echo Rulare script...
echo.
echo ========================================
echo.
REM Ruleaza scriptul Python
python digi_manual_token.py
echo.
echo ========================================
echo.
if exist digi_authenticated.m3u (
echo Playlist generat cu succes!
echo Fisier: digi_authenticated.m3u
echo.
echo Foloseste acest fisier in:
echo - Dispatcharr
echo - Jellyfin
echo - VLC Media Player
echo - Kodi
echo.
) else (
echo Playlist-ul nu a fost generat!
echo Verifica erorile de mai sus.
echo.
)
echo TIP: Token-ul expira dupa cateva ore.
echo Ruleaza din nou acest script cu un token nou.
echo.
echo ========================================
pause