-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Final retouches to have standalone distributable releases, ATM for
Windows. Catchup, live channels and cloud recordings are tested and work beautifully on Windows 11 x86_64, which, I must say, is the coolest Windows ever :) Signed-off-by: Javier Marcet <[email protected]>
- Loading branch information
Showing
7 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# $env:HOME = "C:\\Users\\usuario" # ruta donde queremos que se generen las listas m3u, la guía y el directorio oculto .xmltv | ||
# $env:LAN_IP = "192.168.1.15" # dirección IP, de las disponibles en el sistema, en la que queremos que el proxy funcione | ||
# $env:EPG_THREADS = "4" # número de hilos para descargar la epg | ||
# $env:MP4_OUTPUT = "1" # hacer grabaciones a fichero .mp4 y .sub por separado | ||
# $env:RECORDING_THREADS = "4" # número de grabaciones simultáneas | ||
# $env:RECORDINGS = "C:\\Users\\usuario\\Videos" # directorio para grabaciones, si se establece se activará la comprobación periódica de timers.conf | ||
# $env:SANIC_PORT = "8888" # puerto en el que el proxy será accesible | ||
# $env:VERBOSE_LOGS = "0" # no mostrar la url a la que se accede en los log | ||
|
||
$env:HOME = $env:HOMEPATH | ||
|
||
Start-Process .\movistar_epg.exe -NoNewWindow -RedirectStandardError $env:TMP\movistar_epg_err.log -RedirectStandardOutput $env:TMP\movistar_epg_out.log | ||
sleep 5 | ||
Start-Process .\movistar_u7d.exe -NoNewWindow -RedirectStandardError $env:TMP\movistar_u7d_err.log -RedirectStandardOutput $env:TMP\movistar_u7d_out.log | ||
|
||
tail -f $env:TMP\movistar_epg_err.log $env:TMP\movistar_epg_out.log $env:TMP\movistar_u7d_err.log $env:TMP\movistar_u7d_out.log $env:HOME\.xmltv\tv_grab_es_movistartv.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ sanic | |
git+https://github.com/jmarcet/sanic-prometheus | ||
tomli | ||
ujson | ||
cx_Freeze |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from cx_Freeze import Executable, setup | ||
|
||
build_exe_options = { | ||
"include_files": ["movistar-u7d.ps1"], | ||
"includes": ["anyio._backends._asyncio"], | ||
"excludes": ["test", "tkinter", "unittest"], | ||
"optimize": 2, | ||
} | ||
|
||
executables = [ | ||
Executable("movistar_epg.py"), | ||
Executable("movistar_u7d.py"), | ||
Executable("tv_grab_es_movistartv"), | ||
Executable("vod.py"), | ||
] | ||
|
||
setup( | ||
name="movistar-u7d", | ||
version="4.0b1", | ||
description="Movistar IPTV U7D to flussonic catchup proxy", | ||
options={"build_exe": build_exe_options}, | ||
executables=executables, | ||
) |