|
DREAMBOX - 1
|
|
| moro_musa | Datum: Nedjelja, 23.11.2014, 00:22 | Poruka broj: # 4801 |
Poruka: 139
Status: 
| gracias
|
|
| |
| tussde | Datum: Nedjelja, 23.11.2014, 01:34 | Poruka broj: # 4802 |
Poruka: 25
Status: 
| Quote bingobongo (  ) Quote pokut () Anyone knows how to put EPG directly on VLC from a dreambox url? For example TF1, I want to have his program directly on VLC, not from a webinterface.
This is not impossible, in my opinion. And it must be simple too, thanks to Enigma 2 command line options...
First Use wget (or curl) to transfer the epg info to a text file.
For example:
wget -q -O - "http://IP_of_your_box/web/epgservice?sRef=1:0:1:2206:44C:1:C00000:0:0:0:" >>epg.txt
Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file. For example:
set /p EPG=<epg.txt
Finally, define the value of EPG as the subtitle of your VLC stream.
Code should look like:
%VLC% "your_stream" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9
where marquee is the epg info that VLC will display on the right corner of your screen for 30 seconds while playing the stream...
All this could be automitized with a batch program wink
Hi !
i followed your advices, but no luck !
i opened cmd.exe, than i wrote
Quote curl "http://XX.XXX.XXX.XX/web/epgservice?sRef=1:0:1:1076:7E5:2:11A0000:0:0:0 " >>epg.txt
than this Quote set /p EPG=<epg.txt
after i entered vlc folder using this string
Quote cd C:\Program Files\VideoLAN\VLC
and finally lanched the stream using this one Quote vlc.exe "http://XX.XXX.XXX.XX:8001/1:0:1:1076:7E5:2:11A0000:0:0:0" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --aspect-ratio=16:9
Using this procedure, the stream starts but no epg info on the screen !
The only thing that appears is Quote <?xml version="1.0" encoding="UTF-8"?> located on the top of the screen.
Maybe the key-point is when you say "Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file."
Any help please ?
Poruku uredio tussde - Nedjelja, 23.11.2014, 01:46 |
|
| |
| bingobongo | Datum: Nedjelja, 23.11.2014, 02:16 | Poruka broj: # 4803 |
Poruka: 1154
Status: 
| Quote tussde (  ) The only thing that appears is Quote <?xml version="1.0" encoding="UTF-8"?>
located on the top of the screen.
Maybe the key-point is when you say "Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file."
Any help please ?
Yes, it's due to FINDSTR. In your case, instead of extracting the epg info it took off tags (<?xml version="1.0" encoding="UTF-8"?>), reporting them to the top of VLC screen.
FINDSTR is good to localize a rough piece of info.
But to make the precise cut job, I suggest to use sed or cut, which is downloadable here together with its dependencies (a few dlls):
Personally, I like using FINDSTR as "field limiter" and cut as "cutter".
Tomorrow I'll try to make a little script, then I will tell you the right parameters for FINDSTR and cut.
Poruku uredio bingobongo - Nedjelja, 23.11.2014, 02:49 |
|
| |
| raymonsalim | Datum: Nedjelja, 23.11.2014, 02:17 | Poruka broj: # 4804 |
Poruka: 25
Status: 
| PLEASE arabic Servers !
|
|
| |
| bingobongo | Datum: Nedjelja, 23.11.2014, 17:48 | Poruka broj: # 4805 |
Poruka: 1154
Status: 
| Quote tussde (  ) Quote bingobongo () Quote pokut () Anyone knows how to put EPG directly on VLC from a dreambox url? For example TF1, I want to have his program directly on VLC, not from a webinterface.
This is not impossible, in my opinion. And it must be simple too, thanks to Enigma 2 command line options...
First Use wget (or curl) to transfer the epg info to a text file.
For example:
wget -q -O - "http://IP_of_your_box/web/epgservice?sRef=1:0:1:2206:44C:1:C00000:0:0:0:" >>epg.txt
Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file. For example:
set /p EPG=<epg.txt
Finally, define the value of EPG as the subtitle of your VLC stream.
Code should look like:
%VLC% "your_stream" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9
where marquee is the epg info that VLC will display on the right corner of your screen for 30 seconds while playing the stream...
All this could be automitized with a batch program wink
Hi !
i followed your advices, but no luck !
i opened cmd.exe, than i wrote
Quote curl "http://XX.XXX.XXX.XX/web/epgservice?sRef=1:0:1:1076:7E5:2:11A0000:0:0:0 " >>epg.txt
than this Quote
set /p EPG=<epg.txt
after i entered vlc folder using this string
Quote cd C:\Program Files\VideoLAN\VLC
and finally lanched the stream using this one Quote
vlc.exe "http://XX.XXX.XXX.XX:8001/1:0:1:1076:7E5:2:11A0000:0:0:0" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --aspect-ratio=16:9
Using this procedure, the stream starts but no epg info on the screen !
The only thing that appears is Quote <?xml version="1.0" encoding="UTF-8"?>
located on the top of the screen.
Maybe the key-point is when you say "Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file."
Any help please ?
Hello! As promised, I tested the script on my pc. Here is the code to insert after the wget passage (and after putting cut.exe in your script folder):
---------------------------------------------------------------------------------
Code type epg.txt | FINDSTR "e2eventtitle" >>epg2.txt type epg2.txt | cut -d "<" -f 2 >>epg3.txt type epg3.txt | cut -d ">" -f 2 >>epg4.txt powershell -command "& {get-content epg4.txt -totalcount 1}" >>epg5.txt set /p EPG=<epg5.txt call %VLCA% --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "your_stream" del epg*.txt exit
---------------------------------------------------------------------------------
This will desplay the title of the current Enigma 2 event on VLC for 30 seconds.
You can even choose to display the event description or the next event, by modifying defstr and cut parameters as you like.
Poruku uredio bingobongo - Nedjelja, 23.11.2014, 17:52 |
|
| |
| alex23 | Datum: Nedjelja, 23.11.2014, 18:34 | Poruka broj: # 4806 |
Poruka: 8
Status: 
| russia. Please
|
|
| |
| tussde | Datum: Nedjelja, 23.11.2014, 21:12 | Poruka broj: # 4807 |
Poruka: 25
Status: 
| Quote bingobongo (  ) Hello! As promised, I tested the script on my pc. Here is the code to insert after the wget passage (and after putting cut.exe in your script folder):
---------------------------------------------------------------------------------
Code type epg.txt | FINDSTR "e2eventtitle" >>epg2.txt type epg2.txt | cut -d "<" -f 2 >>epg3.txt type epg3.txt | cut -d ">" -f 2 >>epg4.txt powershell -command "& {get-content epg4.txt -totalcount 1}" >>epg5.txt set /p EPG=<epg5.txt call %VLCA% --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "your_stream" del epg*.txt exit
---------------------------------------------------------------------------------
This will desplay the title of the current Enigma 2 event on VLC for 30 seconds.
You can even choose to display the event description or the next event, by modifying defstr and cut parameters as you like.
Hi, thanks for the info!
Unfortunately i don't know where to download wget.exe, cut.exe and stuff like these. Any advice where to look at ? Is there any website that has a package containing these exes?
when you wrote that code am i supposed to create a batch file with that code you posted ?
Sorry but i'm not an expert as you are ! Any help please ? (consider that i have windows vista )
Poruku uredio tussde - Nedjelja, 23.11.2014, 21:14 |
|
| |
| bingobongo | Datum: Nedjelja, 23.11.2014, 21:31 | Poruka broj: # 4808 |
Poruka: 1154
Status: 
| Quote tussde (  ) Hi, thanks for the info!
Unfortunately i don't know where to download wget.exe, cut.exe and stuff like these. Any advice where to look at ? Is there any website that has a package containing these exes?
when you wrote that code am i supposed to create a batch file with that code you posted ?
Sorry but i'm not an expert as you are ! Any help please ? (consider that i have windows vista )
wget:
cut:
(unzip and find cut.exe)
dependencies (dlls):
Once downloaded, all of them must be put in the same folder
All Windows systems are ok, for having ms prompt (necessary for batch scripts)
Poruku uredio bingobongo - Nedjelja, 23.11.2014, 21:33 |
|
| |
| e01114693634 | Datum: Nedjelja, 23.11.2014, 21:48 | Poruka broj: # 4809 |
Poruka: 49
Status: 
| open Webif http://goo.gl/EHUoH9
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:21 | Poruka broj: # 4810 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:23 | Poruka broj: # 4811 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:23 | Poruka broj: # 4812 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:24 | Poruka broj: # 4813 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:25 | Poruka broj: # 4814 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:26 | Poruka broj: # 4815 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:27 | Poruka broj: # 4816 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:28 | Poruka broj: # 4817 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
| iuslu | Datum: Nedjelja, 23.11.2014, 22:29 | Poruka broj: # 4818 |
Poruka: 139
Status: 
| Available to users only
|
|
| |
|
| elsanto1 | Datum: Ponedjeljak, 24.11.2014, 01:04 | Poruka broj: # 4820 |
Poruka: 249
Status: 
| ok
|
|
| |