DREAMBOX - 1
|
|
bingobongo | Datum: Nedjelja, 30.11.2014, 04:23 | Poruka broj: # 4961 |
Poruka: 1154
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 uredio bingobongo - Nedjelja, 30.11.2014, 04:24 |
|
| |
herrr | Datum: Nedjelja, 30.11.2014, 04:53 | Poruka broj: # 4962 |
Poruka: 67
Status:
| Quote elsanto1 ( ) yes What?
|
|
| |
axxa | Datum: Nedjelja, 30.11.2014, 06:08 | Poruka broj: # 4963 |
Poruka: 148
Status:
| SKY SPORTS AND MORE
Available to users only
|
|
| |
TVRO | Datum: Nedjelja, 30.11.2014, 08:09 | Poruka broj: # 4964 |
Poruka: 294
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 uredio TVRO - Nedjelja, 30.11.2014, 08:09 |
|
| |
rondamon | Datum: Nedjelja, 30.11.2014, 12:51 | Poruka broj: # 4965 |
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 | Datum: Nedjelja, 30.11.2014, 13:01 | Poruka broj: # 4966 |
Poruka: 212
Status:
| Please turkey-turksat
|
|
| |
bingobongo | Datum: Nedjelja, 30.11.2014, 15:04 | Poruka broj: # 4967 |
Poruka: 1154
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 uredio bingobongo - Nedjelja, 30.11.2014, 15:09 |
|
| |
salacue | Datum: Nedjelja, 30.11.2014, 15:14 | Poruka broj: # 4968 |
Poruka: 45
Status:
| Potrebni dreambox nastavci (bez IP adrese) od Polaris-a. Poslati na PM. Hvala unapred.
|
|
| |
vvaz24 | Datum: Nedjelja, 30.11.2014, 16:19 | Poruka broj: # 4969 |
Poruka: 63
Status:
| Anyone got more Portuguese sources?
|
|
| |
muhammedisa21 | Datum: Nedjelja, 30.11.2014, 17:08 | Poruka broj: # 4970 |
Poruka: 212
Status:
| Please turkey-turksat
|
|
| |
tussde | Datum: Nedjelja, 30.11.2014, 17:30 | Poruka broj: # 4971 |
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 uredio tussde - Nedjelja, 30.11.2014, 17:39 |
|
| |
bingobongo | Datum: Nedjelja, 30.11.2014, 18:14 | Poruka broj: # 4972 |
Poruka: 1154
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 | Datum: Nedjelja, 30.11.2014, 19:21 | Poruka broj: # 4973 |
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 uredio tussde - Nedjelja, 30.11.2014, 19:38 |
|
| |
teacher | Datum: Nedjelja, 30.11.2014, 19:50 | Poruka broj: # 4974 |
Poruka: 135
Status:
| Quote vvaz24 Anyone got more Portuguese sources?
Portugal
Available to users only
@ civilmohamed0016: Please don't steal again these links
Poruku uredio teacher - Nedjelja, 30.11.2014, 19:58 |
|
| |
elsanto1 | Datum: Nedjelja, 30.11.2014, 20:19 | Poruka broj: # 4975 |
Poruka: 249
Status:
| ok
|
|
| |
herrr | Datum: Nedjelja, 30.11.2014, 23:57 | Poruka broj: # 4976 |
Poruka: 67
Status:
| Quote elsanto1 ( ) ok What's OK?
|
|
| |
herrr | Datum: Ponedjeljak, 01.12.2014, 00:12 | Poruka broj: # 4977 |
Poruka: 67
Status:
| Quote rondamon ( ) 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 OK, let's try, but I was thinking device or dish were out of order. I'm more an hardware man, for me all this is only a curiosity... I like REAL receivers that you can touch and if something is broken I wish I could go there and fix it...if there's no signal from dish ports can not create it...
Poruku uredio herrr - Ponedjeljak, 01.12.2014, 00:14 |
|
| |
bingobongo | Datum: Ponedjeljak, 01.12.2014, 00:13 | Poruka broj: # 4978 |
Poruka: 1154
Status:
| Quote tussde ( ) i tried it but sometimes vlc appears but stream does not load
I'm not sure this issue depend on the script (if VLC starts without showing anything, it means that problably the selected channel doesn't work for streaming)... or maybe it's the zapstream, which is enabled while the owner is already watching something else (so I recommend to try the script only when stb is in stand-by position)
Quote tussde ( ) sometimes stream loads but no epg ( it says "no available")
This is a new option added in case Enigma 2 epg is not available. In fact when Enigma 2 epg is unavailable and you visit the web interface address, you'll see the writing "Current playing: Title Channel - N/A."
Quote tussde ( ) It's too risky because if the owner is watching , he can surely see that somebody is changing channel
If you don't enable zapstream, when you type "http://IP/web/about" you won't be able to read any info about the screen resolution is going to be adopted. And this will cause problems with what you wanted to see: INFO under EPG. But, above all, it will cause problems when you're going to view the epg of HD channels.
A workaround could be the one of mapping all the channels resolutions and change epg spaces depending on the channel you're going to view, but this would require too much time.. because I need to consider the screen resolution of all the world channels... glom!
So feel free to let me know which bouquets you usually view, and I will add an option for the screen resolution of these channels in order to avoid enabling zapstream.
Poruku uredio bingobongo - Ponedjeljak, 01.12.2014, 00:20 |
|
| |
elsanto1 | Datum: Ponedjeljak, 01.12.2014, 00:42 | Poruka broj: # 4979 |
Poruka: 249
Status:
| ok,,,
|
|
| |
bughy29 | Datum: Ponedjeljak, 01.12.2014, 09:33 | Poruka broj: # 4980 |
Poruka: 33
Status:
| Quote civilmohamed0016 ( ) civilmohamed0016 don't open , another spam The real openwebif is: http://46.127.84.239/
Poruku uredio bughy29 - Ponedjeljak, 01.12.2014, 09:34 |
|
| |