summaryrefslogtreecommitdiffstats
path: root/rtv4d-dl.c
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-14 00:41:11 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-14 00:41:11 +0100
commitafd05b8aa60a3c67abdac25e4309a8451a60061e (patch)
tree8eea7edbe2b292d2483cf889504cbd43cfeffd75 /rtv4d-dl.c
parentpripravil dokumentacijo za 0.0.3 (diff)
downloadrtv4d-dl-afd05b8aa60a3c67abdac25e4309a8451a60061e.tar
rtv4d-dl-afd05b8aa60a3c67abdac25e4309a8451a60061e.tar.gz
rtv4d-dl-afd05b8aa60a3c67abdac25e4309a8451a60061e.tar.bz2
rtv4d-dl-afd05b8aa60a3c67abdac25e4309a8451a60061e.tar.lz
rtv4d-dl-afd05b8aa60a3c67abdac25e4309a8451a60061e.tar.xz
rtv4d-dl-afd05b8aa60a3c67abdac25e4309a8451a60061e.tar.zst
rtv4d-dl-afd05b8aa60a3c67abdac25e4309a8451a60061e.zip
Diffstat (limited to 'rtv4d-dl.c')
-rw-r--r--rtv4d-dl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/rtv4d-dl.c b/rtv4d-dl.c
index 8ac574e..93ad919 100644
--- a/rtv4d-dl.c
+++ b/rtv4d-dl.c
@@ -443,9 +443,11 @@ int main (int argc, char ** argv) {
m->id = RTV_TEST_ID;
}
switch (RTV_NACIN[0]) {
+ case 'T':
case 't': /* test - program se preizkusi brez prenosa datotek */
RTV_NAPISI(NAPAKA, "samotestiranje še ni izdelano!");
break;
+ case 'O':
case 'o': /* oddaja - prenese oddajo v datoteko */
if (rtv_meta_izpolni(m) != 0) {
RTV_NAPISI(NAPAKA, "Ni uspelo pridobiti metapodatkov oddaje.");
@@ -471,6 +473,7 @@ int main (int argc, char ** argv) {
returnstatus = 6;
}
break;
+ case 'M':
case 'm': /* meta-oddaja - prenese metapodatke o oddaji */
if (rtv_meta_izpolni(m) != 0) {
RTV_NAPISI(NAPAKA, "Ni uspelo pridobiti metapodatkov oddaje.");
@@ -503,6 +506,7 @@ int main (int argc, char ** argv) {
fclose(fd);
break;
case 's': /* sličica - prenese sličico oddaje */
+ case 'S':
if (rtv_meta_izpolni(m) != 0) {
RTV_NAPISI(NAPAKA, "Ni uspelo pridobiti metapodatkov oddaje.");
returnstatus = 4;
@@ -527,6 +531,11 @@ int main (int argc, char ** argv) {
returnstatus = 6;
}
break;
+ case 'z': /* zivo */
+ case 'Z':
+ case 0xC5: /* živo / Živo, ž = 0xc5be, Ž = 0xc5bd, tudi šivo dela! */
+ RTV_NAPISI(NAPAKA, "pretakanje v živo še ni izdelano!");
+ break;
default:
fprintf(stderr, "opcija ne obstaja! poskusi test.\n");
returnstatus = 2;