Ponedjeljak, 20.11.17
Dobro dosli: Gost | RSS
Novi Postovi  *   Pretrazi Postove  *   Clanovi  *   Pravila Forum-a  *   RSS
Page 254 of 498«12252253254255256497498»
Archive - read only
Forum » TV I RADIO » Zakljucane teme » DREAMBOX - 1 ((DreamBox WebControl - Open Webif))
DREAMBOX - 1
tussde Post broj: 5061 - 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: 5062 - Srijeda, 03.12.14, 01:47
Zastavnik
Poruka: 231
Status:
slackwareful Post broj: 5063 - Srijeda, 03.12.14, 08:27
Vojnik
Poruka: 91
Status:
muhammedisa21 Post broj: 5064 - Srijeda, 03.12.14, 13:46
Zastavnik
Poruka: 194
Status:
Thank you slackwareful but not working turkey dreambox.please turkey-turksat
NIKJ Post broj: 5065 - Srijeda, 03.12.14, 15:46
Vojnik
Poruka: 26
Status:
bingobongo Post broj: 5066 - Cetvrtak, 04.12.14, 01:24
Major
Poruka: 1183
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: 5067 - Cetvrtak, 04.12.14, 16:48
Vojnik
Poruka: 5
Status:
Portugal please
teacher Post broj: 5068 - Cetvrtak, 04.12.14, 17:47
Zastavnik
Poruka: 135
Status:
frankiepentangelli Post broj: 5069 - Cetvrtak, 04.12.14, 18:28
Vojnik
Poruka: 18
Status:
elsanto1 geen van de ter beschikking gestelde werken ... thanks
bingobongo Post broj: 5070 - Cetvrtak, 04.12.14, 21:17
Major
Poruka: 1183
Status:
Quote tussde ()
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 ?


Script to view Enigma epg and event description on VLC (updated):

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

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
sed "s/amp; / /g" infon.txt >>infon2.txt
set /p INFO=<infon2.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
sed "s/amp; / /g" infon.txt >>infon2.txt
set /p INFO=<infon2.txt
call :filesize3 "infon2.txt"
:filesize3
set size3=%~z1
if "%size3%"=="0" set EPG=not available & set INFO=not available & goto SCREEN
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 SCREEN
set INFON=%INFO%%ADD%
set INFO=%INFON%
del piece.txt
goto Sub

:SCREEN
echo [your stream] >>screen.txt
type screen.txt | FINDSTR "1:0:19" >> screen2.txt
call :filesize4 "screen2.txt"
:filesize4
set size4=%~z1
if "%size4%"=="0" goto SD
if "%size4%"=="2" goto SD
goto HD

:SD
set SIZE=28
goto END

:HD
set SIZE=56
goto END

:END
setlocal enabledelayedexpansion
SET "mychar= "
FOR /l %%i IN (2,1,4) DO CALL set "mychar=%%mychar%%%mychar%"
call %VLC% --no-qt-name-in-title --sub-filter marq --marq-marquee="%mychar%EVENT: %EPG%" --marq-size=%SIZE% --marq-position=5 --marq-opacity=255 --marq-timeout=28000 --freetype-rel-fontsize=20 --freetype-opacity=255 --meta-title="INFO: %INFO%" --video-title-show --video-title-position=5 --video-title-timeout=30000 --fullscreen --aspect-ratio=16:9 "http://xx.xx.xx.xx:8001/[your stream]"
if exist piece.txt del piece.txt
del epg*.txt
del info*.txt
del chk*.txt
del screen*.txt
exit

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

Dependencies: wget, cut, sed, dlls

Parts to edit are marked in red, where:

xx.xx.xx.xx=web interface IP

[your stream]=channel id

Notice: hopefully fixed the main issues spotted out by tussde.

I especially:

- improved text alignment between title event (EPG) and description (INFO)

- fixed the correct printing of the ampersand (thanks to sed.exe, which I recommend to add to the folder script)

- added an option to resize writings and spaces on HD channels

- hidden undesired writings from the status bar of VLC


Poruku je uredio: bingobongo - Cetvrtak, 04.12.14, 21:54
Sultan-Mirza™ Post broj: 5071 - Cetvrtak, 04.12.14, 22:54
Administrator/moderator
Poruka: 8081
Status:
mitica68 Post broj: 5072 - Petak, 05.12.14, 00:27
Vojnik
Poruka: 73
Status:
Does anyone know the username and password http://89.160.129.135:9981/extjs.html,please
muhammedisa21 Post broj: 5073 - Petak, 05.12.14, 01:08
Zastavnik
Poruka: 194
Status:
Please turkey-turksat
elsanto1 Post broj: 5074 - Petak, 05.12.14, 03:13
Zastavnik
Poruka: 231
Status:
46.57.66.66 plus
Gartsas Post broj: 5075 - Petak, 05.12.14, 10:56
Vojnik
Poruka: 35
Status:


Poruku je uredio: Gartsas - Petak, 05.12.14, 13:13
moro_musa Post broj: 5076 - Petak, 05.12.14, 12:53
Zastavnik
Poruka: 117
Status:
gracias a todos
Gartsas Post broj: 5077 - Petak, 05.12.14, 13:57
Vojnik
Poruka: 35
Status:


Poruku je uredio: Gartsas - Petak, 05.12.14, 14:52
soloviola71 Post broj: 5078 - Petak, 05.12.14, 16:04
Vojnik
Poruka: 14
Status:
Ger-Turk
olivier Post broj: 5079 - Petak, 05.12.14, 16:09
Vojnik
Poruka: 6
Status:
tks for all but have you french adresses to french channels ( ex: csat)
tussde Post broj: 5080 - Petak, 05.12.14, 23:44
Vojnik
Poruka: 25
Status:
Quote bingobongo ()
Dependencies: wget, cut, sed, dlls

Parts to edit are marked in red, where:

xx.xx.xx.xx=web interface IP

[your stream]=channel id

Notice: hopefully fixed the main issues spotted out by tussde.

I especially:

- improved text alignment between title event (EPG) and description (INFO)

- fixed the correct printing of the ampersand (thanks to sed.exe, which I recommend to add to the folder script)

- added an option to resize writings and spaces on HD channels

- hidden undesired writings from the status bar of VLC


Hi!

Just tried your new script but unfortunately same results of the previous one ! sad
Two more things i've noticed:

1)- now "INFO" description on the top of the screen (under "event "description) is strangely written in bold !
2)- still "undesidered" writings =>now you have info description permanently displayed into the status bar !


Poruku je uredio: tussde - Petak, 05.12.14, 23:47
Forum » TV I RADIO » Zakljucane teme » DREAMBOX - 1 ((DreamBox WebControl - Open Webif))
Page 254 of 498«12252253254255256497498»
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