DREAMBOX - Page 334 - Forum
Utorak, 24.01.17
Dobro dosli: Gost | RSS
Novi Postovi  *   Pretrazi Postove  *   Clanovi  *   Pravila Forum-a  *   RSS
Page 334 of 667«12332333334335336666667»
Forum moderator: smin, borivoje, nolte, Dilber 
Forum » TV I RADIO » Internet radio i TV » DREAMBOX ((DreamBox WebControl-Open Webif))
DREAMBOX
bingobongo Post broj: 4996 - Ponedjeljak, 24.11.14, 13:37
Major
Poruka: 1140
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

muhammedisa21 Post broj: 4997 - Ponedjeljak, 24.11.14, 14:38
Zastavnik
Poruka: 191
Status:
Thank you soloviola71 thank you
soloviola71 Post broj: 4998 - Ponedjeljak, 24.11.14, 14:54
Vojnik
Poruka: 14
Status:
Quote muhammedisa21 ()
Thank you soloviola71 thank you

olivier Post broj: 4999 - Ponedjeljak, 24.11.14, 16:39
Vojnik
Poruka: 5
Status:
french sat ,
please
moro_musa Post broj: 5000 - Ponedjeljak, 24.11.14, 16:40
Vojnik
Poruka: 81
Status:
gracias
tussde Post broj: 5001 - Ponedjeljak, 24.11.14, 17:06
Vojnik
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 je uredio: tussde - Ponedjeljak, 24.11.14, 17:10
soloviola71 Post broj: 5002 - Ponedjeljak, 24.11.14, 17:23
Vojnik
Poruka: 14
Status:
Many Tv specially Turk
e01114693634 Post broj: 5003 - Ponedjeljak, 24.11.14, 19:19
Vojnik
Poruka: 49
Status:
Turksat,CANALSAT FRANCE.Canal+ Espana,Sky Deutschland openwebif
http://goo.gl/RtRZXx
e01114693634 Post broj: 5004 - Ponedjeljak, 24.11.14, 19:25
Vojnik
Poruka: 49
Status:
SKY IT,CANAL + ESP,CANALSAT ,Canal Digitaal,Sky Deutschland
http://goo.gl/sNSnnS
pokut Post broj: 5005 - Ponedjeljak, 24.11.14, 21:12
Vojnik
Poruka: 38
Status:
and anyone knows how to include epg into the m3u file body like:
#EXTINF:-1,xxxxxx
http://XX.XXX.XXX.XX:8001/1:0:1:1076:7E5:2:11A0000:0:0:0
sailelias2013 Post broj: 5006 - Ponedjeljak, 24.11.14, 21:32
Vojnik
Poruka: 5
Status:
bingobongo Post broj: 5007 - Utorak, 25.11.14, 00:37
Major
Poruka: 1140
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: 5008 - Utorak, 25.11.14, 00:51
Major
Poruka: 1140
Status:
elsanto1 Post broj: 5009 - Utorak, 25.11.14, 02:52
Zastavnik
Poruka: 207
Status:
ok
vvaz24 Post broj: 5010 - Utorak, 25.11.14, 12:55
Vojnik
Poruka: 63
Status:
Why there is no japanese Drambox or webinf?
Forum » TV I RADIO » Internet radio i TV » DREAMBOX ((DreamBox WebControl-Open Webif))
Page 334 of 667«12332333334335336666667»
Search:

Forum Chat Samo registrovani clanovi imaju pristup CHAT BOX-u
Gledanje Pay TV kanala bez valjane pretplate je ilegalno, sve datoteke/informacije ovdje su samo za obrazovne svrhe.
Watching Pay TV channels without a valid subscription is illegal , all files/information here are only for educational purposes only.
-"TOP 25 FORUMASA"-

Converter M3U Playlists Provjerite protok Playlist

Sultanovic Forum - All The Best

Molimo vas da iskljucite blokator reklama za nas Forum!

Молимо Вас да искључите блокатор реклама за нас форум!

Ве молиме исклучете го блокатор за нас форум!

Please turn off the ad blocker for our Forum!

Bitte schalten Sie den Werbeblocker für unsere Forum!

S'il vous plaît désactiver le bloqueur de publicité pour notre Forum!

Bize Forumlar için reklam engelleyici kapatın lütfen!

Ju lutemi të kthehet off bllokues ad për ne Forume!

Пожалуйста, отключите блокировка рекламы для нас Форумы!

Моля, изключете блокиране на реклами за нас Forums!

Si prega di disattivare il blocco annuncio per il nostro Forum!

Por favor, apague el bloqueador de anuncios para nosotros los foros!

Por favor, desligue o bloqueador de anúncios para nós Fóruns!

Schakel de ad-blocker voor ons forum!

Harap matikan pemblokir iklan bagi kita Forum!

Vă rugăm să opriți de blocare anunțuri pentru noi Forum!

Proszę wyłączyć blokowanie reklam dla nas forum!

!.يرجى إيقاف تشغيل مانع الإعلانات بالنسبة لنا في المنتدى

請關閉廣告阻滯劑對我們論壇!