Utorak, 21.11.17
Dobro dosli: Gost | RSS
Novi Postovi  *   Pretrazi Postove  *   Clanovi  *   Pravila Forum-a  *   RSS
Page 246 of 497«12244245246247248496497»
Archive - read only
Forum » TV I RADIO » Zakljucane teme » DREAMBOX - 1 ((DreamBox WebControl - Open Webif))
DREAMBOX - 1
muhammedisa21 Post broj: 4901 - Nedjelja, 23.11.14, 00:14
Zastavnik
Poruka: 194
Status:
Please turkey-turksat
tussde Post broj: 4902 - Nedjelja, 23.11.14, 00:34
Vojnik
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 je uredio: tussde - Nedjelja, 23.11.14, 00:46
bingobongo Post broj: 4903 - Nedjelja, 23.11.14, 01:16
Major
Poruka: 1183
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 je uredio: bingobongo - Nedjelja, 23.11.14, 01:49
raymonsalim Post broj: 4904 - Nedjelja, 23.11.14, 01:17
Vojnik
Poruka: 24
Status:
PLEASE arabic Servers ! devil
muhammedisa21 Post broj: 4905 - Nedjelja, 23.11.14, 01:31
Zastavnik
Poruka: 194
Status:
Please turkey turksat
e01114693634 Post broj: 4906 - Nedjelja, 23.11.14, 15:09
Vojnik
Poruka: 49
Status:
muhammedisa21 Post broj: 4907 - Nedjelja, 23.11.14, 15:56
Zastavnik
Poruka: 194
Status:
Please turkey-turksat
bingobongo Post broj: 4908 - Nedjelja, 23.11.14, 16:48
Major
Poruka: 1183
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 je uredio: bingobongo - Nedjelja, 23.11.14, 16:52
alex23 Post broj: 4909 - Nedjelja, 23.11.14, 17:34
Vojnik
Poruka: 8
Status:
russia. Please
tussde Post broj: 4910 - Nedjelja, 23.11.14, 20:12
Vojnik
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 je uredio: tussde - Nedjelja, 23.11.14, 20:14
e01114693634 Post broj: 4911 - Nedjelja, 23.11.14, 20:30
Vojnik
Poruka: 49
Status:
bingobongo Post broj: 4912 - Nedjelja, 23.11.14, 20:31
Major
Poruka: 1183
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 wink

All Windows systems are ok, for having ms prompt (necessary for batch scripts) smile


Poruku je uredio: bingobongo - Nedjelja, 23.11.14, 20:33
e01114693634 Post broj: 4913 - Nedjelja, 23.11.14, 20:48
Vojnik
Poruka: 49
Status:
iuslu Post broj: 4914 - Nedjelja, 23.11.14, 21:21
Zastavnik
Poruka: 138
Status:
iuslu Post broj: 4915 - Nedjelja, 23.11.14, 21:23
Zastavnik
Poruka: 138
Status:
iuslu Post broj: 4916 - Nedjelja, 23.11.14, 21:23
Zastavnik
Poruka: 138
Status:
iuslu Post broj: 4917 - Nedjelja, 23.11.14, 21:24
Zastavnik
Poruka: 138
Status:
iuslu Post broj: 4918 - Nedjelja, 23.11.14, 21:25
Zastavnik
Poruka: 138
Status:
iuslu Post broj: 4919 - Nedjelja, 23.11.14, 21:26
Zastavnik
Poruka: 138
Status:
iuslu Post broj: 4920 - Nedjelja, 23.11.14, 21:27
Zastavnik
Poruka: 138
Status:
Forum » TV I RADIO » Zakljucane teme » DREAMBOX - 1 ((DreamBox WebControl - Open Webif))
Page 246 of 497«12244245246247248496497»
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