DREAMBOX - Page 340 - Forum
Ponedjeljak, 05.12.16
Dobro dosli: Gost | RSS
Novi Postovi  *   Pretrazi Postove  *   Clanovi  *   Pravila Forum-a  *   RSS
Page 340 of 653«12338339340341342652653»
Forum moderator: smin, borivoje, nolte, Dilber 
Forum » TV I RADIO » Internet radio i TV » DREAMBOX ((DreamBox WebControl-Open Webif))
DREAMBOX
Dilber Post broj: 5086 - Nedjelja, 30.11.14, 01:02
Pukovnik
Poruka: 1303
Status:
bingobongo Post broj: 5087 - Nedjelja, 30.11.14, 03:23
Pukovnik
Poruka: 1124
Status:
Quote tussde ()
Hi !

I have a .m3u file that inside looks like this:

Quote
#EXTM3U#EXTVLCOPT--http-reconnect=true#EXTINF:-1,BBC One NI HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:1B1F:802:2:11A0000:0:0:0:#EXTINF:-1,BBC HDhttp://XX.XXX.XXX.XXX:8001/1:0:86:1B1C:802:2:11A0000:0:0:0:
#EXTINF:-1,BBC One HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:1B1D:802:2:11A0000:0:0:0:#EXTINF:-1,BBC Two HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:1B1C:802:2:11A0000:0:0:0:#EXTINF:-1,Channel 4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:52D0:814:2:11A0000:0:0:0:#EXTINF:-1,CI HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F30:7EC:2:11A0000:0:0:0:#EXTINF:-1,Dave HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F3E:7F3:2:11A0000:0:0:0:
#EXTINF:-1,E4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F24:7D8:2:11A0000:0:0:0:#EXTINF:-1,Eden HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F1C:7E4:2:11A0000:0:0:0:#EXTINF:-1,FOX HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:EEF:7D8:2:11A0000:0:0:0:#EXTINF:-1,ITV HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F0B:808:2:11A0000:0:0:0:
#EXTINF:-1,ITV2 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F5C:7D3:2:11A0000:0:0:0:#EXTINF:-1,ITV3 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F5D:7D3:2:11A0000:0:0:0:#EXTINF:-1,ITV4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F5E:7D3:2:11A0000:0:0:0:#EXTINF:-1,RT HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:CF9C:908:2:11A0000:0:0:0:
#EXTINF:-1,Sky1 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F15:7F1:2:11A0000:0:0:0:#EXTINF:-1,TLC HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F43:7EC:2:11A0000:0:0:0:#EXTINF:-1,Universal HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F28:7F3:2:11A0000:0:0:0:#EXTINF:-1,Watch HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F3F:808:2:11A0000:0:0:0:
#EXTINF:-1,Skyhttp://XX.XXX.XXX.XXX:8001/1:0:1:1199:7DC:2:11A0000:0:0:0:#EXTINF:-1,Sky2http://XX.XXX.XXX.XXX:8001/1:0:1:1290:7EA:2:11A0000:0:0:0:#EXTINF:-1,Deluxe Music HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:157F:41F:1:C00000:0:0:0:#EXTINF:-1,More4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F68:7F0:2:11A0000:0:0:0:
#EXTINF:-1,Discovery HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F4C:7F2:2:11A0000:0:0:0:#EXTINF:-1,ESPN HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:C5F8:81D:2:11A0000:0:0:0:#EXTINF:-1,Film4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F04:7F0:2:11A0000:0:0:0:#EXTINF:-1,MGM HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:EDF:7E0:2:11A0000:0:0:0:

I want to know if there is a way to modify it (maybe using stuff like wget,cut ,...) to obtain a "clean" list like this:

Quote
#EXTM3U
#EXTVLCOPT--http-reconnect=true
#EXTINF:-1,BBC One NI HD
http://XX.XXX.XXX.XXX:8001/1:0:19:1B1F:802:2:11A0000:0:0:0:
#EXTINF:-1,BBC HD
http://XX.XXX.XXX.XXX:8001/1:0:86:1B1C:802:2:11A0000:0:0:0:
#EXTINF:-1,BBC One HD
http://XX.XXX.XXX.XXX:8001/1:0:19:1B1D:802:2:11A0000:0:0:0:
#EXTINF:-1,BBC Two HD
http://XX.XXX.XXX.XXX:8001/1:0:19:1B1C:802:2:11A0000:0:0:0:
#EXTINF:-1,Channel 4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:52D0:814:2:11A0000:0:0:0:
#EXTINF:-1,CI HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F30:7EC:2:11A0000:0:0:0:
#EXTINF:-1,Dave HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F3E:7F3:2:11A0000:0:0:0:
#EXTINF:-1,E4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F24:7D8:2:11A0000:0:0:0:
#EXTINF:-1,Eden HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F1C:7E4:2:11A0000:0:0:0:
#EXTINF:-1,FOX HD
http://XX.XXX.XXX.XXX:8001/1:0:19:EEF:7D8:2:11A0000:0:0:0:
#EXTINF:-1,ITV HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F0B:808:2:11A0000:0:0:0:
#EXTINF:-1,ITV2 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F5C:7D3:2:11A0000:0:0:0:
#EXTINF:-1,ITV3 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F5D:7D3:2:11A0000:0:0:0:
#EXTINF:-1,ITV4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F5E:7D3:2:11A0000:0:0:0:
#EXTINF:-1,RT HD
http://XX.XXX.XXX.XXX:8001/1:0:19:CF9C:908:2:11A0000:0:0:0:
#EXTINF:-1,Sky1 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F15:7F1:2:11A0000:0:0:0:
#EXTINF:-1,TLC HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F43:7EC:2:11A0000:0:0:0:
#EXTINF:-1,Universal HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F28:7F3:2:11A0000:0:0:0:
#EXTINF:-1,Watch HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F3F:808:2:11A0000:0:0:0:
#EXTINF:-1,Sky
http://XX.XXX.XXX.XXX:8001/1:0:1:1199:7DC:2:11A0000:0:0:0:
#EXTINF:-1,Sky2
http://XX.XXX.XXX.XXX:8001/1:0:1:1290:7EA:2:11A0000:0:0:0:
#EXTINF:-1,Deluxe Music HD
http://XX.XXX.XXX.XXX:8001/1:0:19:157F:41F:1:C00000:0:0:0:
#EXTINF:-1,More4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F68:7F0:2:11A0000:0:0:0:
#EXTINF:-1,Discovery HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F4C:7F2:2:11A0000:0:0:0:
#EXTINF:-1,ESPN HD
http://XX.XXX.XXX.XXX:8001/1:0:19:C5F8:81D:2:11A0000:0:0:0:
#EXTINF:-1,Film4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F04:7F0:2:11A0000:0:0:0:
#EXTINF:-1,MGM HD
http://XX.XXX.XXX.XXX:8001/1:0:19:EDF:7E0:2:11A0000:0:0:0:

I know that in this case i could have done it manually with notepad, but if there are hundreads of channels it will take a lot of time to do it ! (patience also !)

I'm asking this because i discovered that if i download a playlist from webcontrol page i have a "messy" list like the first i've posted. But if i use this string

Quote
wget -q -O - "http://IP/web/services.m3u?bRef=1%3A7%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A(provider%20%3D%3D%20%22PROVIDER%22)%20%26%26%20(type%20%3D%3D%201)%20%7C%7C%20(ty pe%20%3D%3D%2017)%20%7C%7C%20(type%20%3D%3D%20195)%20%7C%7C%20(type%20%3D%3D%2025)%20ORDER%20BY%20name%3APROVIDER" >>list.txt

in a batch file i get a "clean" list like the one i want to have !

I hope somebody can help me !

Quote tussde ()
Hi !

I have a .m3u file that inside looks like this:

Quote
#EXTM3U#EXTVLCOPT--http-reconnect=true#EXTINF:-1,BBC One NI HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:1B1F:802:2:11A0000:0:0:0:#EXTINF:-1,BBC HDhttp://XX.XXX.XXX.XXX:8001/1:0:86:1B1C:802:2:11A0000:0:0:0:
#EXTINF:-1,BBC One HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:1B1D:802:2:11A0000:0:0:0:#EXTINF:-1,BBC Two HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:1B1C:802:2:11A0000:0:0:0:#EXTINF:-1,Channel 4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:52D0:814:2:11A0000:0:0:0:#EXTINF:-1,CI HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F30:7EC:2:11A0000:0:0:0:#EXTINF:-1,Dave HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F3E:7F3:2:11A0000:0:0:0:
#EXTINF:-1,E4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F24:7D8:2:11A0000:0:0:0:#EXTINF:-1,Eden HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F1C:7E4:2:11A0000:0:0:0:#EXTINF:-1,FOX HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:EEF:7D8:2:11A0000:0:0:0:#EXTINF:-1,ITV HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F0B:808:2:11A0000:0:0:0:
#EXTINF:-1,ITV2 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F5C:7D3:2:11A0000:0:0:0:#EXTINF:-1,ITV3 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F5D:7D3:2:11A0000:0:0:0:#EXTINF:-1,ITV4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F5E:7D3:2:11A0000:0:0:0:#EXTINF:-1,RT HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:CF9C:908:2:11A0000:0:0:0:
#EXTINF:-1,Sky1 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F15:7F1:2:11A0000:0:0:0:#EXTINF:-1,TLC HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F43:7EC:2:11A0000:0:0:0:#EXTINF:-1,Universal HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F28:7F3:2:11A0000:0:0:0:#EXTINF:-1,Watch HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F3F:808:2:11A0000:0:0:0:
#EXTINF:-1,Skyhttp://XX.XXX.XXX.XXX:8001/1:0:1:1199:7DC:2:11A0000:0:0:0:#EXTINF:-1,Sky2http://XX.XXX.XXX.XXX:8001/1:0:1:1290:7EA:2:11A0000:0:0:0:#EXTINF:-1,Deluxe Music HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:157F:41F:1:C00000:0:0:0:#EXTINF:-1,More4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F68:7F0:2:11A0000:0:0:0:
#EXTINF:-1,Discovery HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F4C:7F2:2:11A0000:0:0:0:#EXTINF:-1,ESPN HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:C5F8:81D:2:11A0000:0:0:0:#EXTINF:-1,Film4 HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:F04:7F0:2:11A0000:0:0:0:#EXTINF:-1,MGM HDhttp://XX.XXX.XXX.XXX:8001/1:0:19:EDF:7E0:2:11A0000:0:0:0:

I want to know if there is a way to modify it (maybe using stuff like wget,cut ,...) to obtain a "clean" list like this:

Quote
#EXTM3U
#EXTVLCOPT--http-reconnect=true
#EXTINF:-1,BBC One NI HD
http://XX.XXX.XXX.XXX:8001/1:0:19:1B1F:802:2:11A0000:0:0:0:
#EXTINF:-1,BBC HD
http://XX.XXX.XXX.XXX:8001/1:0:86:1B1C:802:2:11A0000:0:0:0:
#EXTINF:-1,BBC One HD
http://XX.XXX.XXX.XXX:8001/1:0:19:1B1D:802:2:11A0000:0:0:0:
#EXTINF:-1,BBC Two HD
http://XX.XXX.XXX.XXX:8001/1:0:19:1B1C:802:2:11A0000:0:0:0:
#EXTINF:-1,Channel 4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:52D0:814:2:11A0000:0:0:0:
#EXTINF:-1,CI HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F30:7EC:2:11A0000:0:0:0:
#EXTINF:-1,Dave HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F3E:7F3:2:11A0000:0:0:0:
#EXTINF:-1,E4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F24:7D8:2:11A0000:0:0:0:
#EXTINF:-1,Eden HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F1C:7E4:2:11A0000:0:0:0:
#EXTINF:-1,FOX HD
http://XX.XXX.XXX.XXX:8001/1:0:19:EEF:7D8:2:11A0000:0:0:0:
#EXTINF:-1,ITV HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F0B:808:2:11A0000:0:0:0:
#EXTINF:-1,ITV2 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F5C:7D3:2:11A0000:0:0:0:
#EXTINF:-1,ITV3 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F5D:7D3:2:11A0000:0:0:0:
#EXTINF:-1,ITV4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F5E:7D3:2:11A0000:0:0:0:
#EXTINF:-1,RT HD
http://XX.XXX.XXX.XXX:8001/1:0:19:CF9C:908:2:11A0000:0:0:0:
#EXTINF:-1,Sky1 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F15:7F1:2:11A0000:0:0:0:
#EXTINF:-1,TLC HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F43:7EC:2:11A0000:0:0:0:
#EXTINF:-1,Universal HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F28:7F3:2:11A0000:0:0:0:
#EXTINF:-1,Watch HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F3F:808:2:11A0000:0:0:0:
#EXTINF:-1,Sky
http://XX.XXX.XXX.XXX:8001/1:0:1:1199:7DC:2:11A0000:0:0:0:
#EXTINF:-1,Sky2
http://XX.XXX.XXX.XXX:8001/1:0:1:1290:7EA:2:11A0000:0:0:0:
#EXTINF:-1,Deluxe Music HD
http://XX.XXX.XXX.XXX:8001/1:0:19:157F:41F:1:C00000:0:0:0:
#EXTINF:-1,More4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F68:7F0:2:11A0000:0:0:0:
#EXTINF:-1,Discovery HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F4C:7F2:2:11A0000:0:0:0:
#EXTINF:-1,ESPN HD
http://XX.XXX.XXX.XXX:8001/1:0:19:C5F8:81D:2:11A0000:0:0:0:
#EXTINF:-1,Film4 HD
http://XX.XXX.XXX.XXX:8001/1:0:19:F04:7F0:2:11A0000:0:0:0:
#EXTINF:-1,MGM HD
http://XX.XXX.XXX.XXX:8001/1:0:19:EDF:7E0:2:11A0000:0:0:0:

I know that in this case i could have done it manually with notepad, but if there are hundreads of channels it will take a lot of time to do it ! (patience also !)

I'm asking this because i discovered that if i download a playlist from webcontrol page i have a "messy" list like the first i've posted. But if i use this string

Quote
wget -q -O - "http://IP/web/services.m3u?bRef=1%3A7%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A(provider%20%3D%3D%20%22PROVIDER%22)%20%26%26%20(type%20%3D%3D%201)%20%7C%7C%20(ty pe%20%3D%3D%2017)%20%7C%7C%20(type%20%3D%3D%20195)%20%7C%7C%20(type%20%3D%3D%2025)%20ORDER%20BY%20name%3APROVIDER" >>list.txt

in a batch file i get a "clean" list like the one i want to have !

I hope somebody can help me !


Code
sed s/#/,#/g services.m3u >>services_2.m3u
del services.m3u
sed s/,#/#/g services_2.m3u >>services.m3u
del services_2.m3u
exit


where services.m3u is the name of your playlist

Notice: sed is another tool, like cut, curl, wget etc and need the same dependencies (dlls).

Downloadable here:



Poruku je uredio: bingobongo - Nedjelja, 30.11.14, 03:24
herrr Post broj: 5088 - Nedjelja, 30.11.14, 03:53
Vojnik
Poruka: 43
Status:
Quote elsanto1 ()
yes

What?
axxa Post broj: 5089 - Nedjelja, 30.11.14, 05:08
Zastavnik
Poruka: 148
Status:
SKY SPORTS
AND MORE

Available to users only
TVRO Post broj: 5090 - Nedjelja, 30.11.14, 07:09
Vodnik
Poruka: 274
Status:
There is a problem, why do I link SKY UK's HD channel, only to see a few free, the rest of the HD channels can be connected, but there is no picture and sound


Poruku je uredio: TVRO - Nedjelja, 30.11.14, 07:09
rondamon Post broj: 5091 - Nedjelja, 30.11.14, 11:51
Vojnik
Poruka: 2
Status:
Quote herrr ()
Quote rondamon ()
SKY UK - Open Webif - 2 Tuners:
http://adf.ly/ukU4P

Tuner not working (no signal).


herrr, the streaming port 8001 is still working. That's the most important thing. If you have a m3u list with the dreambox links for sky uk, then you still can use the IP
muhammedisa21 Post broj: 5092 - Nedjelja, 30.11.14, 12:01
Vodnik
Poruka: 190
Status:
Please turkey-turksat
bingobongo Post broj: 5093 - Nedjelja, 30.11.14, 14:04
Pukovnik
Poruka: 1124
Status:
Quote tussde ()
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 !


As promised, I worked again to improve the script to display correctly the Enigma 2 epg on VLC. This time I have considered the changes of spaces due to the various screen resolution formats (SD, MD, HQ or HD), and a few other occurrances I hadn't noticed before.

So here is my very last version of the script:

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

wget -q -O - http://xx.xx.xx.xx/web/zap?sRef=[your stream]
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 CHECK
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 CHECK
set INFON=%INFO%%ADD%
set INFO=%INFON%
del piece.txt
goto Sub

:CHECK
wget -q -O - http://xx.xx.xx.xx/web/about >> chk.txt
type chk.txt | FINDSTR "e2servicevideosize" >>chk2.txt
type chk2.txt | cut -d "<" -f 2 >>chk3.txt
type chk3.txt | cut -d ">" -f 2 >>chk4.txt
set /p CHECK=<chk4.txt
if "%CHECK%"=="544x576" goto SD
if "%CHECK%"=="704x576" goto MD
if "%CHECK%"=="720x576" goto HQ
if "%CHECK%"=="1920x1080" goto HD

:SD
set MAX=79
set SIZE=18
goto END

:MD
set MAX=88
set SIZE=20
goto END

:HQ
set MAX=89
set SIZE=20
goto END

:HD
set MAX=203
set SIZE=30
goto END

:END
setlocal enabledelayedexpansion

for %%a in (epg5.txt) do set /a length=%%~za
set /a length -=2
set /a SPC=%MAX%-%length%
SET "mychar= "
FOR /l %%i IN (2,1,%SPC%) DO CALL set "mychar=%%mychar%%%mychar%"
call %VLCA% --sub-filter marq --marq-marquee="EVENT: %EPG%%mychar%INFO: %INFO%" --marq-size=%SIZE% --marq-position=4 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "http://xx.xx.xx.xx:8001/[your stream]"
wget -q -O - http://xx.xx.xx.xx/web/powerstate?newstate=0
if exist piece.txt del piece.txt
del epg*.txt
del info*.txt
del chk*.txt
exit

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

Notice: the fields to edit (with ips and stream values) are marked in red.

Enjoy


Poruku je uredio: bingobongo - Nedjelja, 30.11.14, 14:09
salacue Post broj: 5094 - Nedjelja, 30.11.14, 14:14
Vojnik
Poruka: 45
Status:
Potrebni dreambox nastavci (bez IP adrese) od Polaris-a.
Poslati na PM. Hvala unapred.
pokut Post broj: 5095 - Nedjelja, 30.11.14, 14:55
Vojnik
Poruka: 38
Status:
bingobongo, you need to say step by step before putting this script , what software are required even if you said before but we are lost.
Make a tutorial if you have time.
thanks again for your work.


Poruku je uredio: pokut - Nedjelja, 30.11.14, 15:01
vvaz24 Post broj: 5096 - Nedjelja, 30.11.14, 15:19
Zastavnik
Poruka: 63
Status:
Anyone got more Portuguese sources?
muhammedisa21 Post broj: 5097 - Nedjelja, 30.11.14, 16:08
Vodnik
Poruka: 190
Status:
Please turkey-turksat
tussde Post broj: 5098 - Nedjelja, 30.11.14, 16:30
Vojnik
Poruka: 25
Status:
Quote bingobongo ()
Code
sed s/#/,#/g services.m3u >>services_2.m3u
del services.m3u
sed s/,#/#/g services_2.m3u >>services.m3u
del services_2.m3u
exit

where services.m3u is the name of your playlist

Notice: sed is another tool, like cut, curl, wget etc and need the same dependencies (dlls).


Thanks bingobongo, it works perfectly !

So from what i've understood you used the sed syntax "s/regexp/replacement" where /regexp/ is what i want to substitute and the , before / indicates the creation of a new line (the equivalent of enter button on the keyboard)

Correct me if i'm wrong about this !


Poruku je uredio: tussde - Nedjelja, 30.11.14, 16:39
bingobongo Post broj: 5099 - Nedjelja, 30.11.14, 17:14
Pukovnik
Poruka: 1124
Status:
Quote tussde ()
Thanks bingobongo, it works perfectly !

So from what i've understood you used the sed syntax "s/regexp/replacement" where /regexp/ is what i want to substitute and the , before / indicates the creation of a new line (the equivalent of enter button on the keyboard)

Correct me if i'm wrong about this !


You are right about the replacement (in fact the letter "s" stands for "subsitute").
But "," is a simple comma (you can replace it with another character of your choice, if you like).
What really matters is that the chosen character is not a special character producing messages of syntax errors. Comma is not one of them (this is why I have chosen it).
The code for the new line is actually "\n", but here is not needed.
The trick is simply to use sed to remake the channel list, for example by character replacement. Once the playlist is remade, newlines are automatically set in the proper way.
tussde Post broj: 5100 - Nedjelja, 30.11.14, 18:21
Vojnik
Poruka: 25
Status:
Quote bingobongo ()
You are right about the replacement (in fact the letter "s" stands for "subsitute").
But "," is a simple comma (you can replace it with another character of your choice, if you like).
What really matters is that the chosen character is not a special character producing messages of syntax errors. Comma is not one of them (this is why I have chosen it).
The code for the new line is actually "\n", but here is not needed.
The trick is simply to use sed to remake the channel list, for example by character replacement. Once the playlist is remade, newlines are automatically set in the proper way.


Yes, you're right ! In fact i tried this code:

Quote
sed s/#/#/g services.m3u >>services_2.m3u
exit


and i've got a "clean" list as i like !
But this time i have 2 playlists: the original "messy" list (services.m3u) and the "clean" one (services_2.m3u)

So i guess that the "comma trick" (or as you mentioned, any other character that does not produce syntax error) has the aim to have at the end only 1 .m3u with the "clean list" (but with the same name of the original "messy" playlist) !

it's just like sed.exe is able to "recognise" a .m3u and to elaborate it realizing a "tidy structure".

(correct me if i'm wrong)

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 !


Poruku je uredio: tussde - Nedjelja, 30.11.14, 18:38
Forum » TV I RADIO » Internet radio i TV » DREAMBOX ((DreamBox WebControl-Open Webif))
Page 340 of 653«12338339340341342652653»
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!

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

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