2023-10-21 23:32:44 +02:00
|
|
|
# TV-to-Console
|
|
|
|
|
2023-10-21 23:59:07 +02:00
|
|
|
## English
|
|
|
|
|
2023-10-25 23:17:07 +02:00
|
|
|
Script that populates the tv program from [hoerzu-data](https://mobile.hoerzu.de/programbystation) to the console window.
|
2023-10-21 23:47:12 +02:00
|
|
|
|
2023-10-22 00:54:49 +02:00
|
|
|
### Call in console via
|
2023-10-21 23:47:12 +02:00
|
|
|
|
2023-10-21 23:53:55 +02:00
|
|
|
`python3 tv_program.py`
|
|
|
|
it uses the default starttime and endtime in the script and gives out tv shows starting in this timerange.
|
|
|
|
|
2023-10-22 18:24:05 +02:00
|
|
|
`python3 tv_program.py --start-time 23:30 --end-time 23:55`
|
2023-10-21 23:53:55 +02:00
|
|
|
gives out tv shows starting in the time between 11:30 pm and 11:55 pm
|
2023-10-21 23:47:12 +02:00
|
|
|
|
2023-10-21 23:59:07 +02:00
|
|
|
### Dependencies
|
2023-10-21 23:47:12 +02:00
|
|
|
|
|
|
|
python3
|
|
|
|
|
2023-10-22 01:01:26 +02:00
|
|
|
install: `apt install python3`
|
2023-10-21 23:53:55 +02:00
|
|
|
|
|
|
|
python3-tabulate
|
|
|
|
|
|
|
|
makes tables pretty
|
|
|
|
|
|
|
|
install: `apt install python3-tabulate`
|
|
|
|
|
2023-10-22 00:54:49 +02:00
|
|
|
### Credits
|
|
|
|
|
|
|
|
Inspired by Axel-Erfurt on [GitHub](https://github.com/Axel-Erfurt), Project [TV-Tagesprogramm](https://github.com/Axel-Erfurt/TV-Tagesprogramm)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2023-10-21 23:59:07 +02:00
|
|
|
## German
|
|
|
|
|
2023-10-22 00:54:49 +02:00
|
|
|
Skript, das das Fernsehprogramm mittels [Hoerzu-Daten](https://mobile.hoerzu.de/programbystation) in der Konsole ausgibt.
|
2023-10-21 23:59:07 +02:00
|
|
|
|
2023-10-22 00:54:49 +02:00
|
|
|
### Aufruf in der Konsole über
|
2023-10-21 23:59:07 +02:00
|
|
|
|
|
|
|
`python3 tv_program.py`
|
|
|
|
Es verwendet die im Skript angegebene Start- und Endzeit und gibt Fernsehsendungen aus, die in diesem Zeitbereich beginnen.
|
|
|
|
|
2023-10-22 18:24:05 +02:00
|
|
|
`python3 tv_program.py --start-time 23:30 --end-time 23:55`
|
2023-10-21 23:59:07 +02:00
|
|
|
gibt Fernsehsendungen aus, die in der Zeit zwischen 23:30 Uhr und 23:55 Uhr beginnen.
|
|
|
|
|
|
|
|
### Abhängigkeiten
|
|
|
|
|
|
|
|
python3
|
|
|
|
|
2023-10-22 01:01:26 +02:00
|
|
|
install: `apt install python3`
|
2023-10-21 23:59:07 +02:00
|
|
|
|
|
|
|
python3-tabulate
|
|
|
|
|
|
|
|
makes tables pretty
|
|
|
|
|
2023-10-22 00:54:49 +02:00
|
|
|
install: `apt install python3-tabulate`
|
|
|
|
|
|
|
|
### Credits
|
|
|
|
|
|
|
|
Inspiriert von Axel-Erfurt auf [GitHub](https://github.com/Axel-Erfurt), Projekt [TV-Tagesprogramm](https://github.com/Axel-Erfurt/TV-Tagesprogramm)
|