Ažurirane teme   ·    Nove poruke   ·    članovi   ·    Pravila foruma   ·    Traži   ·    RSS
Archive - read only
DREAMBOX - 1
elsanto1Datum: Ponedjeljak, 24.11.2014, 03:33 | Poruka broj: # 4821

Poruka: 249
Status:

buen trabajo
tussdeDatum: Ponedjeljak, 24.11.2014, 03:34 | Poruka broj: # 4822

Poruka: 25
Status:

Quote bingobongo ()
wget:

cut:

(unzip and find cut.exe)

dependencies (dlls):

Once downloaded, all of them must be put in the same folder wink

All Windows systems are ok, for having ms prompt (necessary for batch scripts) smile


Hi !

Got some results but still struggling.

That's what i've done so far:
I've created a folder named "test1" where i put these following files: cut.exe,wget.exe,libintl3.dll,libiconv2.dll and a .bat file containing this code (made few changes):

Quote
type epg.txt | FINDSTR "e2eventtitle" >>epg2.txt
type epg2.txt | cut -d "<" -f 2 >>epg3.txt
type epg3.txt | cut -d ">" -f 2 >>epg4.txt
powershell -command "& {get-content epg4.txt -totalcount 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


Before opening the .bat file , i opened cmd.exe and went to the folder "test1" using
Quote
cd C:\test1


Than i wrote
Quote
wget -q -O - "http://XX.XXX.XXX.XX/web/epgservice?sRef=1:0:1:1076:7E5:2:11A0000:0:0:0" >>epg.txt


After this i noticed that an epg.txt file was created inside test1 folder so i thought i was doing good .

Finally i double clicked the .bat file: vlc starts, stream appears but no epg info !

I took a look at cmd.exe and saw this :

Quote
"powershell" is not recognized as an internal or external command, operable program or batch file


So apparently no powershell on my pc ! (???)

What should i do now ?

Please help!

Poruku uredio tussde - Ponedjeljak, 24.11.2014, 03:37
soloviola71Datum: Ponedjeljak, 24.11.2014, 10:56 | Poruka broj: # 4823

Poruka: 14
Status:

Quote muhammedisa21 ()
Please turkey-turksat


Poruku uredio soloviola71 - Ponedjeljak, 24.11.2014, 10:59
bingobongoDatum: Ponedjeljak, 24.11.2014, 14:37 | Poruka broj: # 4824

Poruka: 1154
Status:

Quote tussde ()
powershell" is not recognized as an internal or external command, operable program or batch file

So apparently no powershell on my pc ! (???)

What should i do now ?

Please help!

Quote tussde ()
powershell" is not recognized as an internal or external command, operable program or batch file

So apparently no powershell on my pc ! (???)

What should i do now ?

Please help!


Hmmm.. maybe.
Try installing this:



It will download Powershell 2.0 for Windows Vista (your operating system).
After the installation, your pc should have no problems to recognize it wink

In case you still have problems, no worries. Powershell command could be easily replaced. It basically allows to extract the first line from a text file. But there are surely many other alternative ways to do that wink

muhammedisa21Datum: Ponedjeljak, 24.11.2014, 15:38 | Poruka broj: # 4825

Poruka: 212
Status:

Thank you soloviola71 thank you
soloviola71Datum: Ponedjeljak, 24.11.2014, 15:54 | Poruka broj: # 4826

Poruka: 14
Status:

Quote muhammedisa21 ()
Thank you soloviola71 thank you

olivierDatum: Ponedjeljak, 24.11.2014, 17:39 | Poruka broj: # 4827

Poruka: 6
Status:

french sat ,
please
moro_musaDatum: Ponedjeljak, 24.11.2014, 17:40 | Poruka broj: # 4828

Poruka: 139
Status:

gracias
tussdeDatum: Ponedjeljak, 24.11.2014, 18:06 | Poruka broj: # 4829

Poruka: 25
Status:

Quote bingobongo ()
Hmmm.. maybe.
Try installing this:

It will download Powershell 2.0 for Windows Vista (your operating system).
After the installation, your pc should have no problems to recognize it wink

In case you still have problems, no worries. Powershell command could be easily replaced. It basically allows to extract the first line from a text file. But there are surely many other alternative ways to do that wink


Hi!

Thanks for your help !

I installed powershell and it worked flawless ! (but i had to modify the batch with the folder path of powershell)
Anyway, I googled a little bit because i wanted to display not only the epg program but also the info related to the specific program broadcasted so that's what i've done so far with my .bat script:

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 ?

Poruku uredio tussde - Ponedjeljak, 24.11.2014, 18:10
soloviola71Datum: Ponedjeljak, 24.11.2014, 18:23 | Poruka broj: # 4830

Poruka: 14
Status:

Many Tv specially Turk
e01114693634Datum: Ponedjeljak, 24.11.2014, 20:19 | Poruka broj: # 4831

Poruka: 49
Status:

Turksat,CANALSAT FRANCE.Canal+ Espana,Sky Deutschland openwebif
http://goo.gl/RtRZXx
e01114693634Datum: Ponedjeljak, 24.11.2014, 20:25 | Poruka broj: # 4832

Poruka: 49
Status:

SKY IT,CANAL + ESP,CANALSAT ,Canal Digitaal,Sky Deutschland
http://goo.gl/sNSnnS
sailelias2013Datum: Ponedjeljak, 24.11.2014, 22:32 | Poruka broj: # 4833

Poruka: 5
Status:

OPENWEFIF

http://adf.ly/uaRVe
http://adf.ly/uaSOW
http://adf.ly/uaStQ
http://adf.ly/uaTIm
http://adf.ly/uaTXE
bingobongoDatum: Utorak, 25.11.2014, 01:37 | Poruka broj: # 4834

Poruka: 1154
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 uredio bingobongo - Utorak, 25.11.2014, 01:40
bingobongoDatum: Utorak, 25.11.2014, 01:51 | Poruka broj: # 4835

Poruka: 1154
Status:

elsanto1Datum: Utorak, 25.11.2014, 03:52 | Poruka broj: # 4836

Poruka: 249
Status:

ok
vvaz24Datum: Utorak, 25.11.2014, 13:55 | Poruka broj: # 4837

Poruka: 63
Status:

Why there is no japanese Drambox or webinf?
rapons89Datum: Utorak, 25.11.2014, 15:30 | Poruka broj: # 4838

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)
polat20Datum: Utorak, 25.11.2014, 15:50 | Poruka broj: # 4839

Poruka: 13
Status:

Digitürk . Lig tv . Türksat Open Webif lütfen !
Poruku uredio polat20 - Utorak, 25.11.2014, 17:51
bingobongoDatum: Utorak, 25.11.2014, 16:36 | Poruka broj: # 4840

Poruka: 1154
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 uredio bingobongo - Utorak, 25.11.2014, 16:55
Search:
Top 30 Forumasa