Utorak, 21.11.17
Dobro dosli: Gost | RSS
Novi Postovi  *   Pretrazi Postove  *   Clanovi  *   Pravila Forum-a  *   RSS
Page 248 of 497«12246247248249250496497»
Archive - read only
Forum » TV I RADIO » Zakljucane teme » DREAMBOX - 1 ((DreamBox WebControl - Open Webif))
DREAMBOX - 1
bingobongo Post broj: 4941 - Utorak, 25.11.14, 00:37
Major
Poruka: 1183
Status:
Quote tussde ()
Quote
call "C:\test1\wget.exe" -q -O - "http://XX.XXX.XXX.XX/web/epgservice?sRef=1:0:1:1076:7E5:2:11A0000:0:0:0" >>epg.txt
type epg.txt | FINDSTR "e2eventtitle" >>epg2.txt
type epg.txt | FINDSTR "e2eventdescriptionextended" >>epg2.txt
type epg2.txt | cut -d "<" -f 2 >>epg3.txt
type epg3.txt | cut -d ">" -f 2 >>epg4.txt
call "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command "& {get-content epg4.txt -totalcount 1}" >>epg5.txt
call "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command "& {get-content epg4.txt -totalcount 3| Select-Object -Last 1}" >>epg5.txt
set /p EPG=<epg5.txt
call "C:\Program Files\VideoLAN\VLC\vlc.exe" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --aspect-ratio=16:9 "http://XX.XXX.XXX.XX:8001/1:0:1:1076:7E5:2:11A0000:0:0:0"
del epg*.txt
exit

With this code vlc stream starts and only "event-title" appears on the bottom part (no event description though !)

I took a look at epg5.txt and actually it had egp info (1st row) and event description (taken from the 3rd row of epg4.txt using "get-content epg4.txt -totalcount 3| Select-Object -Last 1") just below.

Where am i wrong ?


You can't take the description event from epg4.txt because it had been previously filtered by DEFSTR to display only the series of title events.

You'll need to call again DEFSTR to filter and display the event description.

But things are a little more complicated because the event description is usually a very long string and needs to be handled with a few more functions...

So I have re-written the code, which now works fine.
Event title + event description will appear on the top of VLC screen:

Code
wget -q -O - "http://XX.XXX.XXX.XX/web/epgservice?sRef=[stream address]" >> epg.txt
type epg.txt | FINDSTR "e2eventtitle" >>epg2.txt
type epg.txt | FINDSTR "e2eventdescriptionextended" >>info.txt
type epg2.txt | cut -d "<" -f 2 >>epg3.txt
type epg3.txt | cut -d ">" -f 2 >>epg4.txt
type info.txt | cut -d "<" -f 2 >>info2.txt
type info2.txt | cut -d ">" -f 2 >>info3.txt
powershell -command "& {get-content epg4.txt -totalcount 1}" >>epg5.txt
powershell -command "& {get-content info3.txt -totalcount 1}" >>info4.txt
set /p EPG=<epg5.txt
set /p INFO=<info4.txt
set a=0

:Sub
set /a b=%a%+1
set /a a=%b%
more +%b% info4.txt >>piece.txt
set /p ADD=<piece.txt
call :filesize "piece.txt"
:filesize
set size=%~z1
if "%size%"=="0" del piece.txt & goto END
set INFON=%INFO%%ADD%
set INFO=%INFON%
del piece.txt
goto Sub

:END
call %VLCA% --sub-filter marq --marq-marquee="%EPG% - %INFO%" --marq-size=20 --marq-position=4 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "http://XX.XXX.XXX.XX:8001/[stream address]"
del epg*.txt
del info*.txt   
if exist piece.txt del piece.txt
exit


Enjoy!


Poruku je uredio: bingobongo - Utorak, 25.11.14, 00:40
bingobongo Post broj: 4942 - Utorak, 25.11.14, 00:51
Major
Poruka: 1183
Status:
elsanto1 Post broj: 4943 - Utorak, 25.11.14, 02:52
Zastavnik
Poruka: 231
Status:
ok
vvaz24 Post broj: 4944 - Utorak, 25.11.14, 12:55
Vojnik
Poruka: 63
Status:
Why there is no japanese Drambox or webinf?
rapons89 Post broj: 4945 - Utorak, 25.11.14, 14:30
Vojnik
Poruka: 69
Status:
because maybe it's not used in that country.
it's also difficult to find ips due to huge iprange to scan. (my opinion)
polat20 Post broj: 4946 - Utorak, 25.11.14, 14:50
Vojnik
Poruka: 11
Status:
Digitürk . Lig tv . Türksat Open Webif lütfen !


Poruku je uredio: polat20 - Utorak, 25.11.14, 16:51
bingobongo Post broj: 4947 - Utorak, 25.11.14, 15:36
Major
Poruka: 1183
Status:


Good ones: all of them point to working/active ips (that's what really matters in my opinion).

The only exception is the German one, which is unusable for having web interface and streaming server locked (Openwebif http and streaming authentification plugins enabled).


Poruku je uredio: bingobongo - Utorak, 25.11.14, 15:55
tussde Post broj: 4948 - Utorak, 25.11.14, 16:22
Vojnik
Poruka: 25
Status:
Quote bingobongo ()
You can't take the description event from epg4.txt because it had been previously filtered by DEFSTR to display only the series of title events.

You'll need to call again DEFSTR to filter and display the event description.

But things are a little more complicated because the event description is usually a very long string and needs to be handled with a few more functions...

So I have re-written the code, which now works fine.
Event title + event description will appear on the top of VLC screen:

Code
wget -q -O - "http://XX.XXX.XXX.XX/web/epgservice?sRef=[stream address]" >> epg.txt
type epg.txt | FINDSTR "e2eventtitle" >>epg2.txt
type epg.txt | FINDSTR "e2eventdescriptionextended" >>info.txt
type epg2.txt | cut -d "<" -f 2 >>epg3.txt
type epg3.txt | cut -d ">" -f 2 >>epg4.txt
type info.txt | cut -d "<" -f 2 >>info2.txt
type info2.txt | cut -d ">" -f 2 >>info3.txt
powershell -command "& {get-content epg4.txt -totalcount 1}" >>epg5.txt
powershell -command "& {get-content info3.txt -totalcount 1}" >>info4.txt
set /p EPG=<epg5.txt
set /p INFO=<info4.txt
set a=0

:Sub
set /a b=%a%+1
set /a a=%b%
more +%b% info4.txt >>piece.txt
set /p ADD=<piece.txt
call :filesize "piece.txt"
:filesize
set size=%~z1
if "%size%"=="0" del piece.txt & goto END
set INFON=%INFO%%ADD%
set INFO=%INFON%
del piece.txt
goto Sub

:END
call %VLCA% --sub-filter marq --marq-marquee="%EPG% - %INFO%" --marq-size=20 --marq-position=4 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "http://XX.XXX.XXX.XX:8001/[stream address]"
del epg*.txt
del info*.txt
if exist piece.txt del piece.txt
exit

Enjoy!


Thank you very much bingobongo ! Now everything works fine with your code !

Just few things:

1-

In your code you wrote for example "powershell -command" or "call %VLCA%" ; i had no success in running the bat script with this type of "language" !
To make it work I had instead to specify the folder :
I mean "call C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" instead of "powershell -command" and "call C:\Program Files\VideoLAN\VLC\vlc.exe" instead of "call %VLCA%" ! Why ?

2-

To display text on vlc you used the "marq subfilter" and from what i've understood what is shown is

"%EPG% - %INFO%".

I think you know c language and the function "printf": if i write Hello /nworld the outcome is :

Hello
world

Do you know if is there any similar thing in dos language so i can get

%EPG%
%INFO%

on the screen ?

However thanks for your advices you gave me so far !


Poruku je uredio: tussde - Utorak, 25.11.14, 16:23
rapons89 Post broj: 4949 - Utorak, 25.11.14, 18:57
Vojnik
Poruka: 69
Status:
i see in the most of ip posted that the watcher click on the channel to view....so he locks the channels
otherwise for me it's better to toggle standby mode .so also other people in this forum can watch what they want.
my opinion
rapons89 Post broj: 4950 - Utorak, 25.11.14, 18:58
Vojnik
Poruka: 69
Status:
however thanks fot the last ips posted wink
bingobongo Post broj: 4951 - Utorak, 25.11.14, 19:10
Major
Poruka: 1183
Status:
Quote tussde ()
1-

In your code you wrote for example "powershell -command" or "call %VLCA%" ; i had no success in running the bat script with this type of "language" !
To make it work I had instead to specify the folder :
I mean "call C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" instead of "powershell -command" and "call C:\Program Files\VideoLAN\VLC\vlc.exe" instead of "call %VLCA%" ! Why ?


It's name I had given to the variable, sorry. Obviously with VLCA I just meant the path where the executable file of VLC is located.

Quote
Do you know if is there any similar thing in dos language so i can get

%EPG%
%INFO%

on the screen ?

However thanks for your advices you gave me so far !


Actually I know a few methods to print a part of the text on a new line, but these methods don't seem to work inside the quote marks of the VLC parameter marq-marquee.

If I find any workarounds, I'll let you know


Poruku je uredio: bingobongo - Utorak, 25.11.14, 19:13
bingobongo Post broj: 4952 - Srijeda, 26.11.14, 00:21
Major
Poruka: 1183
Status:
Quote tussde ()
Do you know if is there any similar thing in dos language so i can get

%EPG%
%INFO%

on the screen ?

However thanks for your advices you gave me so far !


With the echo command, it is quite easy (for example, you can just insert ^, with the result that the word following ^ will be printed on the new line.

The problem is that VLC commandline options don't support multiline strings. In fact, if you try to insert a multiline string as a parameter, VLC will close without starting streams.

Therefore, I tried to "emulate" a new line string by adding spaces after the epg event (the number of which will change dinamically depending on the characters length of the title event).

Although the string will be still a single line, when displayed on VLC it will look as if formed by two lines:

EVENT: event title
INFO: info title

To get this, feel free to change the subroutine END as it follows:

Code
:END
setlocal enabledelayedexpansion

for %%a in (epg5.txt) do set /a length=%%~za
set /a length -=2
set /a SPC=100-%length%
SET "mychar= "
FOR /l %%i IN (2,1,%SPC%) DO CALL set "mychar=%%mychar%%%mychar%"

call %VLC% --sub-filter marq --marq-marquee="EVENT: %EPG%%mychar%INFO: %INFO%" --marq-size=20 --marq-position=4 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "http://XX.XXX.XXX.XX:8001/[stream address]"    
del epg*.txt    
del info*.txt    
if exist piece.txt del piece.txt    
exit


I hope it helps


Poruku je uredio: bingobongo - Srijeda, 26.11.14, 00:43
KinkyKing Post broj: 4953 - Srijeda, 26.11.14, 13:03
Vojnik
Poruka: 63
Status:
Is there no admin here who cleans al the spam shit here???
ferrari777777777 Post broj: 4954 - Srijeda, 26.11.14, 15:34
Vojnik
Poruka: 18
Status:
95.155.255.19 Nordic.

P.S. Sky Sports SD/HD UK & NTV Plus SD/HD Russia. Please.


Poruku je uredio: ferrari777777777 - Srijeda, 26.11.14, 15:35
tussde Post broj: 4955 - Srijeda, 26.11.14, 16:09
Vojnik
Poruka: 25
Status:
Quote bingobongo ()
With the echo command, it is quite easy (for example, you can just insert ^, with the result that the word following ^ will be printed on the new line.

The problem is that VLC commandline options don't support multiline strings. In fact, if you try to insert a multiline string as a parameter, VLC will close without starting streams.

Therefore, I tried to "emulate" a new line string by adding spaces after the epg event (the number of which will change dinamically depending on the characters length of the title event).

Although the string will be still a single line, when displayed on VLC it will look as if formed by two lines:

EVENT: event title
INFO: info title

To get this, feel free to change the subroutine END as it follows:

Code
:END
setlocal enabledelayedexpansion

for %%a in (epg5.txt) do set /a length=%%~za
set /a length -=2
set /a SPC=100-%length%
SET "mychar= "
FOR /l %%i IN (2,1,%SPC%) DO CALL set "mychar=%%mychar%%%mychar%"

call %VLC% --sub-filter marq --marq-marquee="EVENT: %EPG%%mychar%INFO: %INFO%" --marq-size=20 --marq-position=4 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "http://XX.XXX.XXX.XX:8001/[stream address]"
del epg*.txt
del info*.txt
if exist piece.txt del piece.txt
exit

I hope it helps


Hi !

The new "subroutine END" works but EVENT and INFO are never displayed properly: i mean sometimes i have

EVENT: (event description)
(some spaces) INFO:(info description)

sometimes i have event and info on the same row with the info description starting on the new row:

EVENT: (event description) (spaces)INFO:
(info description)

I really wanted to have this kind of "structure" (with "I" of info just under "E" of event)

Quote
EVENT: (event description)
INFO: (info description)


but I understand that too many things must be considered (due to vlc lack of multilines display) so even using a dynamic number of spaces the final result is acceptable but not as i expected.

Anyway, i want to thank you bingobongo for your tremendous effort !


Poruku je uredio: tussde - Srijeda, 26.11.14, 16:16
bingobongo Post broj: 4956 - Srijeda, 26.11.14, 16:21
Major
Poruka: 1183
Status:
Quote tussde ()
but I understand that too many things must be considered (due to vlc lack of multilines display) so even using a dynamic number of spaces the final result is acceptable but not as i expected.


I think the way marq-marquee displays the string on VLC is tricky, because the maximum number of characters contained in the displayed line changes every time.
I'll try to see if VLC has any options to handle the text alignment of the marquee, because this would surely fix the issue.
If not, I'm afraid we can't do much for that.

Also, you may consider to increase the value of SPC (from 100 to 105, for example):

set /a SPC=105-%length%


Poruku je uredio: bingobongo - Srijeda, 26.11.14, 16:29
muhammedisa21 Post broj: 4957 - Srijeda, 26.11.14, 16:35
Zastavnik
Poruka: 194
Status:
Please MovieMax turk
bingobongo Post broj: 4958 - Srijeda, 26.11.14, 16:38
Major
Poruka: 1183
Status:
Quote rbg ()
Portugal.
PLEASE




Notice: Xtrend et5000 with one tuner.

Xtrend decoders are expensive, but... they work so well!
I haven't found one Xtrend not working so far. Even Xtrend ips with one tuner are active in most cases.


Poruku je uredio: bingobongo - Srijeda, 26.11.14, 16:41
bingobongo Post broj: 4959 - Srijeda, 26.11.14, 16:47
Major
Poruka: 1183
Status:


Notice: Xtrend et5000 with one tuner

And.... for the joy of someone..... Dutch ip with Turkey-Turksat!!!! xD

(only Turkish active channels)
muhammedisa21 Post broj: 4960 - Srijeda, 26.11.14, 17:18
Zastavnik
Poruka: 194
Status:
Thank you bingobongo


Poruku je uredio: muhammedisa21 - Srijeda, 26.11.14, 18:38
Forum » TV I RADIO » Zakljucane teme » DREAMBOX - 1 ((DreamBox WebControl - Open Webif))
Page 248 of 497«12246247248249250496497»
Search:

Forum Chat Samo reg. clanovi imaju pristup CHAT BOX-u
-"TOP 25 FORUMASA"-
Sav sadrzaj koji se nalazi na nasem forumu sluzi iskljucivo u edukativne svrhe, svaka upotreba i koristenje nelegalnih programa i televizijskih streamova je zakonom kaznjiva, kupite ili se preplatite na legalan program ili televizijski paket.
All content on our forum serves exclusively for educational purposes, every use and use of illegal programs and television streams is punishable by law, purchased or paid to a legal program or television package.
Converter M3U Playlists Provjerite protok Playlist