DREAMBOX - Page 342 - Forum
Subota, 10.12.16
Dobro dosli: Gost | RSS
Novi Postovi  *   Pretrazi Postove  *   Clanovi  *   Pravila Forum-a  *   RSS
Page 342 of 656«12340341342343344655656»
Forum moderator: smin, borivoje, nolte, Dilber 
Forum » TV I RADIO » Internet radio i TV » DREAMBOX ((DreamBox WebControl-Open Webif))
DREAMBOX
nolte Post broj: 5116 - Ponedjeljak, 01.12.14, 18:24
General-Major
Poruka: 4059
Status:
elsanto1 Post broj: 5117 - Ponedjeljak, 01.12.14, 18:34
Vodnik
Poruka: 202
Status:
elsanto1 Post broj: 5118 - Ponedjeljak, 01.12.14, 18:35
Vodnik
Poruka: 202
Status:
kalle189 Post broj: 5119 - Ponedjeljak, 01.12.14, 23:47
Vojnik
Poruka: 1
Status:


Poruku je uredio: kalle189 - Utorak, 02.12.14, 00:27
moro_musa Post broj: 5120 - Utorak, 02.12.14, 11:53
Zastavnik
Poruka: 79
Status:
gracias
bingobongo Post broj: 5121 - Utorak, 02.12.14, 12:43
Pukovnik
Poruka: 1125
Status:
Quote tussde ()
About your last version of the script:

i tried it but sometimes vlc appears but stream does not load, sometimes stream loads but no epg ( it says "no available")
But the thing i really want to say is that to me your new procedure is too risky because the .bat forces to zap channels ( wget -q -O - http://xx.xx.xx.xx/web/zap?sRef=[your stream])

I know that this is necessary in order to understand the right resolution of the channel (taken using this string: "wget -q -O - http://xx.xx.xx.xx/web/about ") to create the right amount of spaces between EVENT and INFO (correct me if i'm wrong)

It's too risky because if the owner is watching , he can surely see that somebody is changing channel so high chances that he locks or kills the ip !

However thanks for your commitment !


Script to view Enigma 2 epg and event description on VLC (without zapstream):

Code
wget -q -O - "http://xx.xx.xx.xx/web/epgservice?sRef=[your stream]" >> 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}" >>infon.txt
set /p EPG=<epg5.txt
call :filesize2 "infon.txt"
:filesize2
set size2=%~z1
if "%size2%"=="2" del infon.txt & goto ALTER
if "%size2%"=="0" del infon.txt & goto ALTER
set /p INFO=<infon.txt
set a=0
goto Sub

:ALTER
type epg.txt | FINDSTR "e2eventdescription" >>info5.txt
type info5.txt | cut -d "<" -f 2 >>info6.txt
type info6.txt | cut -d ">" -f 2 >>info7.txt
powershell -command "& {get-content info7.txt -totalcount 1}" >>infon.txt
set /p INFO=<infon.txt
call :filesize3 "infon.txt"
:filesize3
set size3=%~z1
if "%size3%"=="0" set EPG=not available & set INFO=not available & goto END
goto Sub

:Sub
set /a b=%a%+1
set /a a=%b%
more +%b% infon.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
setlocal enabledelayedexpansion

for %%a in (epg5.txt) do set /a length=%%~za
set /a length -=2
set /a SPC=95-%length%
SET "mychar= "
FOR /l %%i IN (2,1,%SPC%) DO CALL set "mychar=%%mychar%%%mychar%"
call %VLC% "http://xx.xx.xx.xx:8001/[your stream]" --freetype-rel-fontsize=20 --meta-title="EVENT: %EPG%%mychar%INFO: %INFO%" --video-title-show --video-title-position=4 --video-title-timeout=30000 --fullscreen --aspect-ratio=16:9 "http://89.160.193.42:8001/1:0:19:1B1C:802:2:11A0000:0:0:0:"
del epg*.txt
del info*.txt
exit


Notice: compared to marq-marquee, the big advantage of meta-title is that it is not affected by screen resolution changes. This allows to put a never changing maximum number of space characters between %EPG% and %INFO%. And obviously, this also allows to avoid zapstream, box general info, screen size analysis subroutines etc. that complicate things too much.
muhammedisa21 Post broj: 5122 - Utorak, 02.12.14, 22:30
Vodnik
Poruka: 190
Status:
Please turkey-turksat
tussde Post broj: 5123 - Srijeda, 03.12.14, 01:26
Vojnik
Poruka: 25
Status:
Quote bingobongo ()
Notice: compared to marq-marquee, the big advantage of meta-title is that it is not affected by screen resolution changes. This allows to put a never changing maximum number of space characters between %EPG% and %INFO%. And obviously, this also allows to avoid zapstream, box general info, screen size analysis subroutines etc. that complicate things too much.


Hi !

I've just tried your new script and got several results:

sometimes it's very good: http://i.imgur.com/LG1a1Pe.jpg (even if "info" is displayed in a strange way)
sometimes it's acceptable: http://i.imgur.com/qKaSBz3.jpg ("info" not under "event")
sometimes it's bad: http://i.imgur.com/MqX2hUj.jpg
sometimes no epg: http://i.imgur.com/vI71WuW.jpg

So still variable results but i appreciate the effort you put into it.

One thing i don't like though is that even after 30 seconds, egp info continues to be displayed on the status bar as follows:
http://i.imgur.com/TAR4p5x.jpg

Is it possible to remove that ?

Anyway for those who were asking about instructions, that's what you have to do:

a) Create a folder (for example "test1") with

1---wget.exe ---->http://users.ugent.be/~bpuype/cgi-bin/fetch.pl?dl=wget/wget.exe
2---cut.exe ---->http://gnuwin32.sourceforge.net/downlinks/coreutils-bin-zip.php (unzip and find cut.exe)
3---dlls (libiconv2 and libintl3) ---->http://gnuwin32.sourceforge.net/downlinks/coreutils-dep-zip.php (inside bin folder)

If you don't have powershell (search in C:\Windows\System32 and check if you have a "WindowsPowerShell" folder) download it.
Just search "Windows PowerShell 2.0 and WinRM 2.0" for your operating system.
It allows to extract the first line from a text file.

b) Open notepad, copy the following script (the last made by bingobongo with some changes i've made) and save it as a .bat file inside "test1" folder:

Quote
wget -q -O - "http://xx.xxx.xxx.xx/web/epgservice?sRef=[stream]" >> 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
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 info3.txt -totalcount 1}" >>infon.txt
set /p EPG=<epg5.txt
call :filesize2 "infon.txt"
:filesize2
set size2=%~z1
if "%size2%"=="2" del infon.txt & goto ALTER
if "%size2%"=="0" del infon.txt & goto ALTER
set /p INFO=<infon.txt
set a=0
goto Sub

:ALTER
type epg.txt | FINDSTR "e2eventdescription" >>info5.txt
type info5.txt | cut -d "<" -f 2 >>info6.txt
type info6.txt | cut -d ">" -f 2 >>info7.txt
call "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command "& {get-content info7.txt -totalcount 1}" >>infon.txt
set /p INFO=<infon.txt
call :filesize3 "infon.txt"
:filesize3
set size3=%~z1
if "%size3%"=="0" set EPG=not available & set INFO=not available & goto END
goto Sub

:Sub
set /a b=%a%+1
set /a a=%b%
more +%b% infon.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
setlocal enabledelayedexpansion

for %%a in (epg5.txt) do set /a length=%%~za
set /a length -=2
set /a SPC=95-%length%
SET "mychar= "
FOR /l %%i IN (2,1,%SPC%) DO CALL set "mychar=%%mychar%%%mychar%"
call "C:\Program Files\VideoLAN\VLC\vlc.exe" --freetype-rel-fontsize=20 --meta-title="EVENT: %EPG%%mychar%INFO: %INFO%" --video-title-show --video-title-position=4 --video-title-timeout=30000 --aspect-ratio=16:9 "http://xx.xxx.xxx.xx:8001/[stream]"
del epg*.txt
del info*.txt
exit


All the credits go to bingobongo for is enormous work !

Notice: http://xx.xxx.xxx.xx is the ip address of the webcontrol page you have; [stream] is the channel id: for example if you want to watch s*y sp*orts 1 uk you have to substitute [stream] with 1:0:1:1076:7E5:2:11A0000:0:0:0:

When you see
Quote
call "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

and
Quote
call "C:\Program Files\VideoLAN\VLC\vlc.exe"

you have to write inside "" your actual path of powershell and vlc to make it work ! (generally if you have installed them without changing default folder, you don't have to do any change !)

------------

One more thing: few posts ago i talked about an issue with epg in simple tv.
I've solved it and the cause was a proxy server that was set in internet explorer ! (very strange!!!)
Once disabled, epg info were displayed with no problem.


Poruku je uredio: tussde - Srijeda, 03.12.14, 01:59
elsanto1 Post broj: 5124 - Srijeda, 03.12.14, 01:47
Vodnik
Poruka: 202
Status:
slackwareful Post broj: 5125 - Srijeda, 03.12.14, 08:27
Zastavnik
Poruka: 90
Status:
muhammedisa21 Post broj: 5126 - Srijeda, 03.12.14, 13:46
Vodnik
Poruka: 190
Status:
Thank you slackwareful but not working turkey dreambox.please turkey-turksat
NIKJ Post broj: 5127 - Srijeda, 03.12.14, 15:46
Vojnik
Poruka: 32
Status:
bingobongo Post broj: 5128 - Cetvrtak, 04.12.14, 01:24
Pukovnik
Poruka: 1125
Status:
Quote tussde ()
sometimes it's acceptable: http://i.imgur.com/qKaSBz3.jpg ("info" not under "event")


Apart from the missing alignment of event and info, the ampersand & is written in a "strange" way because on windows batch you need the escape character to print it correctly.
I can easily fix this issue.

Quote tussde ()


I have introduced the option "not available" when the epg is missing from the Enigma 2 web interface source. Therefore, I do not consider this one as an issue depending on the script.
The script displays only the info found on Enigma 2 web interface. When Enigma 2 epg info are missing, instead of showing a blank space (which would be even worse to see), the script will say: "not available".
Also notice that "not available" appears when the script can't take the info from a mistyped stream address (in that case, you need to re-insert the stream address correctly and run the script again).


Poruku je uredio: bingobongo - Cetvrtak, 04.12.14, 01:44
hbglucas Post broj: 5129 - Cetvrtak, 04.12.14, 16:48
Vojnik
Poruka: 5
Status:
Portugal please
teacher Post broj: 5130 - Cetvrtak, 04.12.14, 17:47
Zastavnik
Poruka: 135
Status:
Forum » TV I RADIO » Internet radio i TV » DREAMBOX ((DreamBox WebControl-Open Webif))
Page 342 of 656«12340341342343344655656»
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!

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

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